Dod bomb target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{dods point|dod_bomb_target}}
[[File:Detonation_bomb.PNG|thumb|right|250px|Picture of the dod_bomb_target Entity in Hammer.]]
[[File:Detonation_bomb.PNG|thumb|right|250px|Picture of the dod_bomb_target Entity in Hammer.]]
{{entity|dod_bomb_target|type=e2|game=Day of Defeat: Source}}


==Entity description==
This entity represents a detonation location within the map. It is shown visually by a grey or yellow outline of [[weapon_basebomb]].
This entity represents a detonation location within the map. It is shown visually by a grey or yellow outline of [[weapon_basebomb]].


==Keyvalues==
==Key Values==
{{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|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|string|Name given to the entity.}}
{{KV|Bombing Team|choices|The team that will be placing a bomb at this point.}}
{{KV|Bombing Team|choices|The team that will be placing a bomb at this point.}}
:{| class=standard-table
:{| class=standard-table
Line 22: Line 17:
| 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>|int|Adds selected time to the Map timer if bombed.}}


Line 30: Line 24:
==Outputs==
==Outputs==
{{IO|OnBombExploded|Sent when the bomb explodes.|}}
{{IO|OnBombExploded|Sent when the bomb explodes.|}}
{{IO|OnBombPlanted|Sent when a bomb is planted.|}}
{{IO|OnBombPlanted|Sent when a bomb is planted.|}}
{{IO|OnBombDefused|Sent when a bomb is defused.|}}
{{IO|OnBombDefused|Sent when a bomb is defused.|}}
{{IO|OnKillPlanter|Sent when a player who is planting a bomb dies. {{note|May not work}}|}}
{{IO|OnKillPlanter|Sent when a player who is planting a bomb dies. {{note|May not work}}|}}
{{IO|OnKillDefuser|Sent when a player who is defusing a bomb dies. {{note|May not work}}|}}
{{IO|OnKillDefuser|Sent when a player who is defusing a bomb dies. {{note|May not work}}|}}
==See also==
* [[List of DoD:S entities]]

Revision as of 23:40, 17 August 2023

Picture of the dod_bomb_target Entity in Hammer.

Template:Entity

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 ([todo internal name (i)]) <targetname>
Target Control point - Control point which the entity captures, or helps capture, when detonated-
Name ([todo internal name (i)]) <string>
Name given to the entity.
Bombing Team ([todo internal name (i)]) <choices>
The team that will be placing a bomb at this point.
Value Description
1 U.S. Army
2 Wehrmacht
Add To Timer (sec) ([todo internal name (i)]) <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