XCOM 2
67 ratings
Configurable Birthdates
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
181.393 KB
9 May, 2016 @ 9:11pm
23 May, 2016 @ 6:51pm
10 Change Notes ( view )

Subscribe to download
Configurable Birthdates

Description
Changes the age range of randomly generated personnel from 25-35 to 18-50. Specific backstories are configured to have a specific age range, this can be configured in XComBirthdays.ini By default this mainly affects civilian staff with prewar backstories, and the soldier from the Resistance Warrior DLC.

This mod also allows for specifying an age range for custom bios, as long as its index is known.

No overrides. It will work for any language, and is not compatible with anything that changes character backgrounds in the same UIs, or modifies the header+bio format that this mod expects.

Now checks the character pool before overwriting generic bios (so that they don't get a new birthday every time they appear), this can be disabled.

WOTC version


General caveat: this mod doesn't make any changes to how the base game generates backgrounds, just overwrites them before you see anything. So if any characters or backgrounds are generated where the mod doesn't or can't anticipate them, they'll always be 25-35.
28 Comments
gravage 28 Apr, 2019 @ 5:33am 
@thegrimsqueaker72:

I got it to crash again. A folder with 4 files was auto-generated under C:\Users\Gravage\Documents\My Games\XCOM2\XComGame\Logs that I uploaded to my Google Drive:

https://drive.google.com/open?id=1JqVmB4OIIDGF-RFYxuqr8IDSiddtdI07

Afterwards I successfully loaded my game from the point of the crash using the "Save0" file that was included in that auto-generated folder. When I loaded it I got a warning:

SAVED IN A DIFFERENT LANGUAGE
This game was created in a different language, some localized content may contain missing characters. Load anyway? (I added that screenshot to the Google Drive File)

To the computer literate that probably refers to something entierly different but I confirmed that my character's names were still spelled with an "e-acute."
gravage 26 Apr, 2019 @ 4:31pm 
@thegrimsqueaker72 Re: Jan 24, 2017 @ 9:37am (CST)

New campaign and the monthly report are two of the places the mod expects characters are added to the game (not any other cutscenes though). Does it also crash on finishing a scanning site/mission, if they award a unit? Are you running any mods that mess with starting crew, recruits pool, and/or HQ store/Black Market?

I do get a crash "Pure virtual function being called while application was running. (GIsrunning == 1" at New campaign and monthly report when using your mod "Configurable Birthdays." I don't have any errant nationalities attributed to my characters, but I have a spelling of one character's name that uses an "e-acute" from the Latin alphabet which I do not have on my English keyboard. Given your knowledge, would it make sense to you that that may trigger such a crash.

I'd test it; however, I've long ago deleted my corrupt saves. I noticed this errant "e-acute" just today.
Dragon32 1 Apr, 2018 @ 6:28pm 
@The Dunkmeister:
Read the Description. See the "WOTC version" link?
Chev Chelios 1 Apr, 2018 @ 5:44pm 
+1 to crashing with WoTC
Dragon32 17 Sep, 2017 @ 10:40am 
Yeah, WoTC crashes on game load when this mod is enabled.

[0016.72] Critical: appError called: Assertion failed: appErrorf [File:G:\BuildAgent\work\ce3b64a62966ccd1\branches\ShippingOzzy\XCOM2\Development\Src\Core\Src\UnObj.cpp] [Line: 2456]
Failed to find function IsASoldier in XComGameState_Unit Transient.XComEngine_0:XComGameStateHistory_0.XComGameState_122.XComGameState_Unit_140
vulchor 30 Aug, 2017 @ 1:50am 
needs to be updated for WOTC
Dragon32 15 Jul, 2017 @ 2:19pm 
@thegrimsqueaker72:
Thanks for that tip, thegrimsqueaker72. I looked through my character pool and found three troopers (imported from someone else's pool for VIPs) with nationalities I don't use (Welsh and Namibian, IIRC). I'll see what happens now I've changed them to UK and Nigeria.
thegrimsqueaker72  [author] 9 Jul, 2017 @ 4:03pm 
Correction: It's possible to get this error without the unit being a mission reward, if the unit is from the character pool and has a nationality that was removed from the game (i.e. disabling the mod that added it).
Dragon32 3 Jul, 2017 @ 4:52pm 
Hey, thanks for replying. At least I know it's an issue to watch out for now.
thegrimsqueaker72  [author] 3 Jul, 2017 @ 3:22pm 
Poking through the code, my guess is the mod is trying to access a nonexistent country (assuming this only happens with mission rewards, since they're the only ones who don't get edited immediately after being added to the game). Unfortunately I never got the SDK to work on the new computer I got last year, so I won't be able to fix it any time soon.