Planted c4 training: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎Inputs: Substituted IO templates)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ent not in fgd}}
{{ent not in fgd}}
{{csgo point|planted_c4_training}}
{{this is a|point entity|game=Counter-Strike: Global Offensive|name=planted_c4_training}}


==Entity description==
==Entity description==
This [[entity]] represents a training version of C4 in [[Counter-Strike: Global Offensive]].
This [[entity]] represents a training version of C4 in [[Counter-Strike: Global Offensive]].
Unlike regular C4, this entity explodes in a firework explosion that is harmless to players.
Unlike regular C4, this entity explodes in a firework explosion that is harmless to players.
To be defused it needs a func_bomb_target in the level, cannot be defused in gamemode co-op strike.
To be defused it needs a func_bomb_target in the level, cannot be defused in gamemode co-op strike.
==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
* {{KV Targetname}}
==Inputs==
==Inputs==
{{IO|ActivateSetTimerLength|Activates the C4 and sets the timer until explosion|param=float}}
{{I|ActivateSetTimerLength|Activates the C4 and sets the timer until explosion|param=float}}
* {{I Targetname}}
* {{I Targetname}}
==Outputs==
==Outputs==
* {{O Targetname}}
* {{O Targetname}}
OnBombBeginDefuse
OnBombBeginDefuse
OnBombDefuseAborted
OnBombDefuseAborted
OnBombDefused
OnBombDefused
OnBombExploded
OnBombExploded

Latest revision as of 07:55, 21 April 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

planted_c4_training is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity description

This entity represents a training version of C4 in Counter-Strike: Global Offensive. Unlike regular C4, this entity explodes in a firework explosion that is harmless to players.

To be defused it needs a func_bomb_target in the level, cannot be defused in gamemode co-op strike.

Keyvalues

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

Inputs

ActivateSetTimerLength <floatRedirectInput/float>
Activates the C4 and sets the timer until explosion

Outputs

OnBombBeginDefuse

OnBombDefuseAborted

OnBombDefused

OnBombExploded