XCOM 2
53 ratings
[WotC] Limited Reloads [Old, Unsupported]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
338.183 KB
2 Sep, 2017 @ 8:09pm
4 Apr, 2019 @ 4:12am
17 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WotC] Limited Reloads [Old, Unsupported]

In 1 collection by Richard
XCOM2 Mods by RICHARD
19 items
Description
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:
AbilityName="ExtraMagsRS"

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.

Notes:
-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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1416213922)
-(Unofficial) LW WotC SMG Pack (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1126071432&searchtext=smg)
-Coilguns for War of the Chosen (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1253939617)
-ADVENT Armoury - War of the Chosen - ADVENT Flamethrower (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1123308019)
-[WOTC] CBR Redux (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1349983893)
-[WotC] Resistance Firearms (https://steamhost.cn/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

Conflicts:
-

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.

Planned:
-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:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1124843260

Credits:
-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.
Popular Discussions View All (1)
12
6 Apr, 2019 @ 10:20am
Odd bug
looplick
231 Comments
4rrakis 3 Sep, 2017 @ 1:35pm 
I don't know if that helps, but this mod grants an item which lets a soldier reload another soldier: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=946365291&searchtext=ammo+belt
Richard  [author] 3 Sep, 2017 @ 1:26pm 
From what I can see focus is its own system and kills gain focus. Templars can spend focus but cannot gift focus to other templars so there is nothing I have to work with.
The only thing I found was how to give someone an action point like the teamwork perk but that doesn't really help much.
Has anyone seen any mods that have abilities that can give allies other abilities or charges?
Richard  [author] 3 Sep, 2017 @ 12:23pm 
I'll take a look thanks guys
Kage 3 Sep, 2017 @ 12:11pm 
what about looking at the Templar - they 'gain charges' via their focus mechanic - might be some code you could salvage from it???
MaCC165 3 Sep, 2017 @ 11:58am 
is their anything in thi sgame what increase a charge? there comes nothing to my mind...maybe u have to make a extra custom reload ability, wich activates/shows up on any soldier if they get a ammo from someone, only thing what comes in my mind
Richard  [author] 3 Sep, 2017 @ 11:42am 
I've hit a bit of a roadblock now. Instead of going for the ammo bag idea I decided just to give every soldier a "give ammo" ability. This allows them to give one of their ammo clips to any allied xcom unit. Visually it works and it also shares charges with limited reloads so all that side of it works. The only thing I don't know how to do is make an ability increase charges of something else. Does anyone have any ideas on where I could look?
Gantros 2 Sep, 2017 @ 10:18pm 
@Kage I agree, my Templar ended up with the Ranger skill set, so she had Bladestorm and Reaper, and I have the option of giving her the Gunslinger stuff too.
Kage 2 Sep, 2017 @ 10:09pm 
Definitely a good idea - I've be watching this for the moment as i want to finish my 1st run through of WotC mod lite, but will come back to this for further play throughts.

One thing I will say is - for Lost missions, its all about pistols and swords - gunslingers just destroy hordes with Between the Eyes Reaper Order and Bladestorm just destroys hordes in general...
Insufferable Smartypants 2 Sep, 2017 @ 10:09pm 
I love this! Was playing vanilla and LW2 with Grimy's Attrition mod, and got used to limited ammunition. Was sad that it wouldn't be updated and here you came and saved us. :-)
Hyomoto 2 Sep, 2017 @ 9:42pm 
It might be simpler to balance a reload 'pool' for all the soldiers to pull from. Then as far as 'extra' ammo and the whole idea of sharing reloads goes is more abstract, but generally easies to deal with without delving into a bunch of minutae. Otherwise I like where the idea is at. It also has the effect of making larger mags more valuable because each reload lasts longer.