Create slope which connects seemingly with surounding sectors

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
User avatar
CoderGrizzly
Posts: 8
Joined: Sun Jan 05, 2025 12:38 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: ATI/AMD (Modern GZDoom)

Create slope which connects seemingly with surounding sectors

Post by CoderGrizzly »

Hello everyone, ๐Ÿ––

I'm trying to create a slope in UDB, but always run into the problem that it doesn't connect seemingly with the surounding sectors.
Means the sector of the slope of course connects perfectly to those connecting sectors.
But it always sticks out or is lower on the front and / or back side.
And then I have to start playing around to somehow get it to the same height.

In many cases it also doesn't simply work and when I let UDM check my map, it claims that textures are missing somewhere on my slope, because it still doesn't 100% match.
seemingly_slope_problem.jpg
Is there any solution to this? Any option or anything which - similar to texture alignment - also takes care of this?
You do not have the required permissions to view the files attached to this post.
User avatar
Enjay
ย 
ย 
Posts: 26697
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Create slope which connects seemingly with surounding sectors

Post by Enjay »

It depends on the exact setup, but you might find that using the type of slopes created by line type 181 might work for you in this situation.

https://www.zdoom.org/wiki/Plane_Align

Don't worry about the warning on that page about the line ID not being supported in UDMF. All that means is don't use that parameter because you set line IDs directly in UDMF, not via line type parameters. Other than that, line 181 works perfectly well and, if your slope has a straight line at the bottom (and the top is parallel with it), it should meet the floor perfectly without the gap shown in your pic.
User avatar
CoderGrizzly
Posts: 8
Joined: Sun Jan 05, 2025 12:38 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Create slope which connects seemingly with surounding sectors

Post by CoderGrizzly »

That was exactly what I was looking for, works like a charm!
Not more angle and height adjustment, just some sweet "Align floor: Front". ๐Ÿ‘

Also I first align it the wrong way, resulting in a very funny floor design across the next sector (not the sector I actually wanted to have a slope). ๐Ÿ˜‚

Thank you, @Enjay. ๐Ÿ™
boris
Posts: 757
Joined: Tue Jul 15, 2003 3:37 pm

Re: Create slope which connects seemingly with surounding sectors

Post by boris »

Another, more versatile approach to slopes is using UDB's slope handles, which set the plane equation slope in a user-friendly way that also works on 3D floors.

Here's an extensive tutorial on how to use it: https://www.youtube.com/watch?v=dioG0P0ywJo

Shorter tutorial: https://www.youtube.com/watch?v=3l7ivUD4VFQ

Return to โ€œMappingโ€