Classes:Grenade
Bouncing projectile of the GrenadeLauncher. Contrarily to most projectiles, it is affected by gravity. Previously a Skulltag-exclusive actor, it has been backported for compatibility in development versions as it is used for the default actor of A_FireSTGrenade. Sounds are not, however, included. Since r1824, it also serves as a container for several MBF states related to grenades or explosion.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Grenade | |||
---|---|---|---|
Actor type | Explosive | Game | ![]() |
DoomEd Number | None | Class Name | Grenade |
Spawn ID | 216 | Identifier | T_GRENADE |
Classes: Grenade
DECORATE definition
ACTOR Grenade { Radius 8 Height 8 Speed 25 Damage 20 Projectile -NOGRAVITY +RANDOMIZE +DEHEXPLOSION +GRENADETRAIL BounceType "Doom" Gravity 0.25 SeeSound "weapons/grenlf" DeathSound "weapons/grenlx" BounceSound "weapons/grbnce" Obituary "$OB_GRENADE" // "%o caught %k's grenade." DamageType Grenade States { Spawn: SGRN A 1 Bright Loop Death: MISL B 8 Bright A_Explode MISL C 6 Bright MISL D 4 Bright Stop Grenade: MISL A 1000 A_Die Wait Detonate: MISL B 4 A_Scream MISL C 6 A_Detonate MISL D 10 Stop Mushroom: MISL B 8 A_Mushroom Goto Death+1 } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.