XCOM 2
419 ratings
[WOTC] Random Soldier Info Mod
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
147.151 KB
1 Nov, 2017 @ 10:08am
3 Nov, 2017 @ 8:34am
2 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Random Soldier Info Mod

In 1 collection by thades
Mods compatible with my mods.
70 items
Description
THIS IS THE WOTC EDITION. NOTE REQUIRED DLC (to the right on this page).

Base game version here: http://steamproxy.net/sharedfiles/filedetails/?id=630738292

A version that doesn't require Shen's Last Gift (by another dev, gmes78) here: https://steamproxy.net/sharedfiles/filedetails/?id=2106864467

Version that works without Shen's Last Gift (by user:gmes78) here: https://steamproxy.net/sharedfiles/filedetails/?id=2106864467

Have you ever known a soldier's nickname was wrong, but you couldn't think of the right one? This happens to me all the time in XCOM and I've really wanted a "Random Nickname" button all throughout EU/EW/LW. Well, now I got the chance to make one. Enjoy!

This mod adds five buttons to the Character Info screen:
* Random First Name
* Random Last Name
* Random Nickname
* Random Country
* Random Bio

The buttons call the built-in generators and thus *should* use whatever lists you have, modified or stock. (If they don't, let me know.)

Names are generated with respect to gender and country of origin, as it's the stock randomization functions the mod is using to generate them.

A newly generated name or country will be reflected in the existing bio.

In-game nicknames can only be generated if the soldier is of rank to have one. Using the Character Pool or a mod to make lower rank soldiers nicknameable won't (yet) allow this mod to do the same, I'm afraid.

Community member mumhustlar provided some config that got their buttons to show up in ultrawide res (3440 x 1440 / 21:9) which maybe will work for you too if you use ultrawide:

RNBConf_Anchor = 3
RNBConf_PanelXOffset = -550
RNBConf_PanelYOffset = 150

FAQ

"The game crashes when I load up now."

You are almost certainly encountering a mod conflict. Note that mods are at times still resident (and can run into one another) whether or not you disable them with the checkboxes now in the Firaxis launcher, which is a huge pain but there's not much I can do about it from the mod's end. As the majority of users don't experience a crash condition, I'm confident the mod isn't to blame directly...but I recognize that's hardly helpful to those of you running into it.

Head over to the Discussion tab on this page and have a look at relevant topics there; you may find some aid.

"The buttons don't appear anywyere."

I've seen two causes for this.

The most frequent one is a mod conflict of some kind. Try diabling all other mods but this one to see if the buttons show up. (Any mod that overrides UICustomize_Info rather than injects into it will likely kick my mod out of the game.)

Less frequently, certain screen modes can result in the buttons being drawn offscreen. Try modifying the values in the mod's INI file to see if you can get them drawing anywhere: XComRandomSoldierInfoButtonPanel.ini.

"Help! When I click the Nickname button, it doesn't work! OR it erases my operative's nickname!"

If a soldier doesn't have a class, they can't get a nickname from the built-in generator function, because each class has its own random nickname list. If your soldier's not yet a Squaddie, you can't random gen them a nickname even with the Full Customization Mod. If you're in the Character Pool, assign the soldier a class and it will work. :)

"Can you make your mod work with this other sweet mod?"

Most incompatibilities are due to the other modder is instantiating their own Customization menu rather than extending the existing one. Their custom menu will have a different (arbitrary) name that mine won't be able to pick up on. If you *really* want to, you can fork my project and have it extend your favorite mod's main class and it might just work. (Buyer beware.) As to whether I'll do that...I mean, it can't hurt to ask me. :)

My code is on GitHub and forks do not offend me. <3
https://github.com/thadeshammer/WOTC-xcom2-random-nickname-button

KNOWN BUGS AND ISSUES.

If you don't have Shen's Last Gift DLC at this time, the game crashes when you try to fire up this mod. This is because the SPARK UI (like the Templar UI) is for some strange reason its own class which I need to hook into by name...and if it's not present, sadness occurs.

The default override for soldier stance can be lost upon clicking one of my buttons (i.e. they'll resume acting wounded if they are wounded). (No workaround.)
Popular Discussions View All (1)
2
14 Mar, 2018 @ 5:09pm
This mod crashes my game! Or doesn't work!
thades
138 Comments
SpaceRyde 14 Jul @ 7:01am 
@Dragon32

i love you kiss kiss mwuah
bigwormfire 2 Jul @ 3:52pm 
My isn't showing is there any confliction with this mod?
SpaceRyde 28 May @ 11:05am 
which config am i changing to put the ultrawide fix in?
jheuck 16 Mar @ 2:22am 
The ultrawide config found in the description worked for me! Thanks for that!
Dragon32 25 Sep, 2023 @ 11:04am 
I'd certainly be interested, DaggaRoosta.
DaggaRoosta 24 Sep, 2023 @ 6:39pm 
@Montressor This mod works fine with MNaN. The country randomizer should use MNaN's country weights, in which countries added by MNaN should show up ~20-25% of the time, so it seems you're on target.

This mod does break up the ethnic first and last name pairing MNaN does though - names are created based only on country, race/skin tone, and gender. So if you've got an Indian-American, finding a different Indian surname to match my first name takes a lot of clicking through Hispanic surnames.

I've created my own version locally that adds a "Random Full Name" button that preserves the ethnic name pairing; it's about 20 edited lines of code. If anyone wants to see the changes I made, let me know and I'll fork thades' version on Github.
Montressor 16 Sep, 2023 @ 9:40am 
Just tested it and it seems to pick up the nations and names sometimes. The randomization places heavy bias on the original countries and names though. Something like 80% of randomizations are the original countries and names.

Still awesome! Thank you so much!
Montressor 16 Sep, 2023 @ 9:20am 
awesome mod!

does this work with "More Nations and Names WotC"?
Dragon32 19 Feb, 2023 @ 4:10am 
@Krimsun
I asked that a while ago:
thades [author] 15 Apr, 2018 @ 2:53pm
Hey @Dragon32! This request has come up a few times and after a lot of thought I determined there was no way for me to do that in a satisfactory way, due to inconsistencies in how VPs are named.

I could conceivably make a very user-intensive mod where users would need to build their own config out for such a button, but demand is tiny and my time is so short these days. I'm sorry. :(