Dod control point master: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (Fix KVs and I/Os) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{tabs|dod_control_point_master|goldsrc = 1|source = 1|main = source}} | {{tabs|dod_control_point_master|goldsrc = 1|source = 1|main = source}} | ||
{{this is a|point|name=dod_control_point_master|game=Day of Defeat: Source}} | {{this is a|point entity|name=dod_control_point_master|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. |
Revision as of 17:08, 17 May 2024
dod_control_point_master
is a point entity available in 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.
Key Values
- Use round timer? (cpm_use_timer) <boolean>
- Round timer length in seconds (cpm_timer_length) <integer>
- Which team wins when timer expires (cpm_timer_team) <choices>
Literal Value Description 0 No 2 Allies 3 Axis
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- AddTimerSeconds <integer >
- Add seconds to the duration of the round timer
- RoundInit
- Re initializes the round. !FGD
- RoundStart
- Restarts the round. !FGD
Outputs
- OnAlliesWin
- Fires when the Allies win.
- OnAxisWin
- Fires when the Axis win.
Note:Should not be used for victory music, as it will be overlaid over the vanilla music. The default soundscripts should be overridden using
maps/<mapname>_sounds.txt
instead.