DanHart Posted February 1, 2018 Report Share Posted February 1, 2018 If I had a building design (mesh) and wanted to have a small piece of terrain adjust to a predefined layout that fit the building mesh what would I need to mod? This action would take place every time the player constructed this building. Can this be done through the XML files? For example, the terrain would adjust to create a small hill every time the player built a fort structure. Another example would be to combine props and a few small structures along with the terrain to create a fort structure. Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 1, 2018 Report Share Posted February 1, 2018 Currently you cannot make walkable meshes. You can make props adapt to terrain like what fields, and certain things blocking (ie walls) like it's done for gate, but if you make the slope in 3D units will go through and not follow the shape. There is currently no way to deform terrain after placing a building. It was planned at some point and there is a trac ticket for it, but I don't know what the current plan is. 1 Quote Link to comment Share on other sites More sharing options...
DanHart Posted February 2, 2018 Author Report Share Posted February 2, 2018 Thanks for getting back to me! Is it something that can be done at the xml level, or does it have to be done at the C++ level? Where can i find the tickets/tasks? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 2, 2018 Report Share Posted February 2, 2018 It's gonna be c++ I can't access the tickets right now for some reason but I'll add the reference soon. One of the main issues is you are gonna have to serialize terrain. Edit : seems to be fixed here is the ticket https://trac.wildfiregames.com/ticket/2264 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.