This article's documentation is for the "GoldSrc" engine. Click here for more information.

dod_capture_area

From Valve Developer Community
Jump to: navigation, search

dod_capture_area is a brush entity available in Day of Defeat Day of Defeat.

This entity gives access to a new style of team play. A number of players from each teams must reach the dod_capture_area and hold it for a period of time.

Key Values

Targetname:

Name (targetname) <targetname>
The targetname that other entities refer to this entity by.
Target (target) <targetname>
Enter a name of a "dod_control_point" entity (Flag). This is not like a normal flag. No player has to capture the flag (touch it). It is used to indicate who has control of the area and what points will be given. If the team that is trying to capture the area are successful, then after a set amount of time (see "area_time_to_cap option" below) the flag will change.
Can Allies Cap? (area_allies_cancap) <choices>
If option is on "Yes", the Allies can capture the point and Axis can stop (break) the capture.
Value Description
0 Yes
1 No
Can Axis Cap? (area_axis_cancap) <choices>
If option is on "Yes", the Axis can capture the point and Allie can stop (break) the capture.
Value Description
0 Yes
1 No
Number of Allies to cap (area_allies_numcap) <integer>
This option determines the number of Allied soldiers necessary in the dod_capture_area to capture the area.
Number of Axis to cap (area_axis_numcap) <integer>
This option determines the number of Axis soldiers necessary in the dod_capture_area to capture the area.
Time to cap (sec) (area_time_to_cap) <integer>
This is the time, in seconds, needed to capture the area.
Target when allies start capture (area_allies_startcap) <string>
This is the "Target" started when the Allies begin to capture the area.
Target when allies cap is broken (area_allies_breakcap) <string>
This is the "Target" started when Allies capture of the area is broken by the Axis.
Tagret when allies capture complete capture (area_allies_endcap) <string>
This is the "Target" started when the Allies capture the area.
Target when axis start capture (area_axis_startcap) <string>
This is the "Target" started when the Axis begin to capture the area.
Target when axis cap is broken (area_axis_breakcap) <string>
This is the "Target" started when Axis capture of the area is broken by the Allies.
Tagret when axis capture complete capture (area_axi9s_endcap) <string>
This is the "Target" started when the Axis capture the area.
Sprite to show on HUD (area_hud_sprite) <sprite>
Path to the HUD sprite displayed when a player enters the area to be captured.
Requires Object from this group (area_object_group) <string>

Flags

  •  [1] : Last man Cap !FGD
       This allows the last player on the team to capture an area that would require more than one player.
Note.pngNote:This requires info_doddetect infinite respawns, for the team, set to "No". This is not in the standard DoD fgd file.