CEILINGHUGGER missiles get stuck on floor slopes

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Test

CEILINGHUGGER missiles get stuck on floor slopes

Post by Test »

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:

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
	}
}
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.

Return to “Bugs [GZDoom]”