Signs in .mts files

Posted:
Wed Sep 09, 2015 21:07
by Don
What is a good way to have a sign in a .mts file? I want to place a .mts file that includes signs that the text will stay.
The type of sign does not matter. I can make a sign node with high res texture with the word in the texture. I am wondering if there is a better way.
Re: Signs in .mts files

Posted:
Wed Sep 09, 2015 21:16
by Sokomine
Do you just want to put the same word on all signs? In that case, placing the schematic via place_schematic, followed by a find_nodes_in_area for your signs plus manual setting of the signs text might be sufficient. Other than that, I'm working on something similar for handle_schematics, but it hasn't really been tested yet and is currently only used when spawning something with the build chest.
Re: Signs in .mts files

Posted:
Wed Sep 09, 2015 21:39
by Don
Sokomine wrote:Do you just want to put the same word on all signs? In that case, placing the schematic via place_schematic, followed by a find_nodes_in_area for your signs plus manual setting of the signs text might be sufficient. Other than that, I'm working on something similar for handle_schematics, but it hasn't really been tested yet and is currently only used when spawning something with the build chest.
I need different text on each. If there is no way to do it easily then I will just make them as a node with text in the texture.
Re: Signs in .mts files

Posted:
Thu Sep 10, 2015 03:08
by Sokomine
Don wrote:I need different text on each. If there is no way to do it easily then I will just make them as a node with text in the texture.
Once you know the coordinates of the spawned signs, you can just add the metadata manually with your code. But that all depends on what you have in mind. Can you be more specific? Will mapgen place these schems automaticly, or do you have influence on it?
Re: Signs in .mts files

Posted:
Thu Sep 10, 2015 03:56
by Don
I made a node you place and on right click it places the schematic.