Dod control point (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Note:Custom4, Custom5, and Custom6 sprites are listed in
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{tabs|dod_control_point|goldsrc = 1|source = 1|main = source}} | ||
{{this is a|point|<!--sprite=1-->|name=dod_control_point|engine= | {{this is a|point entity|<!--sprite=1-->|name=dod_control_point|engine=GoldSrc|game=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 {{ent|dod_capture_area_(GoldSrc)|alt=dod_capture_area}}. | ||
==Key Values== | ==Key Values== | ||
Line 38: | Line 38: | ||
{{KV|Sound Made when point resets|intn=point_resetsound|sound|Path to the *.wav sound that is played when the flag is reset, end of the round.}} | {{KV|Sound Made when point resets|intn=point_resetsound|sound|Path to the *.wav sound that is played when the flag is reset, end of the round.}} | ||
{{KV|Model when allies capture|intn=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".}} | {{KV|Model when allies capture|intn=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".}} | ||
{{KV|Allies model bodygroup|intn=allies_model_bodygroup|int|}} | |||
{{KV|Model when axis capture|intn=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".}} | {{KV|Model when axis capture|intn=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".}} | ||
{{KV|Axis model bodygroup|intn=axis_model_bodygroup|int|}} | |||
{{KV|Model when point reset|intn=point_reset_model|string|Path to the Flag model that is shown when the control point is reset. By default: "models/w_wflag.mdl".}} | {{KV|Model when point reset|intn=point_reset_model|string|Path to the Flag model that is shown when the control point is reset. By default: "models/w_wflag.mdl".}} | ||
{{KV|Reset model bodygroup|intn=point_reset_model_bodygroup|int|}} | {{KV|Reset model bodygroup|intn=point_reset_model_bodygroup|int|}} | ||
{{KV|Hud icon when no one owns point|intn=point_hud_icon_neutral|choices|Choose a Neutral HUD Icon from the list. Displayed in the top left hand side of the screen.}} | {{KV|Hud icon when no one owns point|intn=point_hud_icon_neutral|choices|Choose a Neutral HUD Icon from the list. Displayed in the top left hand side of the screen.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description || Sprite path | ||
|- | |- | ||
| 0 || Neutral Flag | | 0 || Neutral Flag || {{file|sprites/obj_icons/icon_obj_neutral|spr}} | ||
|- | |- | ||
| 3 || Neutral Artillery | | 3 || Neutral Artillery || {{file|sprites/obj_icons/icon_obj_88_neutral|spr}} | ||
|- | |- | ||
| 6 || Neutral Bridge | | 6 || Neutral Bridge || {{file|sprites/obj_icons/icon_obj_bridge_neutral|spr}} | ||
|- | |- | ||
| 9 || Neutral Radio | | 9 || Neutral Radio || {{file|sprites/obj_icons/icon_obj_radio_neutral|spr}} | ||
|- | |- | ||
| 12 || Neutral Docs | | 12 || Neutral Docs || {{file|sprites/obj_icons/icon_obj_docs_neutral|spr}} | ||
|- | |- | ||
| 15 || Neutral Truck | | 15 || Neutral Truck || {{file|sprites/obj_icons/icon_obj_truck_neutral|spr}} | ||
|- | |- | ||
| 18 || Neutral Custom1 | | 18 || Neutral Custom1 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom1_neutral|spr}} | ||
|- | |- | ||
| 21 || Neutral Custom2 | | 21 || Neutral Custom2 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom2_neutral|spr}} | ||
|- | |- | ||
| 24 || Neutral Custom3 | | 24 || Neutral Custom3 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom3_neutral|spr}} | ||
|} | |} | ||
{{KV|Hud icon when Axis owns point|intn=point_hud_icon_axis|choices|Choose an Axis HUD Icon from the list. Displayed in the top left hand side of the screen.}} | {{KV|Hud icon when Axis owns point|intn=point_hud_icon_axis|choices|Choose an Axis HUD Icon from the list. Displayed in the top left hand side of the screen.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description || Sprite path | ||
|- | |- | ||
| 2 || Axis Flag | | 2 || Axis Flag || {{file|sprites/obj_icons/icon_obj_axis|spr}} | ||
|- | |- | ||
| 5 || Axis Artillery | | 5 || Axis Artillery || {{file|sprites/obj_icons/icon_obj_88_axis|spr}} | ||
|- | |- | ||
| 8 || Axis Bridge | | 8 || Axis Bridge || {{file|sprites/obj_icons/icon_obj_bridge_axis|spr}} | ||
|- | |- | ||
| 11 || Axis Radio | | 11 || Axis Radio || {{file|sprites/obj_icons/icon_obj_bridge_axis|spr}} | ||
|- | |- | ||
| 14 || Axis Docs | | 14 || Axis Docs || {{file|sprites/obj_icons/icon_obj_docs_axis|spr}} | ||
|- | |- | ||
| 17 || Axis Truck | | 17 || Axis Truck || {{file|sprites/obj_icons/icon_obj_truck_axis|spr}} | ||
|- | |- | ||
| 20 || Axis Custom1 | | 20 || Axis Custom1 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom1_axis|spr}} | ||
|- | |- | ||
| 23 || Axis Custom2 | | 23 || Axis Custom2 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom2_axis|spr}} | ||
|- | |- | ||
| 26 || Axis Custom3 | | 26 || Axis Custom3 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom3_axis|spr}} | ||
|} | |} | ||
{{KV|Hud icon when Allies owns point|intn=point_hud_icon_allies|choices|Choose an Allies HUD Icon from the list. Displayed in the top left hand side of the screen.}} | {{KV|Hud icon when Allies owns point|intn=point_hud_icon_allies|choices|Choose an Allies HUD Icon from the list. Displayed in the top left hand side of the screen.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description || Sprite path | ||
|- | |- | ||
| 1 || Allies Flag | | 1 || Allies Flag || {{file|sprites/obj_icons/icon_obj_allies|spr}} | ||
|- | |- | ||
| 4 || Allies Artillery | | 4 || Allies Artillery || {{file|sprites/obj_icons/icon_obj_88_allies|spr}} | ||
|- | |- | ||
| 7 || Allies Bridge | | 7 || Allies Bridge || {{file|sprites/obj_icons/icon_obj_bridge_allies|spr}} | ||
|- | |- | ||
| 10 || Allies Radio | | 10 || Allies Radio || {{file|sprites/obj_icons/icon_obj_bridge_allies|spr}} | ||
|- | |- | ||
| 13 || Allies Docs | | 13 || Allies Docs || {{file|sprites/obj_icons/icon_obj_docs_allies|spr}} | ||
|- | |- | ||
| 16 || Allies Truck | | 16 || Allies Truck || {{file|sprites/obj_icons/icon_obj_truck_allies|spr}} | ||
|- | |- | ||
| 19 || Allies Custom1 | | 19 || Allies Custom1 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom1_allies|spr}} | ||
|- | |- | ||
| 21 || Allies Custom2 | | 21 || Allies Custom2 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom2_allies|spr}} | ||
|- | |- | ||
| 25 || Allies Custom3 | | 25 || Allies Custom3 || {{file|sprites/obj_icons/<mapname>/icon_obj_custom3_allies|spr}} | ||
|- | |- | ||
| 27 || British Flag | | 27 || British Flag || {{file|sprites/obj_icons/icon_obj_brit|spr}} | ||
|} | |} | ||
{{note|Custom4, Custom5, and Custom6 sprites are listed in {{file|cl_dlls\client|dll}} in the same manner as the other sprites, but do not seem to be usable{{confirm}}.}} | |||
{{KV|Target when allies capture|intn=point_allies_target|string|The "Target" that is started when the Allies capture the control point.}} | {{KV|Target when allies capture|intn=point_allies_target|string|The "Target" that is started when the Allies capture the control point.}} | ||
{{KV|Target when axis capture|intn=point_axis_target|string|The "Target" that is started when the Axis capture the control point.}} | {{KV|Target when axis capture|intn=point_axis_target|string|The "Target" that is started when the Axis capture the control point.}} |
Latest revision as of 20:32, 17 May 2024
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
- 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


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. If the master hasn't been activated, this entity will not activate.
- 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.