info_doddetect

From Valve Developer Community
Jump to: navigation, search

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

This entity defines the DoD Game rules and is used to set things like the new Paratrooper class and respawn of teams.

Key Values

Master (master) <string>
Name of a master entity.
Give Allied team infinite respawns (detect_allies_infinite) <choices>
If this option is "Yes" then Allies can respawn when killed.
Value Description
0 Yes
1 No
Give Axis team infinite respawns (detect_axis_infinite) <choices>
If this option is "Yes" then Axis can respawn when killed.
Value Description
0 Yes
1 No
Make Allies team Paratroopers (detect_allies_paras) <choices>
If this option is "Yes" then Allies will spawn as paratroopers.
Value Description
0 Yes
1 No
Make Axis team Paratroopers (detect_axis_paras) <choices>
If this option is "Yes" then Axis will spawn as paratroopers.
Value Description
0 Yes
1 No
Country for Allied team (detect_allies_country) <choices>
Changes what Soldiers will spawn at the allied spawnpoints.
Value Description
0 United States
1 British
Points given for wiping out Axis team (detect_points_axiseliminated) <integer>
This option sets the number of points at the end of the round, if the Axis kill all of the Allied team. Only useful if detect_allies_infinite is set to "No".
Points given for wiping out Allies team (detect_points_allieseliminated) <integer>
This option sets the number of points at the end of the round, if the Allies kill all of the Axis team. Only useful if detect_xis_infinite is set to "No".
Target when allies are eliminated (detect_target_allieseliminated) <string>
If detect_allies_infinite is set to "No" then this can be used to Target an event.
Target when axis are eliminated (detect_target_axiseliminated) <string>
If detect_xis_infinite is set to "No" then this can be used to Target an event.
Use built-in timer? (detect_use_timer) <choices>
This allows you to use the info_doddetect's timer or DoD's own timer, dod_round_timer. When this is set to "No", you can use the dod_round_timer entity to set the length of the round and trigger events. If you do use the built in timer there seems to be no way of setting the round time, it defaults to 4 minutes.
Value Description
0 Yes
1 No
Target when the built-in timer expires (detect_target_timerexpired) <string>
If detect_use_timer is set to "Yes" then use this to Target an event when the timer reaches 0.
Which team wins when timer expires (detect_timer_team) <choices>
If detect_use_timer is set to "Yes" then use this to determine the winning team when the timer runs out.
Value Description
0 Both
1 Allied
2 Axis
Points given when timer expires (detect_points_timerexpired) <integer>
If detect_use_timer is set to "Yes" then use this to give points to the winning team when the timer runs out.
Allies Respawn delay factor (detect_allies_respawnfactor) <string>
Adjust the spawning rates for the Allies team, defaults to 1.0
Axis Respawn delay factor (detect_axis_respawnfactor) <string>
Adjust the spawning rates for the Axis team, defaults to 1.0
Wind X velocity (detect_wind_velocity_x) <string>
Adjust wind direction and speed on the X Axis, presumably affects weather and smoke FX
Wind Y velocity (detect_wind_velocity_y) <string>
Adjust wind direction and speed on the Y Axis, presumably affects weather and smoke FX
Weather Type (detect_weather_type) <choices>
Selects the weather on the map.
Value Description
0 None
1 Rain
2 Snow