It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I tried to gerate a random galaxy with the unmodded game. Works fine, only the garrison do not correspond to what is written in randgal. dat. For example the palace should have a minimum of one noble, 2 grund to space guns, and a rebel infantry with a minimum of 8 units in total. However, only the noble and 4 other random units are created, but none of the other mandatory units. Same with churches, which shoudl have a clergy, but have none and so on. Alos, many of the random units are every high level, even though everything is set to beginner.
avatar
Zarkis: I tried to gerate a random galaxy with the unmodded game. Works fine, only the garrison do not correspond to what is written in randgal. dat. For example the palace should have a minimum of one noble, 2 grund to space guns, and a rebel infantry with a minimum of 8 units in total. However, only the noble and 4 other random units are created, but none of the other mandatory units. Same with churches, which shoudl have a clergy, but have none and so on. Alos, many of the random units are every high level, even though everything is set to beginner.
Hi good question.

The key thing you're missing in random galaxy creation is the difficulty levels and how that impacts the random galaxy creation.

randgal says 8-10 total units, but this is on nominal difficulty. If all your houses are set to beginner, then the total amount of units will be multiplied by 0.50. If all your houses are set to ridiculous, then the amount of units will be multiplied by 2.0. So on beginner, you can expect 4-5 units in the palace, but on ridiculous you can expect 16-20.

Next up is how the difficulty affects the min/max power rating of the units selected. The game tries to make a rough calculation of how powerful each unit is and fit that into the "power min" and "power max" range of each city in randgal. On beginner, you'll see that the 0.50 multiplier reduces the powermin and powermax of the selectable units in the cities. Even if it looks like randgal is saying you will have 100% chance of PTS guns or any other unit, if that unit's calculated power doesn't fit in the powermin and powermax (as altered by difficulty), then that unit won't be selected.


In the end what you get is very unexpected results because the design of randgal is overly complicated and has so many factors involved. However, not a "bug".