Dod bomb target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Key Values: fix team enums; cleanup)
Line 22: Line 22:


==Outputs==
==Outputs==
{{IO|OnBombExploded|Sent when the bomb explodes.|}}
{{IO|OnBombExploded|Fired when the bomb explodes.|}}
{{IO|OnBombPlanted|Sent when a bomb is planted.|}}
{{IO|OnBombPlanted|Fired when a bomb is planted.|}}
{{IO|OnBombDefused|Sent when a bomb is defused.|}}
{{IO|OnBombDefused|Fired when a bomb is defused.|}}
{{IO|OnBombTargetActivated|}}
{{IO|OnBombTargetActivated|Fired when this entity receives the {{mono|enable}} input.}}
{{IO|OnBombTargetDeactivated|}}
{{IO|OnBombTargetDeactivated|Fired when this entity receives the {{mono|disable}} input.}}

Revision as of 15:20, 13 March 2025

Picture of the dod_bomb_target Entity in Hammer.

dod_bomb_target is a brush entity available in Day of Defeat: Source Day of Defeat: Source. This entity represents a detonation location within the map. It is shown visually by a grey or yellow outline of weapon_basebomb.

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 or target).
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 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 (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.
Value Description
2 U.S. Army
3 Wehrmacht
Add To Timer (sec) (add_timer_seconds) <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
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.