These values can be used for the item `ownerdrawflag' field, to control the appearance of an `ownerdraw' content depending on an engine-dependent value. A ``false'' result causes the item to remain invisible, while a ``true'' result procedes with drawing the content. These ownerdrawFlag values are used for the cgame menu, aka Heads-Up Display (HUD). For convenience, the condition for a true result is listed, while false is assumed if the listed condition is not met. The description can be prefixed with ``Draw this when/if...'' to help clear up confusion.
... blue team has the red flag.
... red team has the blue flag.
... in a team-based game mode (TDM, 1CTF, 2CTF, etc.)
... in Harvester game mode only.
... in One-flag CTF game mode only.
... in Two-flag (traditional) CTF game mode only.
... in Obelisk (Overload?) game mode.
... health is critically low (<25). Default HUD uses this to make the health HUD flash on low health.
... in Single-Player game (as opposed to a networked game).
... in Tournament game mode only.
... a radio message comes in (Q3TA-style voice command/chat).
... player has the flag. This is useful for showing a special icon only when the player him/herself has the flag.
... in Networked game (as opposed to single-player or local multiplayer [bots]). The lagometer is an example of where this is meaningful.
... mine(s) has been placed (TA-style mines).
... health is OK, i.e. non-critical (>25).
... Team Info is being selected/shown (teammate is not selected).
XXX need section on selectedplayer information
... Team Info is not being selected/shown (teammate is selected).
XXX again, need section on selectedplayer
... other team has the/your flag (CTF, one-flag).
... your team as the/their flag (CTF, one-flag).
... in any non-team-based games (FFA, tournament, etc.).
... this flag is something of an anomaly, since it instructs the menu system to do something, rather than requesting a value.
It causes the ownerdraw item to be drawn in 2D form, instead of 3D, as if simpleItems were turned on.
Multiple ownerdrawFlags may be listed, with the effects being combined inclusively (boolean "OR" operation).
XXX need example.