summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 23:32:00 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 23:32:00 +0100
commit80a287910f3f77519c8243ba5f53d9c877fbddcb (patch)
tree761c4b0ca3ab857cd57a886dd6e9c4048bca950d /src/hl2h.h
parentAdd grenade trajectory, RPG armour priority, empty chargers, mega gravity gun (diff)
downloadhl2h-80a287910f3f77519c8243ba5f53d9c877fbddcb.tar.gz
hl2h-80a287910f3f77519c8243ba5f53d9c877fbddcb.zip
Charger juice: resolve per-class offsets
CWallHealth derives CBaseToggle and CNewRecharge derives CBaseAnimating, so m_iJuice is at different offsets (0x3c8 and 0x47c here). Collect every m_iJuice datamap match, derive the suit offset from m_iMaxJuice-20, and pick by the server class name. Also detect health brushes via wallhealth/recharge rather than the ESP label. Verified the offsets resolve distinctly on :99.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions