Joelnh wrote: ↑Wed, 18. Jan 23, 01:49
Using this on my first Zerohour playthrough. it definately adds more flavor to the game.
How is number of planets and their bonuses decided per sector ?
First, thank you for the kind comment. I think it adds a lot of flavor too
Actual Number of Planets in a given sector is driven entirely by this text file:
\Mayhem 3\mayhem_data\sunsandplanets.txt
This file came from the original Mayhem 3 release and represents a list of Sun/Planet combinations separated by a blank line. Basically a template.
When generating the Map/Universe, each system's suns and planets is populated from this list.
Sector Bonus's are random values between an appropriate range. For example, system research level is a random value between 40 and 100.
You can look at the exact generation of these in the method GenerateSystemStats() located in Generator.cs in the source code (which is freely downloadable).
Out of my mind. Back in 5 minutes.