Dod control point master: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 29: Line 29:
: <boolean> Timed Map?
: <boolean> Timed Map?


==Flags - Omit if none exist==
==Inputs - Omit if none exist==


* Integer value : Flag Name
* '''RoundInit'''
: Omittable Description
: Re initializes the round


* Integer value : Flag Name
* '''RoundStart'''
: Omittable Description
: Restarts the round
 
==Inputs - Omit if none exist==


* '''Intput Name'''
* '''TeamNum <integer>'''
: Replace this with a description of the Input.
: Used for the filtering of this entity (0=none 2=allies 3=axis)


* {{i targetname}}
* '''SetTeam <integer>'''
: Used for the filtering of this entity (0=none 2=allies 3=axis)


* {{i parentname}}
* '''SetOwner <integer>'''
: Used for the filtering of this entity (0=none 2=allies 3=axis)


==Outputs - Omit if none exist==
==Outputs - Omit if none exist==


* '''Output Name'''
* '''OnAlliesWin'''
: Omittable Description
: trigger when the allies win... used for playing victory songs if you wish.


* {{i targetname}}
* '''OnAxisWin'''
: trigger when the axis win... used for playing victory songs if you wish.


==See Also==
==See Also==


* Add links to related articles, entities, or tutorials here.
* [[Assaults]] - appropriate links to tutorials, related articles and entities etc.
* [[ambient_generic]]
* [[trigger_auto]]


[[Category:Entities]]
[[Category:Entities]]

Revision as of 16:30, 7 March 2006

Entity Description

This entity controls and checks the status of the control points on the map to determine a winner. Also allows for a timed map to be set up that allows for one team or the other to win after a certain amount of time. This will even show a timer countdown box in the upper left corner of the HUD.

Keyvalues

  • point_give_delay_time
<integer> Time between point gives ( seconds )
  • cpm_group
<string> Group Name
  • cpm_use_timer
<boolean> Use round timer?
  • cpm_timer_team
<choices> Which team wins when timer expires
Literal Value Description
0 No
2 Allies
3 Axis
  • cpm_use_timer
<boolean> Timed Map?

Inputs - Omit if none exist

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

Outputs - Omit if none exist

  • 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