Dod bomb target: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) (→Key Values: can't have a team agnostic bomb target, seems like) |
||
Line 8: | Line 8: | ||
{{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|Bombing Team|intn=bombing_team|integer choices|The team that will be placing a bomb at this point.}} | {{KV|Bombing Team|intn=bombing_team|integer choices|The team that will be placing a bomb at this point. Defaults to Allies if absent or set to 0.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
!| Value || Description | !| Value || Description | ||
|- | |- | ||
| 2 || | | 2 || Allies | ||
|- | |- | ||
| 3 || | | 3 || Axis | ||
|} | |} | ||
{{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 12:18, 18 March 2025
![]() |
---|
CDODBombTarget |
![]() |
dod_bomb_target
is a point entity available in Day of Defeat: Source.
This entity represents a detonation location within the map. It is shown visually by a
models/weapons/w_tnt.mdl
, models/weapons/w_tnt_red.mdl
, and models/weapons/w_tnt_grey.mdl
, depending upon the status of this entity. A player must be carrying a weapon_basebomb to plant here.
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
ortarget
).
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 the
Enable
input).
- 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. Defaults to Allies if absent or set to 0.
Value Description 2 Allies 3 Axis
- Add To Timer (sec) (add_timer_seconds) <integer>
- Adds selected time to the Map timer if bombed.
CBaseAnimating:
Shadow:
|
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnBombExploded
- Fired when the bomb explodes.
- OnBombPlanted
- Fired when a bomb is planted.
- OnBombDefused
- Fired when a bomb is defused.
- OnBombTargetActivated
- Fired when this entity receives the enable input.
- OnBombTargetDeactivated
- Fired when this entity receives the disable input.