diff options
Diffstat (limited to 'CONTEXT.md')
| -rw-r--r-- | CONTEXT.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -190,6 +190,12 @@ vocabulary / decisions. | |||
| 190 | client `m_hActiveWeapon` handle is used first; if it is missing, the | 190 | client `m_hActiveWeapon` handle is used first; if it is missing, the |
| 191 | authoritative server `m_hActiveWeapon` handle (0x824) is used to get the | 191 | authoritative server `m_hActiveWeapon` handle (0x824) is used to get the |
| 192 | weapon entity index. | 192 | weapon entity index. |
| 193 | - Map transitions often switch the active weapon away from the crowbar. The | ||
| 194 | state change is logged as `melee: active ... crowbar=0/1` (normal log), and | ||
| 195 | a one-time toast says to equip the crowbar. If the client weapon model is | ||
| 196 | missing/0, the server model index is used to recognize it. | ||
| 197 | - Bone caches and aim locks are cleared when the local player entity changes | ||
| 198 | (map load/respawn). | ||
| 193 | - Crowbar range is `CROWBAR_RANGE` 75 units from `Weapon_ShootPosition`. The | 199 | - Crowbar range is `CROWBAR_RANGE` 75 units from `Weapon_ShootPosition`. The |
| 194 | selector computes the closest point on each hostile NPC's AABB to the eye, | 200 | selector computes the closest point on each hostile NPC's AABB to the eye, |
| 195 | rejects anything farther than 75, sorts by that distance, and picks the | 201 | rejects anything farther than 75, sorts by that distance, and picks the |
