abu_fixBritishForces

by abudabi
abu_fixBritishForces

Summary

Possible fix of british forces mod
1)Fixes Q/E lean turning in weapon up and down
2)Fixes sudden sprint disable on whole server

Description

Bug 1 - Lean: BF_CompassComponent.c:53 has operator precedence bug:
if(m_PrefabData.m_iCompassType == SCR_ECompassType.BASEPLATE || SCR_ECompassType.PRISMATIC && controller.GetInspect() == true)
Due to && binding tighter than ||, this evaluates as:
if(BASEPLATE || (PRISMATIC && inspect))
So when compass type is BASEPLATE, GadgetContextBaseplate activates every frame unconditionally, which can steal Q/E key events from lean input.
Bug 2 - Sprint: GadgetContextBaseplate has priority 40 with Flags 10 (high). When it overrides Q/E input handling, it can prevent the CharacterSprint action from being processed (Shift key doesn't reach sprint context).

License

Arma Public License (APL)

Rating
100%
Version
1.0.1
Game Version
1.6.0.119
Version size
1.29 KB
Downloads
1,791
Created
20.05.2026
Last Modified
20.05.2026
ID
69684C93780DD889

Dependencies