What I did is remove NOGRAVITY flag and set gravity property.
But It's not working. What's the problem?
Code: Select all
actor "Proj_M1897" : FastProjectile
{
Projectile
obituary "%k [M1897 Trench Gun] %o"
Speed 250
Height 2
Radius 2
Damage (19)
-NOGRAVITY
Gravity 3.8
decal RifleChip
DamageType "Shotgun"
States
{
Spawn :
TNT1 A 1
Loop
Death :
TNT1 A 0
TNT1 A 1 A_SpawnItemEx("RiflePuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
Stop
}
}