Page 1 of 1

Hanging things in 3D sector

Posted: Wed Jan 13, 2010 19:24
by NeoHippo
As I understand it, hanging corpses are hardcoded to attach to the ceiling. I gave them a negative
value for z-height, but that does not have any affect on them. They just stay up there.

How can I have them hanging from the ceiling of a 3D sector?

map if needed : http://files.drdteam.org/index.php/file ... hang-01.7z

Re: Hanging things in 3D sector

Posted: Wed Jan 13, 2010 21:29
by Logan MTM
Those ACTOR have SPAWNCEILING Flag and will never do what you want!

However, i can also make a new ACTOR to do it:

Code: Select all

ACTOR MyHangTLookingDown : HangTLookingDown 6675
{
-SPAWNCEILING
}
Now, the Z-Height should work. :wink:

Re: Hanging things in 3D sector

Posted: Wed Jan 13, 2010 22:56
by Enjay
Actually, with a no-gravity, spawn ceiling actor, you don't use a -ve spawn height, you use a +ve one. Unlike with a floor based object, the height you enter is the height down from the ceiling, not up from the floor. This screenshot was obtained by placing an unmodified actor in the map with a z value of 128.

Image

Re: Hanging things in 3D sector

Posted: Wed Jan 13, 2010 23:10
by Logan MTM
What!? :shock:

Re: Hanging things in 3D sector

Posted: Wed Jan 13, 2010 23:40
by NeoHippo
Image

That comes from growing old. As soon as I read Enjay's post the light went on.
I knew that, but I just couldn't drag it to the conscious forefront.

Unfortunately, that little fact is nowhere documented in the wiki, if it is, then its
buried somewhere deep in the bowels of the WIKI where no light shines.

Thank you both

Re: Hanging things in 3D sector

Posted: Wed Jan 13, 2010 23:48
by Logan MTM
Hmmm... I got it! Nice to know that! :)