[WotC] Limited Reloads [Old, Unsupported]

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

Author: Richard

Last revision: 21 Oct, 2018 at 00:16 UTC (6)

File size: 330.75 KB

On Steam Workshop


This mod adds a new "Reload" perk that has limited uses to make tactical missions, especially those against the lost more interesting. A limited supply of ammunition (reloads) should give more influence over tactical decisions and limit the use of multi ammo/multi shot abilities.

What This Mod Adds:

Limited Reloads (default is x2 per mission but this can be configured in XComLR_SoldierSkills within the mods config folder).
The action cost can be customized in the config folder by default it is set to 1.

Extra Mags [Training Centre Perk] which adds +2 reloads to a soldiers total for personal use in the field.
(The perk reference is "ExtraMagsRS" if you want to add it to a class)
To Manually assign "Extra Mags" to a class, the ability is referenced as below with no extensions:

Extra Magazine [Item] which grants +2 reloads to a soldier when equipped.
This stacks with the Extra Mags training centre perk but multiple copies of this item do not do anything so don’t waste utility slots (I couldn’t restrict it).

Give Ammo, Everyone who can Reload gets this perk. By default its a single action cost ability that gives an ally within weapon range +1 reload charge but takes away 1 reload charge from the user.
The action cost can be customized in the config folder by default it is set to 1.
The charges for this ability is shared/same as the charges for reload and is also increased by the Extra Mags perk.

Strike, Each weapon gets a strike ability that allows a melee attack with the stock of the weapon. The Damage is based on weapon damage and scales at each tech level for supported weapons. It is also customizable in the ini files.

-The Limited Reload Perk is directly applied to weapons now via a small line of code, see below for supported guns.
-Pistols can cause conflicts with the new reload perk so existing game pistols have been fixed, so modded ones might cause issues.
-The GiveAmmo ability does not effect Autoloaders. Autoloaders are untouched and just act as a soldiers personal reload reserve and are a great way to increase overall reload counts for a unit.
-Extended Magazines are also untouched, they still just increase clip size which is a good way to use less reloads, less often.
-The "ExtraMags" perk is available via the Training Centre and may randomly show up on soldiers.
-The Extra Magazines Item can be equipped more than once but can’t be stacked on itself but can be stacked with the extramags perk.
-To get enemy reloads to work I had to edit the base game reload ability which may cause issues but on the plus side will make all enemies and enemy mods work now.

Supported Weapons: (These have had reload removed and limited reload added)
-Default Weapons: Assault Rifle, Cannon, Shotgun, Sniper Rifle
-Alien Hunters: Boltcaster
-Shens Last Gift: Spark Rifle
-XPACK Weapons: Vektor Rifle, Bullpup Rifle, Chosen Rifle XCOM, Chosen Shotgun XCOM, Chosen Sniper XCOM
-TLE/TLP Weapons: Assault Rifle, LMG, Shotgun, Sniper Rifle
-[WotC] Richards Weapon Pack (https://steamcommunity.com/sharedfiles/filedetails/?id=1416213922)
-(Unofficial) LW WotC SMG Pack (https://steamcommunity.com/sharedfiles/filedetails/?id=1126071432&searchtext=smg)
-Coilguns for War of the Chosen (https://steamcommunity.com/sharedfiles/filedetails/?id=1253939617)
-ADVENT Armoury – War of the Chosen – ADVENT Flamethrower (https://steamcommunity.com/sharedfiles/filedetails/?id=1123308019)
-[WOTC] CBR Redux (https://steamcommunity.com/sharedfiles/filedetails/?id=1349983893)
-[WotC] Resistance Firearms (https://steamcommunity.com/sharedfiles/filedetails/?id=1132835147)

Fixed Pistols: (These have had reload removed)
-Default Weapons: Pistol
-Alien Hunters: Shadowkeeper
-XPACK Weapons: Chosen Pistol XCOM
-[WotC] Resistance Firearms Pistols and Machine Pistols


Known Issues:
-Autoloaders work but are not displayed correctly meaning you cant see how many free reloads you have left, I suggest using BG’s Free Reload Anytime mod as this fixes this issue and makes free reloads its own pool.
-The Enemy AI don’t seem to know what to do when they run out of ammo and units such as advent troopers often just run around aimlessly.
-I had to edit the base game reload ability to get enemy limited reloads to work so this may cause issues.

-Add Utility Items that increase reload count such as spare magazine.
-Add Support for more Modded Weapons (On Request as I only use the SMG Pack)

Suggested Add Ons:
-BG’s Free Reload Anytime compliments this mod:

-Many thanks to shiremct & Lynsis for help getting the GiveAmmo ability to work.
-Advent Avenger, I borrowed some code from his "Pistols get standard shot" mod to add reload to weapons here.
-Looplick for fixing a bug related to the ExtraMags Perk.

Required DLC:

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

XCOM 2: War of the Chosen