MovingBlocks

Structure Templates - Step 1: Create a building template using StructureTemplates

Terasology's StructureTemplates module implements structure templates that can be used to spawn the same building over and over again, either using an item or programmatically. Your task is to create a few building templates of your own using StructureTemplates.

Definition of 'Done'

  • A new module is created, containing two or more structure templates that can be used to spawn buildings in-game. You should submit a link to the module's GitHub repository.
  • Attach screenshot(s) of the new structure in-game.

Where to start?

  • Use the command give structureTemplateGenerator to get an item that can be used to create structure templates in-game!
  • A guide to creating modules can be found here. GooeysQuests is an example of a module that uses structure templates to spawn dungeons (the templates' code is located at assets/prefabs/structures in the module's repo)
  • The forum threads for GooeysQuests and StructuralTemplates help introduce the system further

See also

Task tags

  • content
  • game
  • java
  • structure
  • modding

Students who completed this task

Jindřich Dítě, Suraj Datta, Soundwave, Chaitanya, Aleksander Wójtowicz, Alberto, Jason Huang, Nicholas Bates, Omkar J., Thomas O'Keeffe

Task type

  • code Code
close

2017