Dod control point master: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(→‎Outputs: no, don't)
Line 36: Line 36:


==Outputs==
==Outputs==
{{IO|OnAlliesWin|Fires when the allies win... used for playing victory songs if you wish.}}
{{IO|OnAlliesWin|Fires when the Allies win.}}
{{IO|OnAxisWin|Fires when the axis win... used for playing victory songs if you wish.}}
{{IO|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|soundscript]] should be overridden using {{file|maps/<mapname>_sounds|txt}}]] instead.}}

Revision as of 14:20, 22 January 2024

dod_control_point is a point available in Day of Defeat: Source 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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
point_give_delay_time ([todo internal name (i)]) <integer>
Time between point gives ( seconds ).
cpm_group ([todo internal name (i)]) <string>
Group Name.
cpm_use_timer ([todo internal name (i)]) <boolean>
Use round timer?
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.
OnAxisWin
Fires when the Axis win.
Note.pngNote:Should not be used for victory music, as it will be overlaid over the vanilla music. The default soundscript should be overridden using 🖿maps/<mapname>_sounds.txt]] instead.