Jump to content
  • 0

DOOM 2 in DOOM 2 format misalignment of DOORS


Cacodoomonic

Question

I'm facing a strange bug. I made a few doors in a map and they had perfectly aligned textures. When I boot the game up to test play, they look fine until I open them. Then the textures alignment goes wrong as they open and then stay that way. They push the texture up a few pixels so it looks wrong. Why is this happening? 

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 2

Your door sector is too tall and is partially sunk into the floor, so when it opens and then shuts, it will actually stop when it hits the floor.

 

Your standard big door is 128x128. I wouldn't be surprised if the overall height you have the door sector being is making it something like 136 or so.

 

Basically, you solve this by making sure the Ceiling and Floor heights for the door sector are identical. That will make sure the door "ends" at the floor. Assuming you're using something like Ultimate Doom Builder, the Sector Height should be 0 if the door is set up correctly and fully closed - just right click the door sector in Sectors mode and it should pop up a dialog with the relevant height information.

 

Any value in the negatives, and your door is starting "sunk" into the floor and will have extra when it shuts normally (because that part will not sink back into the floor); any value in the positives, and your door is not starting at floor level.

 

Alternatively, if you want that extra little bit of stuff at the bottom of the door to be visible when opened, but to resemble how the door initially looked when it was fully shut, you need to lower the height of the actual floor under the door as well. Ceiling and Floor Height should still be 0 all the same for it to look correct.

Edited by Dark Pulse

Share this post


Link to post
  • 0

You likely have a sector next to your door that's causing conflict. Make sure any sectors touching your door sector are all at the correct height, as it will default to the lowest sector to raise up towards.

 

However, what you're describing seems a little off. Can you provide some before and after screenshots of what's happening?

Share this post


Link to post
  • 0
48 minutes ago, kevansevans said:

You likely have a sector next to your door that's causing conflict. Make sure any sectors touching your door sector are all at the correct height, as it will default to the lowest sector to raise up towards.

 

However, what you're describing seems a little off. Can you provide some before and after screenshots of what's happening?

Sure, here is a video showing the issue happening in real time. You'll notice the door texture is pushed up so the top is cut off and the bottom has too much below it after the door has been opened/activated.

 

 

Edited by Cacodoomonic

Share this post


Link to post
  • 0

Thank you Dark Pulse. You were absolutely correct. Ceiling for the door was set at -8 instead of 0. Not sure how I missed that.  Thanks! Solved.

 

Share this post


Link to post
  • 0

This always gave me issues when I started, usually because I was closing doors in visual mode via the mouse wheel.

 

The keyboard shortcut to lower a ceiling/raise a floor to the next ceiling/floor respectively are PageUp and PageDown (default key mapping).
This has saved me loads of time editing in UDB.

Share this post


Link to post
  • 0

I didn't know about that shortcut. I started out with DOOM Builder about 15 years ago or so and then quickly switched to DOOM Builder II. Then started using GZDoom Builder in 2018 and only this year started using Ultimate Doom Builder. Is that shortcut exclusive to the UDB or was it in all of them? UDB is the only one that is compatible with my current computer. I don't usually make mistakes like this. This is a strange oversight on my part.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...