info_doddetect

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CDODDetect
CBaseEntity
dod/dod_gamerules.h

info_doddetect is a point entity available in Day of Defeat: Source Day of Defeat: Source.

It establishes the game rules on your map. This entity controls the respawn time for each team, and also tells whether each team is supposed to attack or defend on scenario maps (the voice that yells at the beginning of the round).

Icon-Bug.pngBug:This is supposed to be a preserved entity, but s_PreserveEnts looks for info_dod_detect instead.
Confirm:Is there a way to emulate preserving it?

Key Values

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Allies Respawn delay factor (detect_allies_respawnfactor) <float>
Respawn delay of the Allied team.
Axis Respawn delay factor (detect_axis_respawnfactor) <float>
Respawn delay of the Axis team.
Start round command for Allies (detect_allies_startroundvoice) <integer choices>
Soundscript broadcast to Allied players at the beginning of the round.
Literal Value Description Soundscript
0 Attack Voice.US_ObjectivesAttack
1 Defend Voice.US_ObjectivesDefend
2 Beach Voice.US_Beach
3 Timed Attack Voice.US_ObjectivesAttackTimed
4 Timed Defend Voice.US_ObjectivesDefendTimed
5 Flags Voice.US_Flags
Start round command for Axis (detect_axis_startroundvoice) <integer choices>
Soundscript broadcast to Axis players at the beginning of the round.
Literal Value Description Soundscript
0 Attack Voice.German_ObjectivesAttack
1 Defend Voice.German_ObjectivesDefend
2 Beach Voice.German_Beach
3 Timed Attack Voice.German_ObjectivesAttackTimed
4 Timed Defend Voice.German_ObjectivesDefendTimed
5 Flags Voice.German_Flags
Note.pngNote:If detect_axis_startroundvoice or detect_allies_startroundvoice are set to invalid values, they default to their respective "Flags" soundscript.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.