Dod bomb target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(cleanup)
Line 1: Line 1:
{{dods point|dod_bomb_target}}
{{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|150px|Picture of the dod_bomb_target Entity in Hammer.]]
==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==
==Keyvalues==
{{KV EnableDisable}}
{{KV Angles}}
{{KV|Target CP|target_destination|Target Control point - Control point which the entity captures, or helps capture, when detonated-}}


* '''targetname'''
{{KV|Name|string|Name given to the entity.}}
: <string> Name given to the entity


* '''bombing_team'''
{{KV|Bombing Team|choices|The team that will be placing a bomb at this point.}}
: <choices> The team that will be placing a bomb at this point
:{| class=standard-table
:{| class=standard-table
!| Value || Description
!| Value || Description
|-
|-
| 1 || Both
| 1 || U.S. Army
|-
|-
| 2 || Allies
| 2 || Wehrmacht
|-
| 3 || Axis
|}
|}


* '''target_control_point'''
{{KV|Add To Timer <nowiki>(sec)</nowiki>|int|Adds selected time to the Map timer if bombed.}}
: <target_destination> Control point which the entity captures, or helps capture, when detonated
 
* {{KV EnableDisable}}
 
* {{KV Angles}}


==Inputs ==
==Inputs ==
* {{I EnableDisable}}
{{I EnableDisable}}


==Outputs==
==Outputs==
* '''OnBombExploded'''
{{IO|OnBombExploded|Sent when the bomb explodes.|}}
: Sent when the bomb explodes
 
* '''OnBombPlanted'''
: Sent when a bomb is planted


* '''OnBombDefused'''
{{IO|OnBombPlanted|Sent when a bomb is planted.|}}
: Sent when a bomb is defused


* '''OnKillPlanter'''
{{IO|OnBombDefused|Sent when a bomb is defused.|}}
: Sent when a player who is planting a bomb dies {{note|May not work}}


* '''OnKillDefuser'''
{{IO|OnKillPlanter|Sent when a player who is planting a bomb dies {{note|May not work}}.|}}
: Sent when a player who is defusing a bomb dies {{note|May not work}}


==See Also==
{{IO|OnKillDefuser|Sent when a player who is defusing a bomb dies {{note|May not work}}.|}}


==See also==
* [[List of DoD:S entities]]
* [[List of DoD:S entities]]

Revision as of 12:58, 6 February 2012

Template:Dods point

Picture of the dod_bomb_target Entity in Hammer.

Entity description

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

Keyvalues

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
.

See also