Dod bomb dispenser: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Outputs: doesn't even exist in the FGD, much less the game itself)
No edit summary
Line 2: Line 2:
{{this is a|brush entity|name=dod_bomb_dispenser|game=Day of Defeat: Source}}
{{this is a|brush entity|name=dod_bomb_dispenser|game=Day of Defeat: Source}}
This entity is a [[solid]] which is tied to an entity. It is generally in marked out in game by a bomb stack model. It will give the specified team a bomb in a detonation type map.
This entity is a [[solid]] which is tied to an entity. It is generally in marked out in game by a bomb stack model. It will give the specified team a bomb in a detonation type map.
{{note|This entity counts as two entities during runtime; a {{ent|dod_bomb_dispenser_icon}} is created at the center of this entity (''not'' its [[origin]]).}}


==Key Values==
==Key Values==

Revision as of 09:39, 1 April 2025

C++ Class hierarchy
CDODBombDispenser
CBaseTrigger
CBaseToggle
CBaseEntity
C++ dod/dod_bombdispenser.cpp

dod_bomb_dispenser is a brush entity available in Day of Defeat: Source Day of Defeat: Source. This entity is a solid which is tied to an entity. It is generally in marked out in game by a bomb stack model. It will give the specified team a bomb in a detonation type map.

Note.pngNote:This entity counts as two entities during runtime; a dod_bomb_dispenser_icon is created at the center of this entity (not its origin).

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).
Icon-Important.pngImportant:Initialized to false when this entity spawns, regardless of what is set in the map editor; use a logic_auto to set the Disable input instead.
Team to give Bomb to (dispense_team) <choices>
The team that will be placing a bomb at this point.
Value Description
1 Both Teams
2 U.S. Army Only
3 Wehrmacht Only

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.