Creation of planets with moon |
I was looking around in SystemTypes.txt, and StellarObjects.txt, and noticed that in all the stock systems the moons of large planets are predefined.
This got me wondering, is it possible to make the system create the moons itself.
In the start of the SystemTypes there is the chance table for planets (tiny,small,medium,large and huge all having 20% chance of being formed)
Would it be possible to add for example "large+1 moon" somehow to this randomization table, and have them both created?
I don't think that would be doable, because there would need to be two(or more) separate planets defined in single orject, with their atmospheres, compositions and sizes, but I could be wrong. Is there a way to get it work? I know abjects can be later added in systems (storm creator) but can it be done here? Is there a way to make the map generation to add a moon object in the list after the planet size is picked?
Also, is it possible to have the number of objects in the system random? Does the datafile support any sort of formulas? Or will you get parce error if you try?
Also, I didn't see it anywhere, is there a limit of how many objects you can have in a system?
Re: Creation of planets with moon
Re: Creation of planets with moon
Back before Aaron fixed the bug with planet>asteroid and asteroid>planet(it would make planets equal to the number of times you gave the order), I managed to get the game to crash by doing that too many times in one system. I'm not sure how many times I did it, but I think it was several hundred. And unsurprisingly, having several hundred planets slowed down the system display, a lot.




Re: Creation of planets with moon
Well, yes you can add storms, but not planets.
For randomization of system objects.... that's why there are multiple system layouts. It randomly picks a system layout when spawning a solar system. That has the effect of "randomizing" the contents of the system. It picks from a list, but it does so "randomly".
No I don't know what the limit is. There does seem to bee some limit though.