diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-03 22:53:05 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-03 22:53:05 +0100 |
| commit | 094ce7621e920276dc0e658cd43ca73db848f2f3 (patch) | |
| tree | 5c191fe2aa69fb7d59229c19091f12dfe208ce56 /src/config_table.cpp | |
| parent | Fix undefined fullbright symbols; link with --no-undefined (diff) | |
| download | hl2h-094ce7621e920276dc0e658cd43ca73db848f2f3.tar.gz hl2h-094ce7621e920276dc0e658cd43ca73db848f2f3.zip | |
AI: use server relationships to classify NPC friendliness
- Read the server NPC's m_Relationship CUtlVector (entity row for the local
player first, then the CLASS_PLAYER row): D_LI friendly, D_NU neutral,
D_HT/D_FR hostile.
- Use it for ESP colours and aimbot/silent-aim/melee target filtering, with
the existing model heuristic as a fallback.
- Treat bugbait-controlled antlions as friendly when their server
m_hFollowTarget is set.
- Resolve m_Relationship/m_hFollowTarget datamap offsets and log them.
Diffstat (limited to 'src/config_table.cpp')
0 files changed, 0 insertions, 0 deletions
