I'm trying to create an assortment of prefabs of hand-made trees and buildings in a singleplayer world dedicated to just making these sort of templates to later place in my creative-building singleplayer world, when and where I want them. I've been following examples and instructions found in StructureTemplates' GitHub, this thread, and a YouTube video (
Terasology - Module Guide - StructureTemplates ) but am having no luck in getting things to work.
The YouTube video is the most recent piece of information. It refers to a file path that does not exist in Terasology 74:
~/Terasology/modules/StructureTemplates/assets/prefabs/
According to the video, this is where I'm to save the structure's code as a plain text file, suffixed with ".prefab".
I'm currently using "Terasology 74 - alpha" installed from the launcher in LinuxMint 18.03. It's file path is:
~/Terasology/game_files/data/modules/
but the "modules" directory is completely empty.
I saved some test prefab files to this directory and then looked for them in the game through the Toolbox -- not there.
Then I tried a command: give structurespawnitem test1.prefab
and that didn't work.
Just "give structurespawnitem" alone will produce the page-like item in the hand but it doesn't place anything when right clicked.
I was able to get StructureTemplates to work by using the structuretemplateitem's menu and clicking on "Create Structure Template Item". However, as my singlplayer world grows, I'd have to keep a list of coordinates for every thing that I want to duplicate, teleport back to those spots, setup blocks in the cubical area of the structure, then click on the structruetemplateitem's menu's "Make edit reagion box-shaped" and then "Create Structure Template Item", teleport back to my build site, place the duplicate, and then remove the blocks I used to set the cubical area corners.
It would be nice if I could enter a command like: give structurespawnitem cherryblossomtree.prefab 3 to get three cherrry blossom trees to plunk down. To have the prefab's file name appear as part of the structurespawnitem would also be helpful when working with multiple structurespawnitems (i.e. three different heights of the same type of tree).
So is what I'm trying to do currently doable, if so, how?