MovingBlocks

Implement a crossbow or similar ranged item

Terasology has a somewhat over-the-top railgun that, when fired, destroys thousands of blocks in the general direction it's pointing at. However, this item isn't really suitable for gameplay modes with a balanced combat system. Your task is to create a weaker version of the railgun.

Definition of 'Done'

A crossbow item is added to the game's Core module, building off the existing railgun while adding the following:

  • An appropriate icon. Instead of a crossbow you can use any ranged weapon of your choosing - longbow, sling or something even more creative 🙂
  • A maximum range for the crossbow's projectile.
  • A crafting recipe or quest to create the crossbow - this could be as simple as gathering a few resources and having them in your inventory.

Where to start?

  • Review the Add New Item tutorial for information on how to add new items and test them in-game.
  • As mentioned previously, the crossbow should be based on the existing railgun item. Any additional in-game logic will need to be added to the org.terasology.logic.actions package in the Core module.

Task tags

  • java
  • design
  • games

Students who completed this task

Chris Bogaards

Task type

  • code Code
close

2016