XCOM 2
387 ratings
[WOTC] Automated Loadout Manager
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
809.741 KB
Oct 6, 2019 @ 2:09pm
Jul 11, 2020 @ 6:49am
15 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Automated Loadout Manager

Description
This mod is clunky, I suggest switching to non-automated Loadout Manager.

TL;DR

This mod automatically equips last used items when you add a soldier to Squad Select screen, even if you click "Unequip Barracks".

FEATURES
  • When you start a mission or remove a soldier from squad select screen, the mod will automatically remember the soldier's Loadout.
  • When you add a soldier to squad select screen, the mod automatically tries to equip their remembered Loadout.
If any part of the soldier's remembered loadout is currently unavailable (e.g. their last equipped weapon is already equipped on another soldier in the squad), the mod will automatically try to replace the missing item with the next best thing. For example, if both of your Snipers have Darklance as their last used weapon, the mod will automatically equip a Beam Sniper Rifle on the second Sniper when you add them to squad.

The automatic part of the mod happens only on Squad Select screen.

Squad Select screen and individual soldier loadout screen will also have buttons to manually "SAVE LOADOUT" or "LOCK LOADOUT".

While the soldier's loadout is "LOCKED", it will not be automatically rewritten when the soldier is removed from squad select screen.

For example, if you equip a Darklance on a Sniper, then lock their loadout, then equip a Beam Sniper Rifle on them and then remove them from squad select, the remembered loadout will still contain the Darklance.

"SAVE LOADOUT" will save currently equipped loadout even if it's locked.
"LOCK LOADOUT" will also save the currently equipped loadout. Lock loadout does not prevent "Unequip Barracks" button from stripping the soldier's gear. It only prevents the mod from overwriting soldier's saved loadout when they are removed from squad select.

Locking the loadout will also prevent the mod from looking for superior alternatives to "unmodified" items. For example, if the saved loadout includes a Frag Grenade, and the loadout is not locked, then when loading the loadout the mod will try to find a better alternative to the Frag Grenade, like a Plasma Grenade. If the loadout is locked, the mod will equip only the Frag Grenade on the soldier, and will look for a replacement only if there are no Frag Grenades available.

PURPOSE

This mod is a huge time saver when playing with increased squad sizes, especially if every soldier can potentially equip a variety of primary and secondary weapons. In these scenarios, the soldiers' preferred equipment gets both hard to track and annoying to re-equip on them for every mission.

REQUIREMENTS
  • X2WOTCCommunityHighlander is required only so that the new buttons can be accessed with a controller. if you don't care about controller support, the mod will still function fine without the Highlander.

COMPATIBILITY

Compatible with:
The mod has no overrides and generally should be compatible with almost anything. Safe to add mid-campaign, but shoud not be removed.

Note: the mod heavily relies on looking for Infinite Items if it cannot find an item from the saved loadout, so the mod will not function as advertised if used alongside any implementation of Finite Items.

CONFIGURATION

You can reposition the buttons on the soldier's individual loadout screen through:
..\steamapps\workshop\content\268500\1882809714\Config\XComALS.ini
You can also enabled debug logging here, as well as blacklist any inventory slots from being affected by the mod.

COMPANION MODS

Remove Weapon Upgrades - This mod adds a button to, well, remove weapon upgrades from all weapons that are not currently equipped on squad members. That would mean you have to reassing your weapon upgrades every time you go on a mission, once you have Reusable Upgrades tech / breakthrough. However, that mod can now be configured to *not* remove weapon upgrades from weapons that have a nickname. It can also be configured to remove weapon ugprades from secondary weapons as well. For, that put this code into that mod's XComGame.ini:
[RemoveWeaponUpgradesWOTC.X2DownloadableContentInfo_RemoveWeaponUpgradesWOTC] DLCIdentifier="RemoveWeaponUpgradesWOTC" DontRemoveUpgradesFromNamedWeapons=true +SlotsToRemove=eInvSlot_PrimaryWeapon +SlotsToRemove=eInvSlot_SecondaryWeapon

TODO

Auto-equip weapon upgrades.
Better algorithm for finding replacement equipment.
Some sort of indicator on squad select which soldiers have locked loadouts.

KNOWN ISSUES

Currently none.

TROUBLESHOOTING

If the mod appears to work incorrectly, please enable debug logging in the config, launch the game, try to reproduce the problem, and then send me your Launch.log file, located at:
..\Documents\my games\XCOM2 War of the Chosen\XComGame\Logs\Launch.log

This console command can be used to wipe out saved loadouts, should you need to.
ALMResetSavedLoadouts

Due to some bugs in the early versions of the mod, some of your soldiers may end up with "hidden" items that are still equipped on them, but you don't see them, and can't unequip them through in-game interface. For example, you may be trying to equip a grenade on the soldier, but the game will say that this soldier already has one equipped. Use this console command to fix this issue:
ALMUnequipBrokenItems

CREDITS

Controller support implemented by Mr.Nice.

Please support me on Patreon[www.patreon.com] if you require tech support, have a suggestion for a feature, or simply wish to help me create more awesome mods.
Popular Discussions View All (2)
1
Apr 15, 2021 @ 12:45pm
Russian translation!
ONI
0
Jun 25, 2020 @ 9:28am
Traditional Chinese Localization (正體中文翻譯)
Mogwai
131 Comments
Iridar  [author] Nov 16, 2024 @ 8:03pm 
Locking the loadout allows to "ignore saving".
gogis_ Nov 16, 2024 @ 7:00pm 
Is it possible to ignore saving if used alongside infiltration mod? (it's when you strip everything, civilian disguise, base smg etc) This is most annoying gear saving and time sink
Sunbach Sep 29, 2024 @ 6:16am 
I see it's a shame.

thanks Iridar
Iridar  [author] Sep 29, 2024 @ 6:06am 
The buttons are added by base game UI, I have no control over it.
Sunbach Sep 29, 2024 @ 5:18am 
@Iridar: I know you have made a new better loadout mod but I kindda wish to use this one. There is just one gripe about the uneven space between the buttons. Could you please make it so there is even space between the buttons? https://imgur.com/Oj1TVuP
fujoshi Jan 3, 2023 @ 9:27am 
You're really talented.
Iridar  [author] Aug 1, 2022 @ 10:10am 
I don't get what you're trying to say.
Iridar  [author] May 19, 2022 @ 10:12pm 
@everyone
There is a non-automated Loadout Manager now available: https://steamcommunity.com/sharedfiles/filedetails/?id=2810261755

I think the new mod is better, and suggest you check it out.
Moisesjns Apr 26, 2022 @ 1:07pm 
I cant believe i have been playing the game so long without this. WHAT was i doing!! And thank you so much author seriously Love this mod, And i wish it was default in game like old xcom lol.
Iridar  [author] Apr 19, 2022 @ 2:52am 
No, I haven't looked into it yet. This mod is not a high priority.