<
 
BdGrenade
 
Grenades aren't really implemented as weapons, but they can be used with the Zoom function on weapons. They're projectiles that bounce and are affected by gravity.

File

Flags

Properties

bouncefactor0.5
damagetypeExplosive
gravity0.7
height4
obituary"%o ate %k's grenade."
radius4
scale0.2
seesound"weapons/grenade/bounce"
speed30
wallbouncefactor0.25

States

Spawn: GRND ABCDEFGH 2 TNT1 A 0 A_GiveInventory("GrenadeTime", 1) TNT1 A 0 A_JumpIfInventory("GrenadeTime", 3, "Explode") loop Death: GRND H 16 TNT1 A 0 A_GiveInventory("GrenadeTime", 1) TNT1 A 0 A_JumpIfInventory("GrenadeTime", 3, "Explode") loop Explode: TNT1 A 0 A_NoBlocking TNT1 A 0 A_SpawnItem("FragGrenadeExplosion") Stop

Class Hierarchy

Classes defined in \weapons\PlayerProjectiles.txt