Weapon frag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
==Entity Description==
==Entity Description==


[[Image:hammerfrag.jpg]]
[[Image:hammerfrag.jpg|frame|right|Frag Grenade]]


The weapon_frag entity can be used to place a fragmenting grenade in a map. When picked up, the player is given 1 additional grenade, up to 5 total. The grenade also follows all physics rules as if it were a [[prop_physics]]. In [[Half-Life 2 Deathmatch]], the player spawns with 2 grenades by default.
The weapon_frag entity can be used to place a fragmenting grenade in a map. When picked up, the player is given 1 additional grenade, up to 5 total. The grenade also follows all physics rules as if it were a [[prop_physics]]. In [[Half-Life 2 Deathmatch]], the player spawns with 2 grenades by default.


==Keyvalues==
{{basicweapon}}
 
*{{kv targetname}}
 
*{{kv_angles}}
 
==Flags==
 
*'''Start Constrained'''
:Prevents the model from moving. Off by default.
 
==Inputs==
 
* {{i targetname}}
 
==Outputs==
 
* {{o targetname}}
 
* {{o_weapon}}
 


[[Category:Entities]]
[[Category:Entities]]

Revision as of 19:35, 12 July 2005

Template:Wrongtitle

Entity Description

Frag Grenade

The weapon_frag entity can be used to place a fragmenting grenade in a map. When picked up, the player is given 1 additional grenade, up to 5 total. The grenade also follows all physics rules as if it were a prop_physics. In Half-Life 2 Deathmatch, the player spawns with 2 grenades by default.

Template:Basicweapon