XCOM 2
Not enough ratings
[WOTC] More Randomized Loadouts
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
154.226 KB
19 Jul, 2022 @ 9:57am
12 Apr, 2023 @ 8:16am
18 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] More Randomized Loadouts

Description
This is my personal adaptation of Iridar's Random Gatecrasher Loadout mod.
I wanted to support more mod added items and slots without making the config file bloat out insanely with every possible combination so it now takes list of items for each slot for each class of soldier that it will pick from.

My code supports two different versions of the loadout generator:

Version 3 allows for any arbitrary slot, including upgrades and number of items. If the number of items listed is higher than what it accepts (say, try and set 4 utility items but the unit only has 2) it will just fail on the later ones.

Version 2 supports the following hardcoded slots:
Armor
Primary Weapon
Secondary Weapon
Pistol Slot
Vest
Grenade
Ammo
Utility (you specify how many items you want to try and add)
AMod
MAW from Allies Unknown Vipers

It also support adding a random weapon or armor mod to the primary weapon and armor slots, including Pexm gems if desired.

I've included my personal config and it's quite a thing. It should skip any items that you don't have in your setup but feel free to clean it up.


See the original mod here
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2455617256

https://github.com/lshtech/WOTCRandomGatecrasherLoadouts
11 Comments
grammarsalad 3 Jan, 2024 @ 2:54am 
The modmaking discord isn't a friendly place. Rather than help me when I was clearly unfamiliar with the terminology, I was made fun of because apparently I used the word "animations" rather than "cosmetics" or something like that. I'm not even sure what term I was supposed to use. It was rude and hurt my feelings. Felt very mean spirited. I would not recommend.
Nero 3 Nov, 2023 @ 1:13am 
right thankj you
Iridar 26 Oct, 2023 @ 1:45am 
@TrooperCoon
This mod doesn't interact with Tac Armory UI in any way, but Tac Armory UI itself is known to cause crashes for many people and not recommended for use.
Nero 26 Oct, 2023 @ 12:27am 
seems a bit fucky with musashi's tactical armory ui
Iridar 12 Apr, 2023 @ 8:18pm 
Fair enough. I'll try to reach out to TeslaRage, see what happens. As for DSP, I know the author personally, and let's just say there's a reason for him being abrasive, don't hold it against him.
elbe  [author] 12 Apr, 2023 @ 6:49pm 
The previous time I tried reporting a bug, in this case for the dedicated pistol slot mod, I was just told it didn't support using a mod that I didn't even have in a dismissive way. It left a bit of a bad taste in my mouth.
elbe  [author] 12 Apr, 2023 @ 6:46pm 
Don't get me wrong, I think having curated loadouts to randomly choose from is a really good idea.
I tried informing TeslaRage through the mod posting and putting in a github pull request. I haven't seen any activity from them since fall of last year so I don't know how long it might take them to see it and it's a noticeable bug.
Honestly I tried to write it as a patch that overwrites his class instead of reposting the entire project but nothing I did would let it load the config files.
Iridar 12 Apr, 2023 @ 6:09pm 
Fair enough, your way makes more sense for lots of inventory slots, even with just the two utility slots the loadout list for my mod got a bit unwieldy.

It's just slightly annoying; in our modmaking community it's customary to give the courtesy of asking for permission when you intend to copy someone's work, even if you make substantial modifications.

For example, your reupload of the TeslaRage's loot mod with a bug fix; you could probably just inform TeslaRage of the bug and they'd fix it for everyone.

I invite you to come by the modmaking discord at some point, it's a friendly place.
https://discord.gg/ZytsZ93
elbe  [author] 12 Apr, 2023 @ 8:20am 
The arbitrary slots bit is specifically in relationship to my earlier version 2 which had hardcoded slots.
It's meant to function wildly different than yours, just my own personal taste.
Instead of manually creating a list of loadouts for it to choose from randomly I build a randomized loadout from lists of items. If you have too many item options it would expand exponentially and, for some reason, the engine didn't like parsons millions of lines of an ini file.
Iridar 11 Apr, 2023 @ 5:22pm 
Also, my mod supports all inventory slots out of the box, so I'm not sure what are you talking about there.