Frozen Water

Started by Padd, October 18, 2017, 06:18:43 PM

Previous topic - Next topic

Padd

Hey modders, I'm trying to see how to develop a mod for Rimworld but before I want to know if it is possible :)

My current project will be to make a mod that freezes the water of lakes, seas, oceans when the temperature drops below 0 degrees. This would give the opportunity to walk on it once the water is frozen... Is it possible with C# and XML to replace the water tile with another one directly in game or it can only be done when the map is generated at the start of the new game ?

Thanks for help :P

CannibarRechter

Since you can arbitrarily replace terrain in dev mode, I would say that the game supports what you want to do implicitly. My recommendation would be to look into the new GameComponent module, write one, and every N ticks or so, check the map temperature, scan through the map tiles, and change terrain back and forth depending on what it should be.

CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects