Dod control point master: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added EntityTabs Template. Made use of the IO & FL Templates.) |
||
Line 1: | Line 1: | ||
{{ | {{EntityTabs|dod_control_point|goldsrc = 1|source = 1|main = source}} | ||
{{entity|dod_control_point|type=point|game=Day of Defeat: Source}} | |||
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. | ||
== | ==Key Values== | ||
{{KV EnableDisable}} | |||
{{KV|point_give_delay_time|int|Time between point gives ( seconds ).}} | |||
{{KV|cpm_group|string|Group Name.}} | |||
{{KV|cpm_use_timer|boolean|Use round timer?}} | |||
{{KV|cpm_timer_team|choices|Which team wins when timer expires.}} | |||
:{| class=standard-table | :{| class=standard-table | ||
! Literal Value || Description | ! Literal Value || Description | ||
Line 28: | Line 21: | ||
==Inputs == | ==Inputs == | ||
{{I EnableDisable}} | |||
{{IO|RoundInit|Re initializes the round.}} | |||
{{IO|RoundStart|Restarts the round.}} | |||
{{IO|SetTeam <choices>|Used for the filtering of this entity.}} | |||
:{| class=standard-table | :{| class=standard-table | ||
! Literal Value || Description | ! Literal Value || Description | ||
Line 48: | Line 36: | ||
==Outputs== | ==Outputs== | ||
{{IO|OnAlliesWin|Fires when the allies win... used for playing victory songs if you wish.}} | |||
{{IO|OnAxisWin|Fires when the axis win... used for playing victory songs if you wish.}} | |||
Revision as of 23:23, 17 August 2023
Template:EntityTabs Template:Entity
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.
Key Values
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
- cpm_timer_team ([todo internal name (i)]) <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
- Fires when the allies win... used for playing victory songs if you wish.
- OnAxisWin
- Fires when the axis win... used for playing victory songs if you wish.