Dod bomb target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 6: Line 6:
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV Angles}}
{{KV Angles}}
{{KV|Target CP|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|string|Name given to the entity.}}
{{KV|Name|intn=targetname|string|Name given to the entity.}}
{{KV|Bombing Team|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
Line 16: Line 16:
| 2 || Wehrmacht
| 2 || Wehrmacht
|}
|}
{{KV|Add To Timer <nowiki>(sec)</nowiki>|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.}}


==Inputs ==
==Inputs ==

Revision as of 07:44, 1 July 2024

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

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-
Name (targetname) <string>
Name given to the entity.
Bombing Team (bombing_team) <choices>
The team that will be placing a bomb at this point.
Value Description
1 U.S. Army
2 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.
OnKillPlanter
Sent when a player who is planting a bomb dies.
Note.pngNote:May not work
OnKillDefuser
Sent when a player who is defusing a bomb dies.
Note.pngNote:May not work