Level Editor/Scripting/Client HUD: Difference between revisions

Level Editor: client HUD scripting guide
 
American spelling
 
Line 29: Line 29:
=== team_score ===
=== team_score ===


Every team's value of one team counter, side by side in team order, followed by the goal. Teams 1 and 2 have their own colours.
Every team's value of one team counter, side by side in team order, followed by the goal. Teams 1 and 2 have their own colors.


* <code>counter</code>: the team counter to show.
* <code>counter</code>: the team counter to show.
Line 65: Line 65:
=== boss_health ===
=== boss_health ===


Two bars for a two-team boss mode: the player's own team's boss on the left, the enemy's on the right, each in its team's colour, with the share it has left. A boss at 0 shows SLAIN. A player on no team sees team 1 on the left, with the teams' names on the bars.
Two bars for a two-team boss mode: the player's own team's boss on the left, the enemy's on the right, each in its team's color, with the share it has left. A boss at 0 shows SLAIN. A player on no team sees team 1 on the left, with the teams' names on the bars.


* <code>counter</code>: a team counter holding each team's boss's health, from 0 (dead) to <code>scale</code>, keyed by the team the boss belongs to.
* <code>counter</code>: a team counter holding each team's boss's health, from 0 (dead) to <code>scale</code>, keyed by the team the boss belongs to.