[r3978] Part of wall disappears : a single line in udmf
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
[r3978] Part of wall disappears : a single line in udmf
There is a bug in this wad:
(map for Hexen in UDMF)
The problem is when you step on the perpetual platform and it starts working the left side of the platform (south wall) disappears as you walk along beside it. I guess it has something to do with that line in the upper right corner of the room, but strangely this glitch won't happen when you convert the whole map into hexen format.
The other problem is when you step on that platform it works weirdly. Sometimes it raises immediately when you cross the east line but in other cases it just clicks and you have to cross the line again so that the platform can start working. You can even get stuck under the platform if you run/jump up and down.
This bug is strange so much the more because the wad doesn't contain any scripts. Just two action specials.
Thanks for your reply.
(map for Hexen in UDMF)
The problem is when you step on the perpetual platform and it starts working the left side of the platform (south wall) disappears as you walk along beside it. I guess it has something to do with that line in the upper right corner of the room, but strangely this glitch won't happen when you convert the whole map into hexen format.
The other problem is when you step on that platform it works weirdly. Sometimes it raises immediately when you cross the east line but in other cases it just clicks and you have to cross the line again so that the platform can start working. You can even get stuck under the platform if you run/jump up and down.
This bug is strange so much the more because the wad doesn't contain any scripts. Just two action specials.
Thanks for your reply.
- ChronoSeth
- Posts: 1631
- Joined: Mon Jul 05, 2010 2:04 pm
- Location: British Columbia
Re: [r3978] Part of wall disappears : a single line in udmf
What happens when you rebuild the map's nodes?
Re: [r3978] Part of wall disappears : a single line in udmf
The result remains the same. Though, in Gzdoom the glitch changes a bit because the wall doesn't disappear, but when you look upwards parts of the wall graphics will be messed up. That's why I think this must be a bug.
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: [r3978] Part of wall disappears : a single line in udmf
The problem is with the nodes, as ChronoSeth mentioned. Start the map with [wiki=CVARs:Configuration#gennodes]gennodes[/wiki] enabled and you'll see that issue has gone.cocka wrote:You can even get stuck under the platform if you run/jump up and down.
Re: [r3978] Part of wall disappears : a single line in udmf
So are you telling me that every time I load the map I should use a console command and reload the map to correct the glitch?
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: [r3978] Part of wall disappears : a single line in udmf
No. What I was saying is the problem is with the nodes and running it with gennodes enabled is the proof that it is.
There's an alternative: Delete the nodes from the map (use SLADE) and don't build them yourself. ZDoom will do it for you when you start the map. The downside to this, however, is that the map will take longer to load/start the larger it gets.
There's an alternative: Delete the nodes from the map (use SLADE) and don't build them yourself. ZDoom will do it for you when you start the map. The downside to this, however, is that the map will take longer to load/start the larger it gets.
Re: [r3978] Part of wall disappears : a single line in udmf
OK, but the question is: why does zdbsp not work properly? If there is a routine in zdoom for building the nodes perfectly, why does zdbsp not use that routine? And why does it produce glitches by building nodes?
Re: [r3978] Part of wall disappears : a single line in udmf
Just confirming that when I build the nodes manually from the command prompt using my usual settings ( -x -z -w -b -r ) or build them via DB2, the glitch persists but gennodes 1 removes the glitch. As to why this is happening, I have no idea.
Re: [r3978] Part of wall disappears : a single line in udmf
If you "convert" it to hexen format, the glitch will be gone too.but gennodes 1 removes the glitch.
Obviously, this is a bug. I wouldn't have written it here, if there were no problem at all.As to why this is happening, I have no idea.
I think it has something to do with the vertices using fractional numbers for their coordinates.
Re: [r3978] Part of wall disappears : a single line in udmf
I think you're right. I just used DB2 to move the few vertices that were using fractional coordinates to vertices to whole number coordinates then saved the map. On testing it, the problem had gone.cocka wrote:I think it has something to do with the vertices using fractional numbers for their coordinates.
Re: [r3978] Part of wall disappears : a single line in udmf
OK, but this is the circumvention of the problem and the fact remains that it is a bug.to move the few vertices that were using fractional coordinates to vertices to whole number coordinates
- ChronoSeth
- Posts: 1631
- Joined: Mon Jul 05, 2010 2:04 pm
- Location: British Columbia
Re: [r3978] Part of wall disappears : a single line in udmf
I'm completely dumbfounded as to why zdoom's internal nodebuilder produces different (and better) results than ZDBSP. Aren't they (almost) exactly the same thing?
Re: [r3978] Part of wall disappears : a single line in udmf
I have reconfirmed that, aside from off-by-one-bit differences when loading fractional vertex data, the internal node builder and ZDBSP are, indeed, generating absolutely identical nodes. There's just one problem: None of the node formats support node splitters with fractional coordinates, so ZDBSP cannot save its nodes exactly as generated. Oops.
Re: [r3978] Part of wall disappears : a single line in udmf
That could indeed explain why I was never able to get satisfactory results out of ZDBSP for ZDCMP2. If that's fixable, that'd make me a happy Xaser.