Z height
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Z height
I'd like to use the z height value for objects but it doesn't work as I expected. For example, there's a statue and there's a 3D floor at height 40 and I want to place the statue on it. Despite the fact that I do set the z height value in the editor, the statue appears in game underneath the floor. Why? Is it a bug?
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: Z height
What height do you set the statue? 0, 40, or the absolute value of the height you want?
Re: Z height
The z-height is relative to the floor in most cases.
Exceptions:
- Vertex slope things and Vavoom dynamic lights use absolute values
- Things that hang from the ceiling use Z height as a distance relative to the ceiling
Exceptions:
- Vertex slope things and Vavoom dynamic lights use absolute values
- Things that hang from the ceiling use Z height as a distance relative to the ceiling
- ChronoSeth
- Posts: 1631
- Joined: Mon Jul 05, 2010 2:04 pm
- Location: British Columbia
Re: Z height
Also, if you want an actor to spawn on top of a 3D floor, its height needs to place it above the ceiling of the control sector.
If the bottom of the actor is touching the 3D floor, for some reason it will just fall through it.
If the bottom of the actor is touching the 3D floor, for some reason it will just fall through it.
Re: Z height
Originally, I have created a rotating polyobject with explicit lines and I succeeded in inserting a 3D floor and ceiling, but if I want to put an object on the 3D ceiling, the object drops.
Re: Z height
Do you mean above the 3D ceiling (ie on the floor above) or hanging below the 3D ceiling (which is what your post sounds more like). If it is normally a ceiling spawning actor that stays on the ceiling during gameplay, I don't understand why it drops. Surely it has the nogravity flag?
Re: Z height
Yes, that's right. I want to put it on the ceiling of the dummy sector, so it would look like a pedestal for a statue but the whole structure is above the normal floor.above the 3D ceiling (ie on the floor above)
No, it isn't a hanging object.If it is normally a ceiling spawning actor that stays on the ceiling during gameplay
Well, it doesn't even matter if the whole structure is on the level of the normal floor, but the ceiling of the dummy sector should be there so that the object would have a support being a cover for the rotating polyobject as well.
-
Blue Shadow
- Posts: 5046
- Joined: Sun Nov 14, 2010 12:59 am
Re: Z height
If you're using UDMF as a map format, you can take advantage of the GZDoom Visual mode plugin and check to see if the statue is positioned correctly on top of the 3d floor.
Re: Z height
I use Hexen format.
- ChronoSeth
- Posts: 1631
- Joined: Mon Jul 05, 2010 2:04 pm
- Location: British Columbia
Re: Z height
You can still use the plugin.
Also, start using UDMF. =P
Also, start using UDMF. =P
Re: Z height
As far as I know there is no UDMF config for Hexen in Doom builder 2. That's why I use hexen format for Hexen.
And is there a correct documentation for the UDMF format? Or do I have to trust my intuitions while using it?
And is there a correct documentation for the UDMF format? Or do I have to trust my intuitions while using it?
Re: Z height
You can make your own Hexen-in-UDMF config quite quickly.
Re: Z height
Is there a description about making it?
Re: Z height
Just look at the existing configs. You'll see how they use include(/path/file.cfg, scope) statements.
Make a copy of the Hexen-hexen-zdoom config, and edit it to replace map-format includes from Hexen to UDMF. You can compare the ZDoom Doom-in-Hexen config with the ZDoom Doom-in-UDMF one to see what needs to change; and what doesn't.
Make a copy of the Hexen-hexen-zdoom config, and edit it to replace map-format includes from Hexen to UDMF. You can compare the ZDoom Doom-in-Hexen config with the ZDoom Doom-in-UDMF one to see what needs to change; and what doesn't.
-
Blue Shadow
- Posts: 5046
- Joined: Sun Nov 14, 2010 12:59 am
Re: Z height
I think uploading the map here for someone to figure out what's the deal is probably the best thing to do.
