• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

creating templates (tiles)

hytalego

New member
by the way, since I have not done modding in this game, I want to ask if I can create several templates and so that these templates then connect themselves and be generated in the generated map?

 
I don't think there is a way to place them in a specific order. But you can always make rules so they fit correctly. For example you could define that tunnels/caves have a possible connection 20 blocks north from the south west and south east corner of all templates. If they don't there should be a cave-in at that place, a stub.

Now imagine two templates side by side. There are 4 possibilities:

1) Both have a tunnel connection at that position. They connect naturally

2) Only the west template has a connection, the east template not. It just looks like a cave-in made that tunnel end there

3) Only the east template has a connection, again it just looks like a natural dead-end there.

4) Both have no connection there, then it is just a small hole in the ground with no connection at all, you won't ever know it exists unless you decide to dig there by chance.

 
I don't think there is a way to place them in a specific order. But you can always make rules so they fit correctly. For example you could define that tunnels/caves have a possible connection 20 blocks north from the south west and south east corner of all templates. If they don't there should be a cave-in at that place, a stub.

Now imagine two templates side by side. There are 4 possibilities:

1) Both have a tunnel connection at that position. They connect naturally

2) Only the west template has a connection, the east template not. It just looks like a cave-in made that tunnel end there

3) Only the east template has a connection, again it just looks like a natural dead-end there.

4) Both have no connection there, then it is just a small hole in the ground with no connection at all, you won't ever know it exists unless you decide to dig there by chance.


please tell me where these tiles need to be created?

 
This feature is brand new, but its handling should be similar to other RWG features. I would suggest studying rwgmixer.xml and checking out Prefabs/RWGTiles.

Specific modding questions you can post here or ask @Guppycur for an invitation to his modding discord group.

 
Last edited by a moderator:
Back
Top