Hanging things in 3D sector

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Hanging things in 3D sector

Post 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
Last edited by NeoHippo on Tue Oct 11, 2016 14:42, edited 1 time in total.
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

Re: Hanging things in 3D sector

Post 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:
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Hanging things in 3D sector

Post 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
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

Re: Hanging things in 3D sector

Post by Logan MTM »

What!? :shock:
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Re: Hanging things in 3D sector

Post 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
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

Re: Hanging things in 3D sector

Post by Logan MTM »

Hmmm... I got it! Nice to know that! :)
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
Locked

Return to “GZDoom”