info_doddetect

From Valve Developer Community
Revision as of 13:56, 12 April 2025 by SirYodaJedi (talk | contribs) (→‎Key Values: respawn factor can't be used to simulate permadeath on a timed map, unfortunately.)
Jump to navigation Jump to search
C++ Class hierarchy
CDODDetect
CBaseEntity
C++ 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 multiplier for the Allied team.
Axis Respawn delay factor (detect_axis_respawnfactor) <float>
Respawn delay multiplier for the Allied team.
Note.pngNote:Regardless of what respawn factor is used, the respawn delay will not go below 5 seconds or above 20 seconds.
The delay will be higher for larger team sizes, and will be lower for smaller team sizes. The delay will be higher if the team has lost their starting control points, and lower if they've captured new control points.
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.