Project

General

Profile

Feature #1244

Updated by skyjake over 10 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 < &quot;player-health &lt; 50 AND player-armor > 50"; &gt; 50&quot;;

3. The def is only used if the condition evaluates to true.

This is probably only applicable to the local player
(netgames!).

*Labels:* Customizability

Back