Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - DJRockXD

#1
Help / How does tile generation work?
October 18, 2017, 10:58:27 AM
Let's say I want to make a mod that gives you the option to create a shaft "underground" through a ton of research and mining...
The "underground" part I am getting is pretty much a new tile, not viewed on the world map, which has pretty much 100% minerals, rocks (depending on the biome you're in), and ancient dangers, and will have 0 sunlight, with very few groves with sunlight in the upper levels and a 3x3 opening where you'r colonists land when they use the shaft (or lift possibly). The rarity depends on how low underground you dug and researched about.
I looked and searched through the core files of rimworld, and even found the XML files used to generate maps (MainMapGenerator and MapGeneration files I think they're called). I looked for any files that actually put that information to use and I found none. For this reason, I have no idea how to even start working on the mod, or if it's possible (that would be my first mod if it works).
So I am asking: Is it possible to do?
If it is, where do I find more info about how to actually do it? (pretty much info about how map generation works, and where I can find the files that will help me to figure it out).
I know there could be many balance problems with the mods, and performance issues, but I have a few ideas on how to fix them ... So please answer the questions above if possible. Thanks :)

P.S: Yes I searched through google and past threads. Found nothing. Then again I am known for being a "blind" person which has a hard time spotting details :P