asw_grenade_prifle
Jump to navigation
Jump to search
This entity is not in the stock FGD files by default.
|
Code classes:
CASW_Grenade_PRifle
CASW_Rifle_Grenade
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
asw_grenade_prifle
is a point entity present in Alien Swarm. It's the projectile launched by the prototype rifle secondary fire. It slows down aliens to a near stun.
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
asw_stun_grenade_time | 6 | Seconds | How long aliens are slowed for. |
FGD Code[edit | edit source]
This FGD code will let you place these in a map. Due to their short lifetime, it's logical to spawn them with point_template
.
@PointClass base(Targetname, Parentname, Angles) studioprop("models/swarm/grenades/StunGrenadeProjectile.mdl") = asw_grenade_prifle : "Prototype Assault Rifle Grenade. Use with point_template. Can be targeted by an ai_relationship."
[
]