Earn That Nickname
Do you feel that your Character Pool Units are getting special treatment? Do you feel that they need to work up the ranks before they get that super intimidating nickname and hockey mask? Like cosmetic RP but don’t have the time or patience to partake? If so, this mod is for you!
Character Pool Characters are restricted from having nicknames and veteran cosmetic options, prior to the Sergeant Rank, and are removed when added into your unit. Once reaching the rank of Sergeant, the unit receives their Character Pool-assigned Nickname and their Veteran Cosmetics.
This mod requires Community Highlander and overrides X2SimpleBodyPartFilter.
The mod will remove Veteran marked items and nicknames, based on the cosmetics slots (VetLock) flags in the XComGame.ini file (see below), and replace them with either the blank option or a random default option (i.e. hair). This happens when a unit is added to the roster or at the beginning of a campaign.
Note: Because of the insertion point, potential recruits, in their profile picture, and VIP units, on mission, might have veteran cosmetics before the cosmetics removed when added to the XCom roster. This is a known flaw, and I have a few ideas how to fix this in the future.
When any unit reaches Sergeant, the mod will then find the unit in the character pool, using their full first and last name and if there is a match, the mod add their nickname and veteran cosmetics.
By default, Nicknames are the only thing that are removed and later reapplied on rank up. This mod uses the bVeteran flag to determine if an item is considered a Veteran Cosmetic, and with WotC, all cosmetics have their bVeteran flags set to false.
You can manually edit these config files and personally determine which cosmetics are considered Veteran Cosmetics. You will want to modify a "BodyPartTemplateConfig" entry, by changing the bVeteran flag from false to true, or by adding "bVeteran=true"
For base game cosmetics, you want to edit the DefaultContent.ini file which can be found here:
..SteamsteamappscommonXCOM 2XCom2-WarOfTheChosenXComGameConfig
For the rest of the cosmetics, you want to edit the XComContent.ini files, which can be found in the following…
For DLC and Tactical Legacy Pack cosmetics:
..SteamsteamappscommonXCOM 2XCom2-WarOfTheChosenXComGameDLC[DLC name]Config
For Steam Workshop mods:
..Steamsteamappsworkshopcontent268500[Workshop ID]Config
For other mods:
…SteamsteamappscommonXCOM 2XCom2-WarOfTheChosenXComGameMods[Mod name]Config
After editing these Content.ini files, you will want to refresh your config files. One of the ways this can be done is by deleting all the config files (or just XComContent.ini) found in this folder within My Games:
[Most likely Documents]My GamesXCOM2 War of the ChosenXComGameConfig
There are multiple options for this mod, all which can be changed in the mod’s XComGame.ini file found here:
..Steamsteamappsworkshopcontent2685002463438684Config
The defaults are listed below:
FullResetOnRankUp = false
If true, changes all cosmetics to match character pool design when reaching sergeant, including non-veteran options. For example, if you change a unit’s eye color, the unit will revert back to the original eye color when reaching sergeant
OnlyResetVeteranItems = true
If false, non-veteran cosmetics selected in the character pool will overwrite any changes made to the character in-game. Otherwise, only veteran cosmetics will overwrite the slots. Only VetLock cosmetics slots will be overwritten at all.
OnlyRemoveSoldierChar = true
Only removes soldier cosmetics, as opposed to engineers and scientist
Choose which cosmetic options will be truly locked to veteran units; options set to true will be removed pre-veteran, and reapplied post-veteran
NicknameVetLock = true
HairstyleVetLock = false
LowerFaceVetLock = true
UpperFaceVetLock = true
HelmetVetLock = true
PatternVetLock = false
TattooVetLock = true
ScarVetLock = false
FacepaintVetLock = true
WeaponColorVetLock = false
WeaponPatternVetLock = true
What does the bVeteran flag do?
The bVeteran flag is only used by the UI and the random character generator. It determines what cosmetics the player can select for their unit inside a campaign (prior to Sergeant rank) and what cosmetics the random character generator can select for a soldier or civilian (there is also a ‘bCanUseOnCivilian’ flag).
Could changing the bVeteran flag take away features, or screw up my existing characters or the game?
The cosmetic parts are still selectable to a veteran (Sergeant and higher) units, and when using the character pool. In a campaign, a non-veteran unit could have a bVeteran flagged cosmetic, no problem, but the player will find that they can’t select it again if they remove it and then try to reapply it. You can screw up the game if you set all items to bVeteran, so that civilians and randomly generated units have no cosmetic options to choose from (armless units if you make the ‘none’ tattoo ‘bVeteran=true’).
Is this compatible with base XCOM 2?
Theoretically, yes, though I haven’t tested it. I have only used listeners, hooks, and an override of X2SimpleBodyPartFilter.
Is this okay to use on ongoing campaigns
Yes, however, existing characters in your roster will not be affected. I thought about automatically applying the ‘deveteranize’ function, via the OnLoadedSavedGame() function that can be toggled on and off with a config option, but there’s flaws to this method. I rather have the option via button or console command to ‘deveteranize’ the low ranked units, which I hopefully will get around to making in the future.
This character had veteran cosmetics on their VIP rescue mission or recruitment photo, and only had them removed when they joined XCOM.
Yes, this is a known flaw. My insertion point for my code is when a unit is added to XCOM. Otherwise, I would have to likely override more game classes to accomplish my desired effect.
I switched my unit to an old armor set and reverted back to their pre-veteran cosmetics.
This is not a flaw of my mod but of the base game, itself. Cosmetics are snapshotted every armor set, so reverting to a previous armor set will revert to the previous cosmetics.
Required items:
Click the title to search on this site.
X2WOTCCommunityHighlander v1.29.0 — Steam Workshop
