grenade_tripmine

From Valve Developer Community
Revision as of 04:38, 25 August 2024 by Gameplayer (talk | contribs) (Created entity grenade_tripmine from Black Mesa)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

grenade_tripmine is a point entity available in Black Mesa Black Mesa. This is an explosive that emits a blue laser when placed on a surface and it explodes when something touches its blue laser.

Keyvalues

Shadow:

Disable Shadows (disableshadows) <boolean>
Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
Disable Receiving Shadows (disablereceiveshadows) <boolean>
Prevent the entity from receiving dynamic shadows on itself.
Shadow Cast Distance (shadowcastdist) <integer> !FGD
Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.

Inputs

TripmineActivate  !FGD
Activate the tripmine turning on the blue laser

BaseGrenade:

Detonate
Fire to make the grenade explode.

Outputs

BaseGrenade:

OnDetonate
Grenade has just exploded.