diff options
Diffstat (limited to 'CONTEXT.md')
| -rw-r--r-- | CONTEXT.md | 15 |
1 files changed, 8 insertions, 7 deletions
| @@ -610,14 +610,15 @@ vocabulary / decisions. | |||
| 610 | - A world weapon whose type is already in the local player's inventory is | 610 | - A world weapon whose type is already in the local player's inventory is |
| 611 | reclassified as ammo (`SMG ammo`, `AR2 ammo`, ...). Owner handles are | 611 | reclassified as ammo (`SMG ammo`, `AR2 ammo`, ...). Owner handles are |
| 612 | unreliable on this client (`m_hOwnerEntity`/`m_hOwner` resolve to -1), so | 612 | unreliable on this client (`m_hOwnerEntity`/`m_hOwner` resolve to -1), so |
| 613 | the inventory is read directly from the local `m_hMyWeapons[48]` handle | 613 | the inventory is read from the authoritative server |
| 614 | array (and remembered active types as a fallback). NPC-held weapons are | 614 | `CBaseCombatCharacter::m_hMyWeapons[48]` array (client `m_hMyWeapons` and the |
| 615 | therefore ignored. Weapons the player does not own stay under the Weapons | 615 | remembered active weapon are fallbacks). NPC-held weapons are ignored. |
| 616 | category. | 616 | Weapons the player does not own stay under the Weapons category. |
| 617 | - Ammo pickups also honour "Only if usable": the reserve count from | 617 | - Ammo pickups also honour "Only if usable": the reserve count from |
| 618 | `m_iAmmo[type]` is compared with the `sk_max_*` cvar (stock caps as fallback, | 618 | `m_iAmmo[type]` (client array when resolved, otherwise the server |
| 619 | e.g. RPG rockets = 3). Full ammo hides the pickup; if either value cannot | 619 | `CBaseCombatCharacter::m_iAmmo` array) is compared with the `sk_max_*` cvar |
| 620 | be read the item stays visible. | 620 | (stock caps as fallback, e.g. RPG rockets = 3). Full ammo hides the pickup; |
| 621 | if either value cannot be read the item stays visible. | ||
| 621 | - Scans the client entity list every 100 ms and tags health, ammo, armor/suit, | 622 | - Scans the client entity list every 100 ms and tags health, ammo, armor/suit, |
| 622 | world weapon pickups, the two supply-crate models and generic items. | 623 | world weapon pickups, the two supply-crate models and generic items. |
| 623 | - Each tag is a colored marker with a name and optional distance, filtered by | 624 | - Each tag is a colored marker with a name and optional distance, filtered by |
