[WOTC] Automated Loadout Manager

If you liked this item, please rate it up on Steam Workshop page.

Author: Iridar

Last revision: 8 Oct at 19:39 UTC (1)

File size: 715.78 KB

On Steam Workshop

Description:
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 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 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.

PURPOSE

This mod is more or less useless in XCOM 2 with a minimum amount of mods, when you have only four basic classes, and each of them uses weapons unique to that class.
However, when you’re playing with RPG Overhaul with a larger squad, when every soldier from your bunch can equip any primary weapon and any secondary weapon, the soldiers’ preferred equipment gets both hard to track and annoying to re-equip on them for every mission.

If your soldiers mostly use the same weapons for all missions, this mod is a huge time saver.

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.

CONFIGURATION

You can reposition the buttons on the soldier’s individual loadout screen through:

..steamappsworkshopcontent2685001882809714ConfigXComALS.ini

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.
Load loadout button for the Armory.
Some sort of indicator on squad select which soldiers have locked loadouts.

KNOWN ISSUES

Sometimes utility items from the saved loadout are not re-equipped properly. Under investigation.

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.

Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen
Required items:

Click the title to search on this site.


X2WOTCCommunityHighlanderSteam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.