Dod bomb target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Outputs: remove nonexistent outputs, and add missing ones)
(→‎Key Values: fix team enums; cleanup)
Line 4: Line 4:
{{clr}}
{{clr}}
==Key Values==
==Key Values==
{{KV Targetname}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV Angles}}
{{KV Angles}}
{{KV|Target CP|intn=target_control_point|target_destination|Target Control point - Control point which the entity captures, or helps capture, when detonated-}}
{{KV|Target CP|intn=target_control_point|target_destination|Target Control point - Control point which the entity captures, or helps capture, when detonated-}}
{{KV|Name|intn=targetname|string|Name given to the entity.}}
{{KV|Bombing Team|intn=bombing_team|integer choices|The team that will be placing a bomb at this point.}}
{{KV|Bombing Team|intn=bombing_team|choices|The team that will be placing a bomb at this point.}}
:{| class=standard-table
:{| class=standard-table
!| Value || Description
!| Value || Description
|-
|-
| 1 || U.S. Army
| 2 || U.S. Army
|-
|-
| 2 || Wehrmacht
| 3 || Wehrmacht
|}
|}
{{KV|Add To Timer <nowiki>(sec)</nowiki>|intn=add_timer_seconds|int|Adds selected time to the Map timer if bombed.}}
{{KV|Add To Timer <nowiki>(sec)</nowiki>|intn=add_timer_seconds|int|Adds selected time to the Map timer if bombed.}}

Revision as of 15:16, 13 March 2025

Picture of the dod_bomb_target Entity in Hammer.

dod_bomb_target is a brush entity available in Day of Defeat: Source Day of Defeat: Source. This entity represents a detonation location within the map. It is shown visually by a grey or yellow outline of weapon_basebomb.

Key Values

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Target CP (target_control_point) <targetname>
Target Control point - Control point which the entity captures, or helps capture, when detonated-
Bombing Team (bombing_team) <integer choices>
The team that will be placing a bomb at this point.
Value Description
2 U.S. Army
3 Wehrmacht
Add To Timer (sec) (add_timer_seconds) <integer>
Adds selected time to the Map timer if bombed.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

OnBombExploded
Sent when the bomb explodes.
OnBombPlanted
Sent when a bomb is planted.
OnBombDefused
Sent when a bomb is defused.
OnBombTargetActivated
OnBombTargetDeactivated