summaryrefslogtreecommitdiffstats
path: root/CONTEXT.md
diff options
context:
space:
mode:
Diffstat (limited to 'CONTEXT.md')
-rw-r--r--CONTEXT.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/CONTEXT.md b/CONTEXT.md
index 1d365e8..741050d 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -174,6 +174,15 @@ vocabulary / decisions.
174- Bugbait-controlled antlions are also treated as friendly when their server 174- Bugbait-controlled antlions are also treated as friendly when their server
175 `m_hFollowTarget` is set, covering antlions that spawned before the global 175 `m_hFollowTarget` is set, covering antlions that spawned before the global
176 `antlion_allied` state changed. 176 `antlion_allied` state changed.
177- Stock NPCs have no `m_Relationship` rows at all: their disposition comes from
178 the global `CHL2GameRules::InitDefaultRelationships()` table indexed by
179 `Classify()` (e.g. `CLASS_PLAYER_ALLY -> D_LI`, `CLASS_HEADCRAB -> D_HT`).
180 That table is not stored per entity, so `relation=-1` is normal and the
181 model heuristic is the fallback for those NPCs (Kleiner, Combine, ...).
182- `m_NPCState` (`FIELD_INTEGER`, server datamap) is read as well:
183 `NPC_STATE_SCRIPT` (4) marks scripted/passive actors as neutral, so they are
184 not aimbot targets and draw with the neutral colour. Lamarr
185 (`models/Lamarr.mdl`) is additionally listed as neutral by model.
177 186
178## Bones / ESP 187## Bones / ESP
179 188