Hello everyone, I take this opportunity to thank Nyuton team for the great job done! Thank you all very much..
Now, i need your help to save a lot of time for terraforming.
I would like to know if there is a query or a command to change the elevation of tile / block.
Re: Change Block Altitude via DB or Rcon
2Hi,
it's possible in theory but I doubt it would save you time. You would need a list of all tiles with their GeoID, TerID and the target altitude. So if that is a large area, making that list of IDs and putting the code together might be more work than doing it ingame. Especially when it comes to terraforming downwards, as that needs multiple actions per tile.
Cheers
it's possible in theory but I doubt it would save you time. You would need a list of all tiles with their GeoID, TerID and the target altitude. So if that is a large area, making that list of IDs and putting the code together might be more work than doing it ingame. Especially when it comes to terraforming downwards, as that needs multiple actions per tile.
Cheers
Re: Change Block Altitude via DB or Rcon
3Oh I understand thank you Nyuton; alternatively there is a way to change the "collapse" of each type of terrain? instead 2 increase it to 4 for example?
Re: Change Block Altitude via DB or Rcon
4You can try to change the "maxHeightDiffBeforeFall" option for each substance in \scripts\cm_substances.cs in the YO client and then upload the file to the server into the same folder. The server should use the .cs file instead of the existing compiled .cs.dso file then. I think they're the same by default.
I've never tried it though. Good luck if you want to give it a try. Let me know how it went (:
I've never tried it though. Good luck if you want to give it a try. Let me know how it went (:
Re: Change Block Altitude via DB or Rcon
5Oh well, I will try to do it these days!Nyuton wrote: 03 Sep 2018, 18:43 You can try to change the "maxHeightDiffBeforeFall" option for each substance in \scripts\cm_substances.cs in the YO client and then upload the file to the server into the same folder. The server should use the .cs file instead of the existing compiled .cs.dso file then. I think they're the same by default.
I've never tried it though. Good luck if you want to give it a try. Let me know how it went (:
Re: Change Block Altitude via DB or Rcon
6Apparently it doesn't work for me, the cm_substance.cs file is not compiled.
Re: Change Block Altitude via DB or Rcon
7One thing to remember...
Server always uses cs.dso first if it exists. and ignores the same file with just .cs
You need to delete cm_substance.cs.dso if you want server to accept cm_substance.cs changes.
Server always uses cs.dso first if it exists. and ignores the same file with just .cs
You need to delete cm_substance.cs.dso if you want server to accept cm_substance.cs changes.
Re: Change Block Altitude via DB or Rcon
8Did it work? Or break the server.
Wondering what other files it will work with. Recipes for example.
Verified, works. The server did not create a new dso file though during morning maintenance - but at least nothing broke.
Now i'm wondering if I can do this to edit recipes.
Aaaand breakthrough. Stop the server, download the dump.sql file, make a copy just in case, edit it on my machine, upload it back. Changes stay and nothing broken.
Wondering what other files it will work with. Recipes for example.
Verified, works. The server did not create a new dso file though during morning maintenance - but at least nothing broke.
Now i'm wondering if I can do this to edit recipes.
Aaaand breakthrough. Stop the server, download the dump.sql file, make a copy just in case, edit it on my machine, upload it back. Changes stay and nothing broken.