XCOM 2
289 ratings
[WOTC] Automatic Reload by Iridar
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
967.415 KB
6 Sep, 2021 @ 10:34pm
15 Feb, 2023 @ 11:43pm
10 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Automatic Reload by Iridar

Description
This quality-of-life mod will make your units automatically reload when they use turn-ending abilities with enough Action Points remaining.

Since reloads only take one action point in XCOM 2, it is always advantageous to reload before taking a turn-ending shot. However, it can be tedious, and you may often forget to do-so. This mod automates the process, ensuring you always maximise your action economy. - Eng. TheNiTrex

After a unit uses a turn-ending ability, the mod checks how many Action Points the unit had before activating it, and if there was enough for a Reload, the mod activates it.

Works with Overwatch. If the unit has Waylay or a similar ability, the Reload is activated only if the unit has more Overwatch shots than remaining Ammo, and the action cost of Reload is then subtracted from the granted Overwatch shots, so everything is fair.

The mod will NOT automatically reload if that would result in spending Free Reloads granted by Auto Loaders or when targeting Lost or other Headshot-able targets.

By default the mod works only for units controlled by you, the player, but you can configure it to allow AI units to benefit from it as well.

KNOWN ISSUES

(1) The mod is unable to reload automatically when using turn-ending abilties that include movement, such as Sword Slash. This is because the ability point cost is hard to calculate beforehand for abilities like that. If you use Sword Slash without actually moving, then an automatic reload is possible.

(2) When triggered by abilities that cannot be interrupted, automatic reload technically happens after the ability has gone through. The mod performs some under-the-hood juggling to make everything look correct, but the reload still technically happens after non-interruptible actions.

An example of this is LW2 Steady Shot ability - reload technically happens after it, cancelling the steady bonus. For this reason the mod contains compatibility config that prevents automatic reload from happening when using Steady Weapon.

REQUIREMENTS

X2 WOTC Community Highlander of any version is required.

Safe to add or remove mid-campaign. There is a similar mod for vanilla.

CONFIGURATION

This mod includes Mod Config Menu support, and additional configuration files are located at:

..\steamapps\workshop\content\268500\2595660540\Config\

The mod works only for Reload abilities specified in the config. There is also a configurable list of abilities that should never trigger an automatic reload.

COMPATIBILITY

CREDITS AND DONATIONS

Thanks to Chris the Thin Mint for reminding me that Waylay exists.

Huge thanks to my wonderful patrons for their continued support. Please consider supporting 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.
63 Comments
Count BlingBlangula 22 Apr @ 5:43pm 
ok so for full compatability with lwotc you need to add this to the XcomAutoReload.ini:
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "ArcThrowerStun")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "LWRocketLauncher"
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "LWBlasterLauncher")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "ConcussionRocket")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "BunkerBuster")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "ShredderRocket_LW")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "EMPRocket_LW")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "BlasterConcussionRocket")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "BlasterShredderRocket_LW")
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "BlasterEMPRocket_LW)
Count BlingBlangula 27 Jan @ 12:32pm 
to make my question more clear, how do i exclude the tehcnicals rocket attack from automatic reload
Count BlingBlangula 24 Jan @ 9:25pm 
hey how do i add the rocket from lwtoc, seems like it shouldnt automatic reload since in reality this is an exploit because reloading is supposed to make the rocket less accurate
Lux Manifestus 29 Aug, 2024 @ 3:48pm 
Stopped working for me as well :(
|[-{₣Ł₳℟Ẍ}-]| 9 Aug, 2024 @ 3:50pm 
For some reason in my mod collection (LWOTC) it's doesn't work, Animation in play but weapon not reloads. :/
Steve 2 Apr, 2024 @ 7:15am 
If you are using this mod with LWOTC. Then fire Arc Thrower with Quick Zap will cause autoreload. To prevent this add this line into XComAutoReload.ini:
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "ArcThrowerStun")

当你与LWOTC一同使用这个MOD时,突击兵快速电击的免费电击枪会触发自动装弹。将下面整行代码添加到XComAutoReload.ini即可解决:
+ExcludeAbilitiesFromAutomaticReload = (AbilityName = "ArcThrowerStun")
Iridar  [author] 9 Feb, 2024 @ 6:24pm 
I recommend using Overwatch All/Others.
Kiyohime 9 Feb, 2024 @ 4:38pm 
safe to use with smart overwatch mod?
V ! P 11 Jan, 2024 @ 11:49am 
hey how do i exclude arc pulser in LWotC? i add this line but is not working.. +ExcludeAbilitiesFromAutomaticReload = (AbilityName = "LW2WotC_ArcPulser")
different name?

there is something wrong when u use it with Quick Zap ability