Func bomb target
Jump to navigation
Jump to search



StartDisabled
keyvalue and the Enable/Disable
inputs are !FGD and can be used!
Kill
ing this entity removes it for all subsequent rounds! Use the Enable/Disable
inputs instead.Entity Description
The existence of this entity makes a map a bomb defusal scenario. It marks where C4 entities can be planted.
- Players must touch the volume of any func_bomb_target in order to plant a C4 entity.
As soon as a C4 entity is planted inside this entity's volume or as soon as it receives the input
BombPlanted
, this entity will no longer allow players to plant a C4 entity inside it.- If a C4 entity is planted inside this entity's volume, this entity fires the outputs
BombPlanted
,BombDefused
and/orBombExplode
for this specific C4 entity.Bug: The
BombDefused
output is NOT fired when a bomb is defused. [todo tested in ?]When planting outside any func_bomb_target with mp_plant_c4_anywhere 1, there is still a func_bomb_target entity chosen that does the above, even if all existing func_bomb_targets are already consumed.
- The radar will automatically label a func_bomb_target as either A or B, depending on which one was created first. If there are more than two of these entities, only two of them will be labelled with A and B.
Keyvalues
- Heist Mode bomb Target (heistbomb) ([todo internal name (i)]) <boolean>
- Tells the bomb target that it's designed for the Heist game mode.
- Bomb Mount Target ([todo internal name (i)]) <targetname>
- Optionally, have the bomb be forced to a specific position and orientation after being planted. The position and angles are determined by the ones of a specified info_target.
|
Inputs
- BombExplode !FGD
- Pretend the bomb exploded; fires the
BombExplode
output.
- BombDefused !FGD
- Pretend the bomb was defused; fires the
BombDefused
output.
- BombPlanted !FGD
- Pretend the bomb was planted; fires the
BombPlanted
output and removes this entity's volume from the planting zones.
|
Outputs
- BombExplode
- Fires when the bomb explodes.
- BombDefused
- Fires when the bomb is defused.
Bug: Is not fired by normal gameplay, only with the
BombDefused
input. [todo tested in ?]
- BombPlanted
- Fires when the bomb is planted.
|