Npc handgrenade: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Ent not in fgd}}
{{Ent not in fgd}}
{{CD|CBaseGrenadeTimed|file1=1}}
{{CD|CBaseGrenadeTimed|file1=1}}
{{this is a|[[entity]]|name=npc_handgrenade|game=hls|game1=Half-Life 2|game2=Portal series|game3=Team Fortress 2}} Grenade that explodes immediately after it is spawned.{{clarify}}
{{this is a|[[entity]]|name=npc_handgrenade|game=Half-Life: Source|game1=Half-Life 2|game2=Portal series|game3=Team Fortress 2}} Grenade that explodes immediately after it is spawned.{{clarify}}
{{todo|also exists in hlsdm, all hl2 games}}
{{todo|also exists in hlsdm, all hl2 games}}
{{note|Default model: <code>models/weapons/w_grenade.mdl</code>}}
{{note|Default model: <code>models/weapons/w_grenade.mdl</code>}}

Latest revision as of 12:05, 11 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CBaseGrenadeTimed
CBaseGrenade
CBaseProjectile
CBaseAnimating
CBaseEntity
C++ basegrenade_timed.cpp

npc_handgrenade is an entity available in Half-Life: Source Half-Life: Source, Half-Life 2 Half-Life 2, Portal series Portal series, and Team Fortress 2 Team Fortress 2. Grenade that explodes immediately after it is spawned.[Clarify]

Todo: also exists in hlsdm, all hl2 games
Note.pngNote:Default model: models/weapons/w_grenade.mdl
Note.pngNote:Default touch behaviour CBaseGrenade::BounceTouch
Note.pngNote:Default think CBaseGrenade::TumbleThink

See Also