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) (→Key Values: can't have a team agnostic bomb target, seems like) |
SirYodaJedi (talk | contribs) (Does not kill itself.) |
||
Line 3: | Line 3: | ||
{{this is a|point entity|name=dod_bomb_target|game=Day of Defeat: Source}} | {{this is a|point entity|name=dod_bomb_target|game=Day of Defeat: Source}} | ||
This entity represents a detonation location within the map. It is shown visually by a {{file|models/weapons/w_tnt|mdl}}, {{file|models/weapons/w_tnt_red|mdl}}, and {{file|models/weapons/w_tnt_grey|mdl}}, depending upon the status of this entity. A player must be carrying a {{ent|weapon_basebomb}} to plant here. | This entity represents a detonation location within the map. It is shown visually by a {{file|models/weapons/w_tnt|mdl}}, {{file|models/weapons/w_tnt_red|mdl}}, and {{file|models/weapons/w_tnt_grey|mdl}}, depending upon the status of this entity. A player must be carrying a {{ent|weapon_basebomb}} to plant here. | ||
{{note|When the bomb explodes, the entity deactivates and [[EF_NODRAW]] is added to hide the model.}} | |||
==Key Values== | ==Key Values== | ||
{{KV Targetname}} | {{KV Targetname}} |
Revision as of 12:44, 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.