Templates - Rinju99/StructureTemplates GitHub Wiki
StructureTemplate module allows creating the structure that can be used multiple times for quick building. The structure templates can either be obtained as item in-game and just be used for quicker building.
- Create a new word with
StructureTemplate
mod enabled. - Press
f1
to open the in-game command prompt.
(Note: ctrl+f1 for the mac users).
- Type in
give structuretemplateitem
.
verify: user can see the template in the item list.
- Click right to place the template on the ground.
verify: template will be placed on the ground & it will be theorigin
of template.
- Make sure set up is done first
- Press
E
while pointing at theorigin
.
- choose
Record block addition
.
- click
ESC
to exit from the menu.
- Start building the desired structure.
verify: an outline will appear as you build.
- Once the desired structure is built, press
E
pointing at the origin again.
- click on
Select>copytoclickboard
to copyjason
file.
- Open the notepad, paste it and save at the prefab.
(path: modules>StructureTemplate>asset>prefab).
- First, Complete the part 1.
- Click
E
pointing at the origin.
- Disable
Record block addition
.
- Click on
Create Structure Spawner
which will spawn the structure.
verify: user will receive a white rectangle with a script on it.
- place template wherever necessary by right-clicking.
Verify: a whole structure will form by just one right click.
- press
E
pointing at theorigin
, after finish setting up - check the
record block removal
andrecord block addition
- press
ESC
to exit and start building the desired structure. - remove unintended blocks.
- once you get the desired structure, press
E
point atorigin
. - copy the script and save it to the prefab
- go back to the game and choose
create structure spawner
Verify: you will see a white template in your item list.
- The template will have the final version of the created structure.
- create a new word with
StructureTemplate
mod enabled. - Press
f1
to open the command prompt. - Type gives
structuretemplateitem
in the command prompt. - User will receive a template
verify: user receives a white rectangle tool with a bold T.
- Click right to place the template on the ground.
- Player only gets one structure template item.
verify: you won't see another structure template item in the list
- press
Esc
to exit.
- Finish the set up first.
- press
E
pointing atorigin
.
verify: you can see optionedit region box-shaped
- select it to and make changes in the size of the region.
- press
esc
to exit.
- Finish the set up first
- press
E
pointing atorigin
.
verify: you can see optionCreate structure template item
- click on it verify: user can see template on the item list.
- press
Esc
to exit.