XCOM 2
[WOTC] Random Appearance Button
92 Comments
Lyserus 30 Nov, 2024 @ 7:34pm 
This mod is awesome, however one little issue I found is that it doesn't randomize skin color (at least with More Skin Color mod), it is set to the first one
Leokosta 12 Sep, 2024 @ 10:19pm 
Any chance to make it compatible with Project Dollhouse ? Thank you
Tiberius 4 Aug, 2024 @ 7:38pm 
For ultrawide users, the easiest way to use this mod is to switch to windowed 1920*1080. The option button will show up normally. Use it to randomize your soldier, then switch back to your default resolution for the normal gameplay
Phoenix 20 May, 2024 @ 4:22am 
When I randomize faction soldiers, back out, and then go back to them their arms disappear for some reason: https://imgur.com/a/IcxvoST
thades  [author] 23 Jul, 2023 @ 5:12pm 
Gotcha, @p6kocka ... Unfortunately, that sounds like you'd need some kind of a merger between parts of my mod and parts of the uniform manager to do that.
p6kocka 22 Jul, 2023 @ 1:44am 
So I don't have to click in the options every time I want to randomize the appearance
p6kocka 22 Jul, 2023 @ 1:43am 
Ok. I don't want to save the uniform. I just want to exclude the changes to head
thades  [author] 21 Jul, 2023 @ 4:52pm 
@p6kocka Not natively to this mod, no; it _might_ still play well with the uniform manager mod (i.e. you make the uniform with this mod then use that mod to 'save' it and apply it to other operators) but I haven't played with the uniforms mod in years.
p6kocka 21 Jul, 2023 @ 10:02am 
Is it possible to save the changes I have done in the options? So they persist for every soldiers.
Nexures 22 Apr, 2023 @ 3:03am 
thanks dragon unfortunately i had it set up correctly from the start and it simply doesnt work for me. i dont have any mods related to units except for this one. maybe the bug fixing mods (the ones that are most subbed on steam workshop) are not compatible with it or something iunno
Dragon32 16 Apr, 2023 @ 10:50am 
@Nexures
Enable it in your mod launcher. If the buttons still are not showing:
https://old.reddit.com/r/xcom2mods/wiki/mod_troubleshooting

According to the Description some voice mods don't like it. I'm using ~100 of those and never had a problem though.
Nexures 16 Apr, 2023 @ 9:38am 
subbed to it and no options showed up. am i meant to be doing something else? i have alternate mod launcher and basically no other appearance related mods
thades  [author] 18 Feb, 2023 @ 7:29am 
@Daniel my github is linked above, you can fork the code (with my blessing!) and make modifications as you see fit. It's decently commented, but familiarity with the X2 UI layer will get you moving faster. Good luck!
Sam 17 Feb, 2023 @ 5:40pm 
@JailChip and how does one do that?
Sam 17 Feb, 2023 @ 5:34pm 
I'm reading the comments, I see multiple people are having issues, I don't mind fixing my local version manually, but I have no idea how to do that
thades  [author] 6 Jan, 2023 @ 4:56pm 
I've been out of the loop so long, unfortunately I don't have knowledge or utensils to debug the issue. I apologize for that. You can use the config file to move the buttons around, but the fact they're effectively being clipped isn't something I've ever observed. :(
Dragon32 6 Jan, 2023 @ 1:37pm 
@Vexhyl
A mod's .uc files are ignored by the game, it only uses the compiled .u in Script. You'd need the SDK to build a new version of the mod before any .uc changes are incorporated into the .u and take effect.
Vexhyl 6 Jan, 2023 @ 1:22pm 
Mmmh.. I did add outfit manager later on, but I already had the problem before adding it, other than that no ? Mostly soldier customisation..
And I play at 1440p but I tried at 1080 and it didn't help
thades  [author] 6 Jan, 2023 @ 1:14pm 
@vexhyl I dunno! That's super bizarre. Are you running other mods that play with the UI layer(s) in the armory? If it's only my mod and no other mods, then there may be something to do with an update to XCOM itself that I never accounted for. Do you play in 1080p?
Vexhyl 6 Jan, 2023 @ 10:25am 
Hey sorry but I am really lost, when I do a clean install of the mod (With the deletion of the config folder ect..), the mod works properly, no problem, but sooner or later, the rightmost buttons and the right side of the checkboxUI gets cut in half and they don't come back to normal until I delete the config folder again.. I tried to move the UI buttons in the .uc file, but no luck
thades  [author] 3 Aug, 2022 @ 8:36am 
That's weird, haha. Glad you sorted it out though! There's a lot of patches between my last push here and where the game is now, so it's possible there's something new and weird getting in the way. Nature of the beast. :)
JailChip 2 Aug, 2022 @ 10:33pm 
OKAY nvm, i got it to work.

if anyone else has the same problem, try changing the coordinates of the Undo or Toggle button (i did the undo but i imagine the toggle one also works).

i only changed the y coord by 20 (to check how dramatic the change was), and when i loaded up the game, lo and behold the random appearance buttons were there. the undo button also didn't move at all, so i have NO idea what happened here.
JailChip 2 Aug, 2022 @ 10:04pm 
hi, i'm trying to get this mod to work right but no matter what i do nothing fixes it, so here i am.

the problem is that the buttons to randomize won't show up. the undo and toggle options buttons do! but not the randomize ones. i'm not playing with ultrawide (in fact my resolution is pretty low since i'm on a gaming laptop), i've tried turning off every other mod, regenerating the ini files, and resubscribing to this mod. nothing works.

i'm really hoping i can get some help here because i honestly delved into modding this game solely for this mod and a few cosmetics
Shard 1 Nov, 2021 @ 11:44am 
@Reef thanks for all the confirmations. very helpful
thades  [author] 11 Oct, 2021 @ 7:55pm 
@Reef I'm very glad you're enjoying it. :) Thanks for the kind words.
thades  [author] 24 Sep, 2021 @ 7:56am 
Hi friends! If you're motivated, the most recent comments in my other mods address the issues with ultrawide support, but it ultimately boils down to you going into the config files and setting the position adjust variables in there (the config file has comments in it to guide you).

I haven't played XCOM 2 in quite a long while, at this point kind of waiting for XCOM 3 to return to the modding scene, but there's a number of community members who've been really awesome at helping support and figure out stuff in here. :)
PaperZero 1 Aug, 2021 @ 11:03am 
Has the ultrawide gang found a fix yet?
Bragzorf 12 Apr, 2021 @ 2:30am 
When Games Were Good 12 Apr, 2021 @ 1:17am 
i looked in the folder. There are 3 files and nowhere in them can i find anything that refers to any coordinates. I am using wordpad to read the files.
Bragzorf 11 Apr, 2021 @ 8:55am 
For whoever is interested the coordinates for the button are in the file RandomAppearanceButton.uc under \workshop\content\268500\1215679398\Src\RandomAppearanceButton\Classes

I have an ultrawide and god knows I am trying to see if i can adjust them to fix it, but I am not being succesful so far. If any more mod-programming inclined person wants to have a look please do :p
Dragon32 2 Apr, 2021 @ 7:50am 
@thade
I remember you saying you'd moved away from XCOM 2 modding now, thanks for keeping an eye on your old mods' comments threads though. And for your mods!
thades  [author] 2 Apr, 2021 @ 7:08am 
@dragon32 You're 100% right, unfortunately it was the Nickname button mod I added the offset values to the config for (by request, years ago now) and not this one. :\ Sorry for that.

I have zero time to dig back into XCOM 2 modding, but you all have my blessing in forking this if you need to! Happy to look at your github and offer help!
kakorot411 1 Apr, 2021 @ 4:25pm 
Yeah I was trying to find something that showed the x and y axis in the 4 files in that config folder but I don't see anything there.
Dragon32 1 Apr, 2021 @ 3:11pm 
Rather than the 634268994 folder (I think that's the base game version) this mod's config files are in 1215679398

It's academic though as the buttons' positions look to be hard-coded into the script and not read from one of the .ini files
thades  [author] 1 Apr, 2021 @ 1:46pm 
@kakorot411 They're in the (admittedly large and dense) description above, I'll paste the (likely) path here!

That config file ought to be here: ...\Steam\SteamApps\workshop\content\268500\634268994\Config
kakorot411 31 Mar, 2021 @ 7:22pm 
Where are the config files specifically? I don't have much experience in modding myself so explain to me like im a 4 year old, haha. I'd be willing to try to move the button to get it to work.
thades  [author] 27 Mar, 2021 @ 12:03pm 
@ruin'd you should be able to still adjust the button placement coordinates in the config files, worth trying!
Ruin'd 25 Mar, 2021 @ 5:56pm 
For those like me who also couldn't see the button, in my case the problem was that the button gets cut-off when the resolution is too high. I had to go from 5140x1440 to 2560x1440 and even then the button is half cut-off.
Shard 22 Dec, 2020 @ 7:35pm 
okie doke, thanks for replying man
thades  [author] 22 Dec, 2020 @ 12:37pm 
Hi @Shard, unless something about how the controller interacts with the UI has changed on Firaxis's end, I wouldn't think so. I remember briefly looking at how to support the controller when I initially built this and it looked like it would get super messy...so I never did it.

The source is up on Github (link's above) if anyone wants to fork and have a crack at that. <3
Shard 21 Dec, 2020 @ 8:02pm 
does this work with controller now?
chird 1 Dec, 2020 @ 4:06pm 
@thades, great mod, I had a look for the XY values you mentioned in the config files to get it to work with ultrawide but I couldn't find any.
MightNight 22 Jun, 2020 @ 5:57am 
@Jet Yeah how did you fix it?
When Games Were Good 19 Jun, 2020 @ 1:13am 
jet what did you do to fix the button not showing up
thades  [author] 16 Jun, 2020 @ 12:16pm 
@Jet woo!
Jet 16 Jun, 2020 @ 9:53am 
Got it fixed!
thades  [author] 16 Jun, 2020 @ 9:49am 
@Jet very likely it's a conflict with another mod that also affects the UI. Try turning others off until the buttons show up.
Jet 16 Jun, 2020 @ 8:10am 
Any tips for what to do if the button doesn't show up?
Dragon32 16 Mar, 2020 @ 12:52pm 
@Aretha Cairn
Have a look at Rookie Customization Options - WotC + Classic - it may do what you want.
thades  [author] 16 Mar, 2020 @ 12:38pm 
Oh gotcha @Aretha Cairn. Unfortunately the character creation code was far more complicated (as I recall) so I ended up building my buttons as if it they're a really really fast user "clicking" through UI buttons quickly, instead of going deeper, to get this done easily and quickly.

I dunno how to implement your ask, but in principle it's possible. My code here is far from the mark tho.