Dod bomb target: Difference between revisions
Jump to navigation
Jump to search
Note:When the bomb explodes, the entity deactivates and EF_NODRAW is added to hide the model.
SirYodaJedi (talk | contribs) (Does not kill itself.) |
SirYodaJedi (talk | contribs) (→Key Values: doesn't have to be tied to an objective) |
||
Line 8: | Line 8: | ||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{KV Angles}} | {{KV Angles}} | ||
{{KV|Target | {{KV|Target Control Point|intn=target_control_point|target_destination|Control point which the entity captures, or helps capture, when detonated. Can be omitted if this is not tied to an objective.}} | ||
{{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.}} | {{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 |
Revision as of 13:46, 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 Control Point (target_control_point) <targetname>
- Control point which the entity captures, or helps capture, when detonated. Can be omitted if this is not tied to an objective.
- 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.