Dod bomb dispenser: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{entity|dod_bomb_dispenser|type=e2|game=Day of Defeat: Source}}
{{entity|dod_bomb_dispenser|type=e2|game=Day of Defeat: Source}}


==Entity description==
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.


==Keyvalues==
==Key Values==
{{KV Targetname}}
{{KV Targetname}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV|Team to give Bomb to|choices|The team that will be placing a bomb at this point.}}
{{KV|Team to give Bomb to|choices|The team that will be placing a bomb at this point.}}
:{| class=standard-table
:{| class=standard-table
Line 25: Line 22:
==Outputs==
==Outputs==
{{IO|OnTntPickup|Sent when a player pick up TNT {{note|May not work}}|}}
{{IO|OnTntPickup|Sent when a player pick up TNT {{note|May not work}}|}}
==See also==
* [[List of DoD:S entities]]

Revision as of 23:38, 17 August 2023

Template:Entity

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.

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).
Team to give Bomb to ([todo internal name (i)]) <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.

Outputs

OnTntPickup
Sent when a player pick up TNT
Note.pngNote:May not work