Feature #1244
Updated by skyjake about 11 years ago
This feature is intended to extend the Selector
mechanism of model definitions.
1. Game uses read-only (or runtime) cvars to store
information about the local player (health, armor,
current weapon, ammo, etc.)
2. Model def has a Condition key:
Condition = "player-health < "player-health < 50 AND player-armor > 50"; > 50";
3. The def is only used if the condition evaluates to true.
This is probably only applicable to the local player
(netgames!).
*Labels:* Customizability
mechanism of model definitions.
1. Game uses read-only (or runtime) cvars to store
information about the local player (health, armor,
current weapon, ammo, etc.)
2. Model def has a Condition key:
Condition = "player-health < "player-health < 50 AND player-armor > 50"; > 50";
3. The def is only used if the condition evaluates to true.
This is probably only applicable to the local player
(netgames!).
*Labels:* Customizability