Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
IkonHero

Weird skybox glitch (limit reached, or corrupted map?)

Recommended Posts

Hi, I have this weird glitch when testing my map. I'm using Ultimate Doom Builder. Map options: GZDoom (Doom 2) UDMF.

When testing the map I get a section of skybox in a place where there's no sector shaped like that. In the editor the glitch is not present, also not when using enhanced rendering.

 

My guess is that either my map got corrupted, or I've reached some kind of limit. I'm working on a rather large room with lots of detail (many lines and lots of shading).

Is there a way to find out what's causing this? I've read somewhere there are limits to the amount of lines you can have in a map, but I haven't found out how to check a map's statistics in that regard.

 

EDIT:

Dropbox link to WAD

 

Thanks!

 

 

glitch.jpg

sc Doom Builder.jpg

Edited by IkonHero

Share this post


Link to post

If your map doesn't fit inside a 32768 * 32768 box, then it's too big, because the nodebuilder uses the highest bit as a negative flag to do calculations, so if the map goes so far highest bit can be flagged both as a positive and an negative number, the engine can't tell the difference, and glitches like this happen.

 

The same behavior can happen if your map isn't that big, but just has monster closets or control sectors which are 32768 units or more father away from the far edge of the map area. In which case, just move those parts closer.

 

If neither of those things are the case, then it could be a case of the nodebuilder not understanding, in which case, switch to a different nodebuilder.

Share this post


Link to post

I checked, my map is approximately 9k by 6k in size. Is there a limit to ceiling and floor heights too?

Share this post


Link to post

With UDMF, you won't be hitting any practical limits any time soon, given the size and geometric simplicity of your map. This glitch happens occasionally, most often with sectors that have a complex shape. It usually helps to divide the offending sector into smaller, simpler shapes. Doesn't have to be a lot, just a few splitting lines near the problematic section will probably help.

Share this post


Link to post
3 minutes ago, Aurelius said:

With UDMF, you won't be hitting any practical limits any time soon, given the size and geometric simplicity of your map. This glitch happens occasionally, most often with sectors that have a complex shape. It usually helps to divide the offending sector into smaller, simpler shapes. Doesn't have to be a lot, just a few splitting lines near the problematic section will probably help.

I tried it, and with adding 4 lines to the weirdly shaped sector, cutting it in 4 pieces, seems to have solved it for now. Thanks! Will let you know if I dive into other problems.

Share this post


Link to post

If you're still working on the map IMO the best approach is to just ignore the holes for the time being and only try to fix them once your map is finished. While adding geometry the nodebuilder is likely to split your map differently, and the holes might disappear on their own (and nother might show up).

Share this post


Link to post

I'd second to what @boris said. I was once working on a heavily detailed map and the nodebuilder screwed itself over midway. Ignoring the error, I continued on with the map and the errors disappeared after a while of adding more and more geometry.

Share this post


Link to post

The "holes" disappear after copying the sectors

 

Spoiler

22NuzCd.jpeg

 

and pasting them back over the original sectors

Result in GZDoom

 

Spoiler

YMZMnoG.png

 

Edited by Kappes Buur

Share this post


Link to post

Thanks all. The map is far from finished as of now, so I guess it will be o.k. eventually.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×