Dod control point master: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 6: Line 6:


==Keyvalues==
==Keyvalues==
 
* {{kv enabledisable}}
* '''point_give_delay_time'''
* '''point_give_delay_time'''
: <integer> Time between point gives ( seconds )
: <integer> Time between point gives ( seconds )
Line 32: Line 32:


==Inputs ==
==Inputs ==
 
* {{i enabledisable}}
* '''RoundInit'''
* '''RoundInit'''
: Re initializes the round
: Re initializes the round
Line 39: Line 39:
: Restarts the round
: Restarts the round


* '''SetTeam <integer> (from TeamNum class)'''
* '''SetTeam <choices>'''
: Used for the filtering of this entity (0=none 2=allies 3=axis)
: Used for the filtering of this entity
:{|
! Literal Value || Description
|-
| 0 || No
|-
| 2 || Allies
|-
| 3 || Axis
|}


==Outputs==
==Outputs==
Line 49: Line 58:
* '''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.
==See Also==
* [[List_of_DoD:S_entities|List of DoD:S entities]]


[[Category:Day of Defeat: Source Entities]]
[[Category:Day of Defeat: Source Entities]]
[[Category:Entities]]
[[Category:Entities]]
[[Category:Level Design]]
[[Category:Level Design]]

Revision as of 20:03, 20 April 2006

Template:Wrongtitle

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

<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

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.