diff options
Diffstat (limited to 'CONTEXT.md')
| -rw-r--r-- | CONTEXT.md | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -148,6 +148,19 @@ vocabulary / decisions. | |||
| 148 | `rename()`d over the real file. A failed write raises an error toast. | 148 | `rename()`d over the real file. A failed write raises an error toast. |
| 149 | 149 | ||
| 150 | 150 | ||
| 151 | ## NPC friendliness | ||
| 152 | |||
| 153 | - ESP colours, aimbot/silent-aim/melee target filtering use the server AI | ||
| 154 | relationship (`m_Relationship` CUtlVector) against the local player: | ||
| 155 | entity-specific rows first, then the CLASS_PLAYER class row. D_LI is | ||
| 156 | friendly, D_NU neutral, D_HT/D_FR hostile. | ||
| 157 | - This makes map-scripted friendly turrets and other relationship overrides | ||
| 158 | dynamic instead of model-name guesses. When no row exists, the old model | ||
| 159 | heuristic is used. | ||
| 160 | - Bugbait-controlled antlions are also treated as friendly when their server | ||
| 161 | `m_hFollowTarget` is set, covering antlions that spawned before the global | ||
| 162 | `antlion_allied` state changed. | ||
| 163 | |||
| 151 | ## Bones / ESP | 164 | ## Bones / ESP |
| 152 | 165 | ||
| 153 | - `SetupBones(BONE_USED_BY_ANYTHING)` with engine `Time()`; studio header via | 166 | - `SetupBones(BONE_USED_BY_ANYTHING)` with engine `Time()`; studio header via |
