XCOM 2
[WOTC] Random Appearance Button
92 kommentarer
Lyserus 30. nov. 2024 kl. 19:34 
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 kl. 22:19 
Any chance to make it compatible with Project Dollhouse ? Thank you
Tiberius 4. aug. 2024 kl. 19:38 
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. maj 2024 kl. 4:22 
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  [ophavsmand] 23. juli 2023 kl. 17:12 
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. juli 2023 kl. 1:44 
So I don't have to click in the options every time I want to randomize the appearance
p6kocka 22. juli 2023 kl. 1:43 
Ok. I don't want to save the uniform. I just want to exclude the changes to head
thades  [ophavsmand] 21. juli 2023 kl. 16:52 
@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. juli 2023 kl. 10:02 
Is it possible to save the changes I have done in the options? So they persist for every soldiers.
Nexures 22. apr. 2023 kl. 3:03 
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 kl. 10:50 
@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 kl. 9:38 
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  [ophavsmand] 18. feb. 2023 kl. 7:29 
@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 kl. 17:40 
@JailChip and how does one do that?
Sam 17. feb. 2023 kl. 17:34 
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  [ophavsmand] 6. jan. 2023 kl. 16:56 
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 kl. 13:37 
@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 kl. 13:22 
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  [ophavsmand] 6. jan. 2023 kl. 13:14 
@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 kl. 10:25 
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  [ophavsmand] 3. aug. 2022 kl. 8:36 
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 kl. 22:33 
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 kl. 22:04 
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 kl. 11:44 
@Reef thanks for all the confirmations. very helpful
thades  [ophavsmand] 11. okt. 2021 kl. 19:55 
@Reef I'm very glad you're enjoying it. :) Thanks for the kind words.
thades  [ophavsmand] 24. sep. 2021 kl. 7:56 
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 kl. 11:03 
Has the ultrawide gang found a fix yet?
Bragzorf 12. apr. 2021 kl. 2:30 
When Games Were Good 12. apr. 2021 kl. 1:17 
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 kl. 8:55 
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 kl. 7:50 
@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  [ophavsmand] 2. apr. 2021 kl. 7:08 
@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 kl. 16:25 
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 kl. 15:11 
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  [ophavsmand] 1. apr. 2021 kl. 13:46 
@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 kl. 19:22 
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  [ophavsmand] 27. mar. 2021 kl. 12:03 
@ruin'd you should be able to still adjust the button placement coordinates in the config files, worth trying!
Ruin'd 25. mar. 2021 kl. 17:56 
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 kl. 19:35 
okie doke, thanks for replying man
thades  [ophavsmand] 22. dec. 2020 kl. 12:37 
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 kl. 20:02 
does this work with controller now?
chird 1. dec. 2020 kl. 16:06 
@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. juni 2020 kl. 5:57 
@Jet Yeah how did you fix it?
When Games Were Good 19. juni 2020 kl. 1:13 
jet what did you do to fix the button not showing up
thades  [ophavsmand] 16. juni 2020 kl. 12:16 
@Jet woo!
Jet 16. juni 2020 kl. 9:53 
Got it fixed!
thades  [ophavsmand] 16. juni 2020 kl. 9:49 
@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. juni 2020 kl. 8:10 
Any tips for what to do if the button doesn't show up?
Dragon32 16. mar. 2020 kl. 12:52 
@Aretha Cairn
Have a look at Rookie Customization Options - WotC + Classic - it may do what you want.
thades  [ophavsmand] 16. mar. 2020 kl. 12:38 
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.