Sid Meier's Civilization VI

Sid Meier's Civilization VI

Not enough ratings
SpatialX Population Enrollment and Retirement
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
1.400 MB
25 Aug, 2022 @ 6:13am
1 Change Note ( view )

Subscribe to download
SpatialX Population Enrollment and Retirement

Description
TLDR : All Units cost 1 population to train, and now have a lifespan. Units will now die of age, and need to be retired in a city center to get back the population, but also recieve powerfull bonus and malus



DISCLAIMER
Despite adding many new mecanics, the code of this mod was heavily inspired by other mods. In this case, Golden Age mod who add the 'retire' button and Ragnar Lothbrok mod who add the lifespan to units. This mod could not have be created with them, and I must give them credit to that. So don't hesitate to check out the work of those amazing peoples.



What this mod does
Now, all units with a combat value requires 1 population to be trained.
All Units, (including civilian) will now have a Lifespan and will die when their lifespan reach 0.
Combat units can now retire in the city center. When doing so, the units is killed and the city gain 1 population.
Retiring a unit will give random bonus or malus. The more a unit has promotion, the higher the chances of getting a good bonus is.
There is new buildings that reduce the chances of getting a malus.
Some policies will now reduce the chances of malus and increase the lifespan of units



List of changes
Retiring a unit :
When a unit retire, production toward this kind of unit will be +15% faster


Ultra rare bonus
(Is added on top of Rare bonus)


-Heroic unit : In this city : +15% Production toward all melee units. +1 amenties. -5 war weariness. +2 loyalty

-Unit write pro-war book : In all cities : -10 war weariness.
-In this city : Encampement produce +2 culture and +1 tourism


Rare bonus


-Great general among unit : In this city : +4 Great general (or admiral for naval units)
-(if unit is an aircraft) : Pilot volounteer to become astronaut : In all city : +20% production for space race projects.

-Unit create a museum : In this city : +2 culture and +1 tourism for the related district (Encampement, Port, Aerodrome)


Average bonus


-Great officier among unit : In this city : +2 Great general (or admiral for naval units)

-Unit parade in the city : In this city : +1 amenties. -5 war weariness. +2 loyalty

-Unit reconvert : Create a military engineer on the spot. Create a trader and add a trade route if the unit is an aircraft or a boat.


No bonus
(a unit with 0 promotion is almost always guarentee to get this. The more a unit has promotion, the less likely it is to get it)


Bad bonus


-Unit got PTSD : In this city : -5% food, gold and production. +4 war weariness

-Unit brings diseases : In this city : -3 population

-Anti war feelings : In this city : -10% production toward melee units. +6 war weariness

-Protest against war lobby : In this city : -20% production toward military buildings. -10% production toward non-melee units


Terrible bonus
(adds on top of bad bonus)


-Unit establish a military junta : In this city : -4 loyalty

-Unit write Anti-war book : In all cities : +10 war weariness

Policies and Buildings :
Policies
(all those changes are in addition of the base policies effects)


-Discipline : -2% chance of bad effect during retirement
-Survey : +5 lifespan when you train a scout unit
-Agoge : +6 food for barracks. +5 lifespan when you train a Melee, Anti-cavalry and ranged units. -3% chance of bad effect during retirement
-Maritime Industries : +8 food for lighthouses. +5 lifespan when you train a Naval unit.
-Conscription : +2% chance of bad effect during retirement
-Strategos and Navigation : -2% chance of bad effect during retirement
-Veterancy : +5 lifespan when you train any unit. -3% chance of bad effect during retirement
-Feudal Contract: +8 food for Medieval walls. +8 lifespan when you train a Melee, Anti-cavalry and ranged units and +4 lifespan for all other units.
-Chivalry : +6 food for stable. +10 lifespan when you train a light or heavy cavalry.
-Press gangs : +8 food for lighthouse. -8 lifespan when you train a maritime unit. +5% chance of bad effect during retirement
-Rationalism : +4% chance of bad effect during retirement
-National Identity : -4% chance of bad effect during retirement
-Grande Armée : +6 food for barracks and Stables. +10 lifespan when you train a Melee, Anti-cavalry and ranged units and +6 lifespan for all other units.
-Total War : +14 lifespan when you train any unit. +4% chance of bad effect during retirement
-Propaganda : -10% chance of bad effect during retirement
-Levée en Masse : +6 food for Barracks and Stables. +10 lifespan when you train any unit. +6% chance of bad effect during retirement
-Lighting Warfare : -8 lifespan when you train light and heavy cavalry
-Martial law : +12 lifespan when you train any unit. -6% chance of bad effect during retirement.
-Their Finest Hour : +12 lifespan when you train an Air unit. -3% chance of bad effect during retirement.
-Defense of the Motherland : +12 lifespan when you train any unit. -4% chance of bad effect during retirement
-Strategic Air Force : +15 lifespan when you train an Air unit.
-Online Communities : +4% chance of bad effect during retirement
-Colective Activism : +5% chance of bad effect during retirement



Buildings


Military Graveyard : Unlocked at Military tradition. -8% chance of bad effect when retiring a unit in this city. Can't be built if there is already a Monument to the deads build.

Monument to the Deads : Unlocked at Military tradition. -3% chance of bad effect when retiring a unit in this city. This building yeld +1 Culture each time you retire a unit here. Can't be built if there is already a Military Graveyard build.

PTSD Care center : Unlocked at Mobilization. -5% chance of bad effect when retiring a unit in this city. Remove all chances of unit getting PTSD bonus when retiring here. Cost 8 gold to maintain.



Compability
This mod requires Rise & Fall DLC.
I didn't take too much time to try and test if this mod was compatible with other mods. One major issue to consider is that I updated texts in policies. This mean that other mods that try too to modify those policy could either replace what I did, or that I replace what they did. This should not make your game crash, but you willl not have all information related to that policy.



Known Bugs
-It seems that units added by other mods or sometimes even DLC wont remove a population when trained.
-Some effects added by policies won't show up with all DLC active.
-In some situation, buildings icon added by this mod won't show correctly
31 Comments
Vidyflan 25 Feb @ 6:40pm 
when i purchase the units from Moar Unique Units, it wouldn't cost population.
TitanoBoa 31 Mar, 2023 @ 10:26am 
@SpartialX, actually, I did some tests and I found out that:
1: the mod is not compatible with the mod "Radiant Stronger Cities";
2: the mod is also not compatible with "Real Era Stop".
Now everything should work perfectly, thanks for the answer!
ZuryMcFlapjack 30 Mar, 2023 @ 4:18pm 
I am pretty sure Amazon scouts from Scythia do not cost population to produce. Not sure if that was intentional. I can build them when I only have 1 pop.
SpatialX  [author] 30 Mar, 2023 @ 1:53pm 
@Potatoes and Tomatoes, do you mean steel and Thunders unit mod? Anyway, this mod should apply it's effect with most others unit mods

@TitanoBoa do you have the DLC in wich they added the Heros and Legends? In my tests I had no issue without the gamemode active but maybe it was because I still had the DLC active. If this is the case I can't do anything for you...
Potatoes and Tomatoes 29 Mar, 2023 @ 8:49am 
is this compatible with steel unit expansion?
TitanoBoa 23 Mar, 2023 @ 7:15am 
The lifespan doesn't seem to work anymore. Am I the only one?
ZuryMcFlapjack 25 Jan, 2023 @ 4:04pm 
Thanks for taking the time to get back to me. I did just as you suggested actually and just changed the default lifespan values but only to increase them slightly and test it out. I ran with 60 turns default, 80 for recon and navy, and default 40 for civilian. After a little bit of gameplay, I actually have a huge appreciation for the lifespans. Thanks for the awesome mod
SpatialX  [author] 22 Jan, 2023 @ 6:55am 
Hello @ZuryMcFlapjack I guess you already know where the mod files are located. Once your in the mod files, you go in 'core' and you open with your file editor 'SpatialX_fwp_buttons_effect.lua'. You press on your keyboard 'ctrl' and 'f' and you type in 'apply lifespan'. From there you have two option, either you take the risk of breaking something by remothing everything from '--apply lifespan' to 'end' or you can just make the duration life longer by chaning each 'durationLife = ' with watever number you want. I really recommend the second option, as it will porbably not break, even if you put really big numbers.
ZuryMcFlapjack 21 Jan, 2023 @ 9:48am 
This is such an exciting concept. I loved the way this changed gameplay in GoldenAge and the dicerolls for better or for worse I think add another fun twist to the game. The only thing I don't personally enjoy is the unit lifespans and would love to disable that portion of the mod. I spent a lot of time looking through the mod files but I am unsure how to do it without breaking the mod as a whole. Could I get maybe an explanation of which mod files I can edit to deactivate the lifespans?
spartan1204 16 Jan, 2023 @ 1:56pm 
Also are there options to enable or disable the features of this mod?