Floorhuggers that don't hug the floor

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Floorhuggers that don't hug the floor

Re: Floorhuggers that don't hug the floor

by Graf Zahl » Wed Nov 07, 2007 8:49 am

fixed+

by Graf Zahl » Fri Oct 26, 2007 3:34 pm

Maybe fixing the bug? :?

by .+:icytux:+. » Fri Oct 26, 2007 2:33 pm

maybe DROPOFF ? :P

by Skippy » Fri Oct 26, 2007 12:51 pm

I actually modified the code in your demo WAD as I described. It works, more or less, but the projectile still doesn't behave as expected.

As I understand it, if a +FLOORHUGGER projectile passes between two sectors of differing heights, it should anchor itself instantly to the floor of that sector, regardless of wether it has to move up or down in height. Clearing the NOGRAVITY flag at the minute simply allows the projectile to fall down if it passes over a ledge. This works fine for small distances (the steps in the Entryway, for example) but over a larger drop it would no doubt become very noticeable.

I've never noticed this behaviour before, but it might be that it's simply too subtle to draw your attention in normal play. :?

by Gez » Fri Oct 26, 2007 12:25 pm

Skippy wrote:The PROJECTILE keyword sets the +NOGRAVITY flag by default. Have you tried clearing this flag from the actor?
Good point. I tried, and adding -NOGRAVITY gives it the proper behavior. Still, I think clearing this flag shouldn't be necessary for floorhugger projectiles.

by Graf Zahl » Fri Oct 26, 2007 11:56 am

The MinotaurFX2 is cheating. It sets its position itself in a code pointer. This flag clearly is somewhat broken...

by Skippy » Fri Oct 26, 2007 11:51 am

The PROJECTILE keyword sets the +NOGRAVITY flag by default. Have you tried clearing this flag from the actor?

Floorhuggers that don't hug the floor

by Gez » Fri Oct 26, 2007 11:07 am

I noticed this by testing this wad while summoning a goldskullgolem in Doom2 MAP01-- a floor hugging attack that climbs a ledge continues climbing instead of dropping when it leaves the ledge.

At first I thought that it was maybe because it was spawned by a flying monster, but when I summoned the fire myself in the console it made the same result. Then I thought it was maybe a bug in the DECORATE, but I don't see what could be wrong with it:

Code: Select all

actor GoldSkullGolemFire
{
	height 8
	radius 6
	damage 1
	speed 10
	renderstyle Add
	alpha 1
	PROJECTILE
	+RANDOMIZE
	+FLOORHUGGER
	+RIPPER
	seesound "goldskullgolem/drop"
	deathsound "goldskullgolem/drop"
	states
	{
	Spawn:
		DLFR AB 4 bright
		loop
	Death:
		MISL BCD 8 bright
		stop
	}
}
A hardcoded floorhugger like MinotaurFX2 doesn't suffer from this.

Top