Dod control point master: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=dod_control_point_master}}
{{dods point|dod_control_point_master}}
{{point ent|{{{1|}}}|game=Day of Defeat: Source|icon=dods}}<includeonly>[[Category:Day of Defeat:SourceEntities]]</includeonly><noinclude>
 


==Entity Description==
==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.
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.


Line 51: Line 48:


==Outputs==
==Outputs==
* '''OnAlliesWin'''
* '''OnAlliesWin'''
: trigger when the allies win... used for playing victory songs if you wish.
: trigger when the allies win... used for playing victory songs if you wish.
Line 57: Line 53:
* '''OnAxisWin'''
* '''OnAxisWin'''
: trigger when the axis win... used for playing victory songs if you wish.
: trigger when the axis win... used for playing victory songs if you wish.
[[Category:Day of Defeat: Source Entities]]
[[Category:Entities]]
[[Category:Level Design]]

Revision as of 11:17, 24 April 2011

Template:Dods point

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • 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

Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • RoundInit
Re initializes the round
  • RoundStart
Restarts the round
  • SetTeam <choices>
Used for the filtering of this entity
Literal Value Description
0 No
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.