alp-ReloadUnlocked icon

ReloadUnlocked

Fire or ADS cancels a reload, and an aborted reload resets: hands, weapon and magazine go back to idle instead of finishing the reload animation.

By alp
Last updated 20 hours ago
Total downloads 21
Total rating 0 
Categories Client Mods AI Generated
Dependency string alp-ReloadUnlocked-4.3.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.4 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.4

README

ReloadUnlocked

Fire or ADS cancels a reload, and an aborted reload resets — hands, weapon and magazine go back to idle instead of finishing the reload animation. Aiming through a reload also works: the camera stays zoomed.

On a cancel

  1. StopAnimationSequenceCoroutine() + IsReloading = false — the reload stops and no ammo is granted. That trade is the point.
  2. Every first-person animator still playing a clip whose name contains reload (holder + FPS arms, all layers) is Rebind()-ed, i.e. put back on its default/idle state in the same frame. Measured on a rifle: 3 rigs (fp_weapon_animation_ref, PlayerCharacter_rig, Front_Rifle_1_GripAlign); on the R66: 4 rigs.

Config

BepInEx/config/ReloadUnlocked.cfg, read at plugin load — restart the game after editing.

Key Default What it does
FireCancelsReload true Fire aborts a reload
AimCancelsReload true ADS aborts a reload (false = aim through the reload instead)
KeepAimingWhileReloading true Camera stays zoomed while reloading
KeepAimingStrategy Both Trigger / ChangeState / Both — keep at Both (the zoom follows the FP state)
AimWeightNudge 0.9 Aim blend floor while reloading; 0 disables
SettleSeconds 0.25 Keep Aim pinned this long after a normal reload end (hand-over, avoids a Hip flicker)
OnlyBulletWeapons true Rifles/shotguns only
AnimResetMode RebindAll RebindAll = reset the rigs; Off = vanilla
MeasurePerformance false Log this mod's own per-frame cost
Verbose false Per-abort details (which rigs were rebound)

Known limitations

  • Staying aimed through a reload is camera-only: GTFO ships no aim-pose reload animation, so the weapon model still performs the hip reload motion while the camera is zoomed.
  • A few weapons (DREKKER DEL P1, HEL Rifle) visibly snap back at the end of a normal reload with aim held. That is vanilla behaviour (reproduced with 1.0.0 / mod disabled) — the per-weapon parts rig swaps its ..._Parts_Reload state for ..._Parts_Idle in one frame. Not addressed here.

Building

dotnet build -c Release                  # lean release build (no diagnostics sampler)
dotnet build -c Release -p:Trace=true    # diagnostic build with the [trace] sampler
dotnet build -c Release -p:Deploy=true   # also copy the dll into the loaded profile