Make smaller planets more stable?
Moderator: Oberlus
Re: Make smaller planets more stable?
If we do not have it: maybe also add stability from environment. Hostile -1, Poor +0, Average +1, Good +2 ?
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Make smaller planets more stable?
Partially done:
https://github.com/freeorion/freeorion/pull/4045
I'm not sure whether each environment and planet size should be its own game rule, or to just use a tick box. What do others think?
https://github.com/freeorion/freeorion/pull/4045
I'm not sure whether each environment and planet size should be its own game rule, or to just use a tick box. What do others think?
Re: Make smaller planets more stable?
Hmm.. apparently the supply modifiers for planet size are not in supply.macros, they are in galactic exploration. Which is part of the ship parts category but is located in the ship hull directory...
I might put the stability modifiers in happiness.macros just to be weird. Anyway just about done, short of pushing, testing, cleaning up, etc. etc.
I might put the stability modifiers in happiness.macros just to be weird. Anyway just about done, short of pushing, testing, cleaning up, etc. etc.
Re: Make smaller planets more stable?
Another minor note, testing suggests that this line of scripting:
is actually (GameRule name = "RULE_BASELINE_PLANET_STABILITY") > -/+ 0.9
Code: Select all
activation = ((GameRule name = "RULE_BASELINE_PLANET_STABILITY") != 0)
Re: Make smaller planets more stable?
instead the game rules (if you use those) for stability should be integer, not floating pointwobbly wrote: ↑Tue Aug 09, 2022 4:59 pm Another minor note, testing suggests that this line of scripting:
is actually (GameRule name = "RULE_BASELINE_PLANET_STABILITY") > -/+ 0.9Code: Select all
activation = ((GameRule name = "RULE_BASELINE_PLANET_STABILITY") != 0)
edit1: also note, consider increasing base stability default on the starting planet by 1 (imperial palace from +3 to +4) - most species have a large starting planet
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Make smaller planets more stable?
I'll change them to integer, I don't think there's a need for 1.3 or 1.7 etc.Ophiuchus wrote: ↑Wed Aug 10, 2022 10:30 aminstead the game rules (if you use those) for stability should be integer, not floating pointwobbly wrote: ↑Tue Aug 09, 2022 4:59 pm Another minor note, testing suggests that this line of scripting:
is actually (GameRule name = "RULE_BASELINE_PLANET_STABILITY") > -/+ 0.9Code: Select all
activation = ((GameRule name = "RULE_BASELINE_PLANET_STABILITY") != 0)
It's also a good environment(+2), Capital is +10, Homeworld is +5 and Capital Species is +5
Re: Make smaller planets more stable?
Do the game rules have a signed integer type? There was none on the current rules.Ophiuchus wrote: ↑Wed Aug 10, 2022 10:30 aminstead the game rules (if you use those) for stability should be integer, not floating pointwobbly wrote: ↑Tue Aug 09, 2022 4:59 pm Another minor note, testing suggests that this line of scripting:
is actually (GameRule name = "RULE_BASELINE_PLANET_STABILITY") > -/+ 0.9Code: Select all
activation = ((GameRule name = "RULE_BASELINE_PLANET_STABILITY") != 0)
Re: Make smaller planets more stable?
Should the phototrophics have a modifier for star type?
Re: Make smaller planets more stable?
Fluff-wise, yes, but balance-wise, no.
Re: Make smaller planets more stable?
I think a +1 or +2 stability in white and blue stars is not unbalancing.
And a -2 or -4 in dim stars won't be a problem either because they will get few planets of those or will do later when have more stability boosts.
And a -2 or -4 in dim stars won't be a problem either because they will get few planets of those or will do later when have more stability boosts.
Re: Make smaller planets more stable?
It's not unbalanced in the meaning that it would make anything overpowered or underpowered, but it is a balance problem because it makes the already good planets better and the already bad worse (so aggravating the impact of Galaxy age, and making colony choices even more unidimensional).
What is particularly interesting in making small planets more stable is that it allows for more diverse gameplay, since the player can choose immediate gain (stability) or longer-term gain (bigger planets).
What is particularly interesting in making small planets more stable is that it allows for more diverse gameplay, since the player can choose immediate gain (stability) or longer-term gain (bigger planets).
Re: Make smaller planets more stable?
I don't think that is a problem here: You will pick first the bigger planets with or without this small stability modifier.
I still pick planets based on maximum population subject to supply needs and minimum stability. A -2 stability in a huge planet vs +2 stability in a tiny (5 times smaller) planet, what do you pick? The huge planet, unless you need the supply.What is particularly interesting in making small planets more stable is that it allows for more diverse gameplay, since the player can choose immediate gain (stability) or longer-term gain (bigger planets).
Re: Make smaller planets more stable?
Well it depends, if you need to reach 10 stability to get a GGG bonus, the tiny planet can be very useful early game...
I mean, creating these alternatives was the goal of the modification.
I mean, creating these alternatives was the goal of the modification.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Make smaller planets more stable?
This change appears to have broken the rule: https://github.com/freeorion/freeorion/ ... 1263932102