summaryrefslogtreecommitdiffstats
path: root/CONTEXT.md
diff options
context:
space:
mode:
Diffstat (limited to 'CONTEXT.md')
-rw-r--r--CONTEXT.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/CONTEXT.md b/CONTEXT.md
index 2199be6..7f8b131 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -188,6 +188,24 @@ vocabulary / decisions.
188 not aimbot targets and draw with the neutral colour. Lamarr 188 not aimbot targets and draw with the neutral colour. Lamarr
189 (`models/Lamarr.mdl`) is additionally listed as neutral by model. 189 (`models/Lamarr.mdl`) is additionally listed as neutral by model.
190 190
191## Damage classification
192
193- Every NPC is classified for ESP and target selection:
194 - `IMMUNE` — server `m_takedamage` is `DAMAGE_NO`/`DAMAGE_EVENTS_ONLY`.
195 - `ARMORED` — gunship, strider, dropship: their `OnTakeDamage` only accepts
196 blast damage (`DMG_BLAST`, with a damage threshold on gunships and a
197 distance check on striders). Only the RPG passes; bullets/grenades do not.
198 - `VULNERABLE` — headcrab, antlion, manhack: punting them with the gravity
199 gun / physics impact damage kills them.
200 - `NORMAL` — everything else.
201- ESP draws `ARMORED` (orange), `VULN` (cyan) or `IMMUNE` (grey) above the
202 name; toggle is `ESP → Damage tags` (`[esp] dmg=1`).
203- Aimbot/silent aim/triggerbot/melee skip `IMMUNE` targets always and
204 `ARMORED` targets unless the active weapon is the RPG
205 (`active_weapon_contains` for `rocket_launcher`/`rpg`).
206- Server `m_takedamage` (`FIELD_INTEGER`) is resolved alongside
207 `m_NPCState`; `0/1` means no damage.
208
191## Bones / ESP 209## Bones / ESP
192 210
193- `SetupBones(BONE_USED_BY_ANYTHING)` with engine `Time()`; studio header via 211- `SetupBones(BONE_USED_BY_ANYTHING)` with engine `Time()`; studio header via