Stellaris

Stellaris

174 ratings
[DEPRECATED] Negative Trait Formula Fix
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
309.644 KB
14 Sep, 2023 @ 11:15am
7 Dec, 2023 @ 6:04am
6 Change Notes ( view )

Subscribe to download
[DEPRECATED] Negative Trait Formula Fix

Description
The fix has been incorporated into Stellaris in patch 3.11. This mod is no longer needed.

What This Does
You may have noticed a strange behavior when your long-lived leaders (especially those who are recruited already being 100+ years old) start disproportionally getting a lot of negative traits in a short span of time. NTFF tweaks the negative trait chance calculation formula to prevent such issues.

Technical Info
1. Stellaris uses different negative trait formulae for immortal and non-immortal leaders. Immortal leaders are not affected.
2. Base yearly chance to get a negative trait for non-immortal leaders is 5% and is affected by a multiplier. The chance caps at 25% and obviously can't be less than 0%.
3. Stellaris uses this formula to calculate the multiplier (comment copied directly from Stellaris formula):
# Eligibility increases for every full 20 years of AGE, every LEVEL, and every PENDING Negative trait.
# Eligibility decreases for every CURRENT negative trait.
This means that for every 20 static years leaders get +1 increments in the formula. Vanilla formula is balanced for leaders with default lifespans of 80-100 years. Leaders that have longer lifespans and start of older age (for example the Dark Elves from Elves of Stellaris are at least 100-400 years old when recruited) are completely screwed by it: they start with 5 to 20 added to multiplier formula.

For example, the yearly chance to receive a negative trait for a level 1 non-immortal leader that is hired already being 300 years:
5% * (300 / 20 - 1 - 8 - 0) = 5% * 6 = 30% but caps at 25%.
Compared to a fresh 30 year old leader:
5% * (30 / 20 - 1 - 8 - 0) = 5% * -8 = 0% (minimum).

This mod changes the divisor in the formula from static 20 to leader_max_age / 4. The more long-lived your species is, the larger the interval between age-related increments in the multiplier. For leaders with default max age of 80 the mechanics is unchanged.

Compatibility
Incompatible with anything that edits common/script_values/01_script_values_paragon.txt file.

Save game compatible.
25 Comments
Zorlond 8 Dec, 2023 @ 11:17am 
I dunno, seems perfectly natural for every immortal to go through a 'Rick' phase...
savadrin 4 Dec, 2023 @ 4:41pm 
update for 3.10.2?
TY 26 Nov, 2023 @ 8:45am 
I see, standard operations. Thanks
Porev  [author] 24 Nov, 2023 @ 5:10pm 
@RMD🦆ck
Should be, as long as it doesn't change the file listed in the description. If it does, the mod that is loaded last would "win" the conflict.
TY 23 Nov, 2023 @ 2:18am 
Nice. Theoretically, this should work even with a mod that adds leader levels, yes?
Porev  [author] 17 Nov, 2023 @ 11:33am 
@kroganwar22
Sure, go ahead!

@RMD🦆ck
Yes.

@G0ldheart
No, we don't have the time to maintain multiple versions. Besides, the point of this mod is to kinda "fix" vanilla behavior. Removing negative traits altogether would be a bit too much.
kroganwar22 17 Nov, 2023 @ 7:34am 
Hi. @Porev and @pPrincessStabbity I have permission from you guys to use Mass Effect Asari civilizations and want to update it for my total conversion, however you guys have made this mod a requirement for the Asari mod. Do I have permission to use this as well?
TY 11 Nov, 2023 @ 11:19pm 
Save game compatible?
The Emperor 26 Oct, 2023 @ 10:21pm 
This is a great fix for my playthroughs thank you
Demognomicon 6 Oct, 2023 @ 7:28am 
I don't suppose you could make a version (or option) that completely removes negative traits?