Dod control point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
Line 33: Line 33:
* '''point_default_owner'''
* '''point_default_owner'''
: <choices> Default owner of the control point
: <choices> Default owner of the control point
: {|
{|
  | Value || Description
| Value || Description
  |-
|-
  | 0 || Neither/Neutral
| 0 || Neither/Neutral
  |-
|-
  | 2 || Allies
| 2 || Allies
  |-
|-
  | 3 || Axis
| 3 || Axis
  |}
|}


==Inputs ==
==Inputs ==

Revision as of 19:47, 7 March 2006

Template:Wrongtitle

Entity Description

This entity is usually represented visually by a flag (but is not required). In turn it represents a capturable location within the map.

Keyvalues

  • spawnflags
<flags> Hide Control Point on HUD
  • point_name
<string> Control Point Name when referred to
  • point_printname
<string> Flag name displayed when captured, printed on the hud.
  • point_pointvalue
<integer> Time based points value
  • point_points_for_cap
<integer> Points given to capturer
  • point_team_points
<integer> Points given to team
  • point_timedpoints_allies
<integer> Points given to allies as they own this flag over time
  • point_timedpoints_axis
<integer> Points given to axis as they own this flag over time
  • point_default_owner
<choices> Default owner of the control point
Value Description
0 Neither/Neutral
2 Allies
3 Axis

Inputs

  • RoundInit
Re initializes the round
  • RoundStart
Restarts the round
  • SetTeam <integer> (from TeamNum class)
Used for the filtering of this entity (0=none 2=allies 3=axis)

Outputs

  • OnAlliesWin
trigger when the allies win... used for playing victory songs if you wish.
  • OnAxisWin
trigger when the axis win... used for playing victory songs if you wish.

See Also