Sid Meier's Civilization VI

Sid Meier's Civilization VI

SpatialX Population Enrollment and Retirement
31 Comments
Vidyflan 25 Feb, 2024 @ 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?
spartan1204 16 Jan, 2023 @ 1:52pm 
Do you know if this causes desyncs in multiplayer?
SpatialX  [author] 14 Oct, 2022 @ 12:42pm 
retirement should work on all speeds
The Lost Prince 14 Oct, 2022 @ 8:36am 
Does it need to be on standard time for retirement to work?
SpatialX  [author] 10 Sep, 2022 @ 1:35am 
Oh, actually your first setller and warrior are immortal, didn't find a way to add a lifespan for them. Did you try to create any unit ?
GreenCross6504 9 Sep, 2022 @ 7:11pm 
SpatialX, the lifespan bar does not appear. I also went to check the Lua.log file, the word error was not found. I did have it working in one game, the main difference is that I had the heroes and
legends game mode on, starting units were still immortal. I'm alright now, but thanks for replying!
SpatialX  [author] 9 Sep, 2022 @ 7:02am 
GreenCross6504 that's odd. I'm not sure if I will be able to help you, but can go in C:\Users\"your computer name"\Documents\My Games\Sid Meier's Civilization VI\Logs , open the "LUA" file, do CTRL + F , type "error" and send me each row that include the word error. Also, did the unit actually have an Lifespan like my screenshot show ? And if yes, what happen with the lifespan, does it decrease at each turn? Finally, can it reach 0.
GreenCross6504 9 Sep, 2022 @ 2:16am 
Hello. I have this mod activated, but units still dont die of old age.
I can still retire, but i really came for the lifespans.
SpatialX  [author] 29 Aug, 2022 @ 8:44am 
@EDIT apart from 'Golden Age' who got the pop cost and retirement button without random effect and lifespan, currently no
Edit 29 Aug, 2022 @ 5:47am 
Is there a version without the retiring random effects? Seems like a really cool mod, but I don't like the idea of randomly losing 3 pop due to a dice roll.
Akkadon 27 Aug, 2022 @ 1:07am 
This seems like a really unique concept
imiami 26 Aug, 2022 @ 3:45am 
I apologize for my English, it is not always possible to convey the thought correctly. In my proposal about retirement upon reaching a certain time, I meant that Unit disappears exactly (and only) at that moment, and if I do not send it to retirement, it will continue his existence without restrictions. And as for the bonus of creating unit with promotions, I spoke about
free promotions (like Moksha's Patron Saint), but the option with an increased speed of gaining experience is also interesting.
SpatialX  [author] 26 Aug, 2022 @ 1:52am 
And for your suggestion, i don't know. I could make in sort you can retire only after a certain lifespan, but don't know how to make the unit not die. Also, i just can't create a unit with the same promotion as the retired unit. But what I could (and should) do is for each promotion the unit got, this kind of unit trained in this city could got xp +15% faster.
SpatialX  [author] 26 Aug, 2022 @ 1:52am 
1. Number 40 is the lifespan for all gamespeeds (didn't know how to do it in fuction of gamespeed, and then to balance it). Re-add lifespan adds additional lifespan to the unit, except for upgrading the unit, in wich case the lifespan is reset to 30.
2. AI don't know how to use the mod, but will not suffer from it, the population cost apply only for human players. The AI is affected by lifespan tho.
3. If it's always the same kind of unit, your city will produce this kind of unit at a 105% rate, but you could also get other bonus and malus with this many unit retired.
4.A bit long but i'll do it soon.
5.I'll do it too, but if you are interested only for the unit cost and retirement, 'Golden Age' do exactly that. But I kinda thought it was pointless, why anyone would want to retire a unit they spend time to produce on, where they could just continue to use it. This mod adress this problem by forcing you to retire them, and even having bonus doing so.
imiami 25 Aug, 2022 @ 11:25pm 
Now, if you replace the concept of Unitspan with a Length of service, which, upon reaching a certain value, would allow Unit to retire with the corresponding bonuses (only bonuses, without fines) for the corresponding city. For example, upon retirement of Unit with promotings, the city gets the opportunity to create new units (the same type) with the number of free promotings equal to what was retired. Something like the continuity of generations. For the very idea of a limited lifetime of a combat unit (which is not the same as a separate warrior) is not entirely logical.
imiami 25 Aug, 2022 @ 10:40pm 
I do not criticize the mod, but try to understand all the details of its work in order to make an opinion to use it to me. A very meager description, a bunch of questions remains, incomprehensible even from the consideration of pictures.
1. The number 40 in the pictures, is this lifespan at what game speed? "Re-add lifespan" means "adds to the current" or "drops to the maximum"?
2. What about AI? Does he know how to use it?
3. What will happen after retiring 7 units in the same city?
4. A complete list of possible bonuses and malus?
5.5. Lists of all buildings, politicy cards, etc, affecting the choice of bonuses/malus.
It seems to me that the mechanics of lifespan for the most part complicate and confuse the gameplay. While I see only two interesting points in fashion: a decrease in the size of the city when creating a military unit; and the possibility of retirement.
Strudeler of the Tart Society 25 Aug, 2022 @ 6:12pm 
Very cool.
SpatialX  [author] 25 Aug, 2022 @ 12:53pm 
Completely forgot to metion that upgrading and forming a corp/army re-add lifespan to the unit, in addition to the fact that promoting your unit re add lifespan too (maybe not enough?). For bonus, each time you retire a unit, this city will produce this type of unit 15 percent faster, in addition to other bonus, like loyalty, ammenties, great general point and culture from war districts.
imiami 25 Aug, 2022 @ 12:26pm 
A very strange mod. In fact, it cancels (makes meaningless) mechanisms of units promotions and upgrades. Plus slows cities growth and significantly complicates wars (especially on huge maps with long movements of the troops). And what it gives in return? Bonuses? Which? To whom or what?
Silentshadow 25 Aug, 2022 @ 9:02am 
instant sub. This mod sounds amazing. I have been waiting for something like this ever since heros and legends mode came out
Lucius, the Heavenly Dragon 25 Aug, 2022 @ 8:56am 
Will have to test it out to see how good it is in practice, but the Theory checks out as cool.
Lucius, the Heavenly Dragon 25 Aug, 2022 @ 8:56am 
Very Nice