[SOLVED]Help with new natural building

Started by asierus24, August 21, 2018, 12:10:00 PM

Previous topic - Next topic

asierus24

Hi, i made a new power plant and a new natural building like the steam geyser, also created a dll to only allow to build this power plant on that new building,but  how i set that new natural building to spawn on maps like the vanilla steam geyser?
The rest it's working fine and i can spawn the natural building using dev mode.

What files i have to edit or do i need another c# edit?  Thanks
My mods:
[1.0/1.1] The Shin-Ra Company Mod
https://ludeon.com/forums/index.php?topic=47138.0
[1.1/1.2/1.3] Early Firearms Mod
https://ludeon.com/forums/index.php?topic=48939.msg460152#msg46
[1.1/1.2/1.3][SRTS Expanded]Aircraft & Bombs
https://ludeon.com/forums/index.php?topic=52594.0

FueledByOCHD

It sounds like you might need to patch some of the game's files. I may be way off. Not sure what files you will need to patch but i would start by taking a look at the BiomeDefs and the Steam Geyser def and work from there

FueledByOCHD

After looking around you should check out Core/Defs/MapGeneration/BasicMapGenerator

asierus24

#3
Will do thanks  :D

Edit: worked like a charm, added a new def like the one on basicmapgenerator to my file and they now appear along geysers.
My mods:
[1.0/1.1] The Shin-Ra Company Mod
https://ludeon.com/forums/index.php?topic=47138.0
[1.1/1.2/1.3] Early Firearms Mod
https://ludeon.com/forums/index.php?topic=48939.msg460152#msg46
[1.1/1.2/1.3][SRTS Expanded]Aircraft & Bombs
https://ludeon.com/forums/index.php?topic=52594.0

FueledByOCHD

Well hot damn that was a good guess then