This article's documentation is for anything that uses the Source engine. Click here for more information.

Grenade: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Link to weapon_frag.)
No edit summary
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{TabsBar|main=Grenade}}
{{stub}}
{{stub}}
{{base point|grenade}} It serves as the basis for Grenades in all source games.
{{CD|CBaseGrenade|base=CBaseProjectile|file1=basegrenade_shared.cpp}}
{{CD|CBaseGrenade|game={{l4ds|4}}}}
{{this is a|model entity|name=grenade}} It serves as the basis for grenades in all Source games.


Note that if you want to add a frag grenade pickup to your level, you may want to use [[weapon_frag]].
{{note|If you want to add a frag grenade pickup to your level, you may want to use [[weapon_frag]]. If you want the actual exploding grenade entity, you may be looking for [[npc_grenade_frag]]}}
 
__TOC__
==Keyvalues==
{{KV BaseAnimating}}
{{KV BaseEntity}}
 
==Inputs==
{{I BaseAnimating}}
{{I BaseEntity}}
 
==Outputs==
{{O BaseAnimating}}
{{O BaseEntity}}

Latest revision as of 05:01, 27 May 2025

Source Engine ( General | Half-Life: Source | Black Mesa )
edit

Stub

This article or section is a stub. You can help by expanding it.

C++ Class hierarchy
CBaseGrenade
CBaseProjectile
CBaseAnimating
CBaseEntity
C++ basegrenade_shared.cpp
C++ Class hierarchy
Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series
CBaseGrenade
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

grenade is a model entity available in all Source Source games. It serves as the basis for grenades in all Source games.

Note.pngNote:If you want to add a frag grenade pickup to your level, you may want to use weapon_frag. If you want the actual exploding grenade entity, you may be looking for npc_grenade_frag