Planet Generation

Reviving a thread from a long time ago :slight_smile:

So all of the stuff which is above here is about star and planet generation. There’s a code prototype here. What it does is it generates variables but no geography or anything spatial like that.

For the star it works out mass and from that it works out Life span, Radius, Temperature, Luminosity, the spectrum of the light the star emits and the habitable zone for the star in which planets can have liquid water.

For the planet it takes the radius and orbital distance and works out temperature and relative masses of the atmosphere, lithosphere and oceans. It also takes the composition of the atmosphere and works out the spectrum of light that hits the planet.

What I’m proposing is to work on this by adding an update step. So the star will change over time and get hotter or cooler, maybe it flares. For the planet the changes in the star will change it’s temperature and maybe damage it, maybe there will be volcanoes or asteroid impacts etc.

I think the value of this is that it can really help with patch map generation by having good variables to build on (how much of this planet is frozen, what percentage is ocean etc). It will hopefully provide some good ongoing gameplay where you need to adapt to changing planet conditions. Hopefully once this system is built it will last well, probably this is enough to get us into the strategy stages.

I’m hopeful I can do most of this work myself, I’d like to try it as a project to learn more about coding for the game, I’ll probably need some help with plumbing it in and anyone who is interested in contributing is totally welcome. Maybe 0.4.3 isn’t the right time for this so feel free to say if people have other priorities, also if anyone has ideas and contributions for this system I’d appreciate hearing them.

3 Likes