dod_control_point
dod_control_point
is a point entity available in Day of Defeat. In a game this entity is represented as a Flag. You can capture the flag by either touching the flag or it can be combined with a dod_capture_area
.
Key Values
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Control Point Name
(point_name)
<string> - Place name to print on HUD[confirm]; can be either a string literal or a reference to a localization string.
- Can Allies Touch This Point?
(point_can_allies_touch)
<choices> - If "Yes" Allies can capture the point.
Value Description 0 Yes 1 No
- Can Axis Touch This Point?
(point_can_axis_touch)
<choices> - If "Yes" Axis can capture the point.
Value Description 0 Yes 1 No
- Time based points value
(point_pointvalue)
<integer> - The number of points given when a set amount of time has past (associated with the dod_control_point_master).
- Points given to capturer
(point_points_for_cap)
<integer> - The number of points given to the player who captured the control point, flag.
- Points given to Team
(point_team_points)
<integer> - The number of points given to the team when captured the control point, flag.
- Default Owner of the control point
(point_default_owner)
<choices> - The owner the flag at the beginning of the round.
Value Description 0 Neither 1 Allies 2 Axis
- Sound Made when Axis captures
(point_axis_capsound)
<sound> - Path to the *.wav sound that is played when Axis captures the control point, flag.
- Sound Made when Allies captures
(point_allies_capsound)
<sound> - Path to the *.wav sound that is played when Allies captures the control point, flag.
- Sound Made when point resets
(point_resetsound)
<sound> - Path to the *.wav sound that is played when the flag is reset, end of the round.
- Model when allies capture
(point_allies_model)
<string> - Path to the Flag model that is shown when the Allies capture the control point. By default: "models/w_aflag.mdl".
- Allies model bodygroup
(allies_model_bodygroup)
<integer> - Model when axis capture
(point_axis_model)
<string> - Path to the Flag model that is shown when the Axis capture the control point. By default: "models/w_gflag.mdl".
- Axis model bodygroup
(axis_model_bodygroup)
<integer> - Model when point reset
(point_reset_model)
<string> - Path to the Flag model that is shown when the control point is reset. By default: "models/w_wflag.mdl".
- Reset model bodygroup
(point_reset_model_bodygroup)
<integer> - Hud icon when no one owns point
(point_hud_icon_neutral)
<choices> - Choose a Neutral HUD Icon from the list. Displayed in the top left hand side of the screen.
Value Description Sprite path 0 Neutral Flag sprites/obj_icons/icon_obj_neutral.spr
3 Neutral Artillery sprites/obj_icons/icon_obj_88_neutral.spr
6 Neutral Bridge sprites/obj_icons/icon_obj_bridge_neutral.spr
9 Neutral Radio sprites/obj_icons/icon_obj_radio_neutral.spr
12 Neutral Docs sprites/obj_icons/icon_obj_docs_neutral.spr
15 Neutral Truck sprites/obj_icons/icon_obj_truck_neutral.spr
18 Neutral Custom1 sprites/obj_icons/<mapname>/icon_obj_custom1_neutral.spr
21 Neutral Custom2 sprites/obj_icons/<mapname>/icon_obj_custom2_neutral.spr
24 Neutral Custom3 sprites/obj_icons/<mapname>/icon_obj_custom3_neutral.spr
- Hud icon when Axis owns point
(point_hud_icon_axis)
<choices> - Choose an Axis HUD Icon from the list. Displayed in the top left hand side of the screen.
Value Description Sprite path 2 Axis Flag sprites/obj_icons/icon_obj_axis.spr
5 Axis Artillery sprites/obj_icons/icon_obj_88_axis.spr
8 Axis Bridge sprites/obj_icons/icon_obj_bridge_axis.spr
11 Axis Radio sprites/obj_icons/icon_obj_bridge_axis.spr
14 Axis Docs sprites/obj_icons/icon_obj_docs_axis.spr
17 Axis Truck sprites/obj_icons/icon_obj_truck_axis.spr
20 Axis Custom1 sprites/obj_icons/<mapname>/icon_obj_custom1_axis.spr
23 Axis Custom2 sprites/obj_icons/<mapname>/icon_obj_custom2_axis.spr
26 Axis Custom3 sprites/obj_icons/<mapname>/icon_obj_custom3_axis.spr
- Hud icon when Allies owns point
(point_hud_icon_allies)
<choices> - Choose an Allies HUD Icon from the list. Displayed in the top left hand side of the screen.
Value Description Sprite path 1 Allies Flag sprites/obj_icons/icon_obj_allies.spr
4 Allies Artillery sprites/obj_icons/icon_obj_88_allies.spr
7 Allies Bridge sprites/obj_icons/icon_obj_bridge_allies.spr
10 Allies Radio sprites/obj_icons/icon_obj_bridge_allies.spr
13 Allies Docs sprites/obj_icons/icon_obj_docs_allies.spr
16 Allies Truck sprites/obj_icons/icon_obj_truck_allies.spr
19 Allies Custom1 sprites/obj_icons/<mapname>/icon_obj_custom1_allies.spr
21 Allies Custom2 sprites/obj_icons/<mapname>/icon_obj_custom2_allies.spr
25 Allies Custom3 sprites/obj_icons/<mapname>/icon_obj_custom3_allies.spr
27 British Flag sprites/obj_icons/icon_obj_brit.spr
Note:Custom4, Custom5, and Custom6 sprites are listed in
cl_dlls\client.dll
in the same manner as the other sprites, but do not seem to be usable[confirm].- Target when allies capture
(point_allies_target)
<string> - The "Target" that is started when the Allies capture the control point.
- Target when axis capture
(point_axis_target)
<string> - The "Target" that is started when the Axis capture the control point.
- Target when point reset
(point_reset_target)
<string> - The "Target" that is started when the control point is reset, end of the round.
- String to Show when capped (vars)
(point_win_string)
<string> - The text which is shown when a player captures the control point.
- By default: "%p captured the %n for the %t".
- Day of Defeat automatically replaces:
- %p = by the name of the player.
- %n = by the name of the control point.
- %t = by the team of the player.
- Group Name
(point_group)
<string> - The name of the group that the control point belongs to, this enables it to be controlled by a dod_control_point_master.
- Master
(master)
<targetname> - Name of a master entity.
- Index of this point (unique)
(point_index)
<integer> - The order in which the control point is displayed in the HUD.
- e.g. If you have 3 control points numbered 1,2 & 3:
- 1= Left
- 2=Middle
- 3=right
- -1 = default numbering
- Localized Allies Cap String
(point_allies_win_string)
<string> - Localized Axis Cap String
(point_axis_win_string)
<string>
Flags
Hide Control Point on HUD : [1]
- If un-ticked an icon will be shown on the HUD, in the top left hand side of the display giving the status of the control point, to all the players in the game.