"Lower unpegged" flag has no effect on the back sidedef

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

"Lower unpegged" flag has no effect on the back sidedef

Postby Kzer-Za » Sat Jan 02, 2021 3:57 am

The texture applied to the back sidedef of a linedef that has a "lower unpegged" flag moves with the sector. Usually it doesn't matter because it is used for doors, and doors usually do not have a visible back sidedef, but there are exceptions:

Several maps in Heretic have kind of bars that go into depressions in the ground, so that your path is blocked, then these bars can be raised, opening the path. So the front sidedefs delimiting these sectors have the texture of bars, while their back sidedefs have the texture of the sides of the depressions in the ground into which these bars are plunged in their original state. So when you raise the bars and look at the depressions, you see that the textures of their sides are moving up.

This can be observed, for example, in the very beginning of Heretic E3M1, and some other maps.

I can make an example map if needed, I just thought that it's more reliable to give a Raven-created map, so that it's clear that it's not something that I messed up.
Kzer-Za
 
Joined: 20 Aug 2017

Re: "Lower unpegged" flag has no effect on the back sidedef

Postby drfrag » Sat Jan 02, 2021 4:38 am

It's been always like that and also happened in vanilla Heretic.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: "Lower unpegged" flag has no effect on the back sidedef

Postby Graf Zahl » Sat Jan 02, 2021 4:50 am

The flag does get checked for the backside of a line, actually, but the way it was implemented is useless for doors as described here - the problem being that the 'lower unpeg' flag still aligns the texture to the sector's ceiling, so it does not work as intended in cases where the sector is being used as a door.

So, in other words: This could be flxed by supplying a different flag - but changing the current one will do far more damage elsewhere.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests