CEILINGHUGGER missiles get stuck on floor slopes
Posted: Mon Mar 25, 2024 1:48 am
I found an older report of mine on the Zandronum tracker and noticed I never reported it back here, but doing it now as a curiosity. Here's the link: https://zandronum.com/tracker/view.php?id=1134
It seems that missiles with the CEILINGHUGGER flag will get stuck on floor slopes in general and never despawn.
Here's the DECORATE code:
And here's the example wad: https://zandronum.com/tracker/file_down ... 0&type=bug (slope_hugger_01.wad)
Load up the wad and run on the sloped floor and fire the pistol. The projectiles will fall on the floor and remain there.
It seems that missiles with the CEILINGHUGGER flag will get stuck on floor slopes in general and never despawn.
Here's the DECORATE code:
Code: Select all
Actor Pistol_02 : Pistol
{
Weapon.SlotNumber 2
Weapon.AmmoUse 0
States
{
Fire:
PISG A 3 A_SpawnItemEx ("CeilingHugger", random(-64, 64), random(-64, 64), 0, 0, 0, 0, 0, 0, 0)
PISG A 0 A_ReFire
Goto Ready
AltFire:
PISG A 3 A_SpawnItemEx ("FloorHugger", 0, 0, 0, 1, 0, 1, 0, 0, 0)
PISG A 0 A_ReFire
Goto Ready
}
}
Actor CeilingHugger
{
Radius 6
Height 8
Speed 10
Damage 3
Mass 10
Gravity 12
+MISSILE
+CEILINGHUGGER
States
{
Spawn:
BAL1 AB 4 Bright
Loop
Death:
BAL1 CDE 6 Bright
Stop
}
}
Actor FloorHugger
{
Radius 6
Height 8
Speed 10
Damage 3
Mass 10
Gravity 12
+MISSILE
+FLOORHUGGER
States
{
Spawn:
BAL2 AB 4 Bright
Loop
Death:
BAL2 CDE 6 Bright
Stop
}
}
Load up the wad and run on the sloped floor and fire the pistol. The projectiles will fall on the floor and remain there.