Weird impy thing
User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Vanilla Highest Floor Problem
 
Author
All times are GMT. The time now is 13:42. Post New Thread    Post A Reply
Processingcontrol
Senior Member


Posts: 1562
Registered: 09-10


Currently working on a vanilla map in Doom Builder 2, but a strange bug is impending my progress: whenever an action that's supposed to raise or lower a floor to the highest adjacent floor happens, the floor instantly raises to the ceiling. The problem shows up in both Chocolate Doom and PRBoom+. The weirdest thing about this is that it only occurs in one half of the level; whenever I use one of the actions in the other half everything works as its supposed to.

Anyone know what could be causing this?

Old Post Feb 11 2013 04:22 #
Processingcontrol is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
traversd
Forum Regular


Posts: 693
Registered: 01-09


Sounds like the floor is lower than -512 map units. Those linedef types fail outside -512, 512 map units in height IIRC.

Old Post Feb 11 2013 05:51 #
traversd is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6557
Registered: 08-00



traversd said:
Sounds like the floor is lower than -512 map units. Those linedef types fail outside -512, 512 map units in height IIRC.

Seriously? I've never heard of this before.

EDIT: Sure enough. There's a note left in the BOOM source about this. God, all those routines were coded so terribly.

Old Post Feb 11 2013 16:31 #
Quasar is offline Twitter account Youtube Github || Blog || PM || Post History || Add Buddy IP || Edit || Quote
gggmork
If you can make any sense of this post, congratulations


Posts: 2856
Registered: 06-07


a guess, maybe read this:
http://www.doomworld.com/vb/doom-ed...moving-sectors/

Or maybe you have accidentally joined 2 sectors resulting in more neighboring sectors than you think.

Old Post Feb 11 2013 16:38 #
gggmork is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 12519
Registered: 07-07



Quasar said:
Seriously? I've never heard of this before.

EDIT: Sure enough. There's a note left in the BOOM source about this. God, all those routines were coded so terribly.

You mean those?

Fixed P_FindHighestFloorSurrounding routine in P_SPEC.C to use MININT
as it initialization for the highest search rather than the arbitrary
-500 units it did.

Fixed P_FindHighestCeilingSurrounding routine in P_SPEC.C to use MININT
as it initialization for the highest search rather than the arbitrary
0 units it did.

Old Post Feb 11 2013 17:19 #
Gez is online now || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Grazza
Your move


Posts: 12575
Registered: 07-02


I commented on this type of issue here, where it impacted another wad. Once you're aware of the issue, it's easy enough to find workarounds that avoid the wad becoming port-specific.

Old Post Feb 11 2013 17:25 #
Grazza is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6557
Registered: 08-00



Gez said:
You mean those?


And don't forget P_FindNextHighestFloor which would trash the stack if there were too many adjoining sectors.

Old Post Feb 11 2013 18:18 #
Quasar is offline Twitter account Youtube Github || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Processingcontrol
Senior Member


Posts: 1562
Registered: 09-10



traversd said:
Sounds like the floor is lower than -512 map units. Those linedef types fail outside -512, 512 map units in height IIRC.

I raised the height of everything and the actions started working normally. This this was definitely the culprit. Surprised I never heard of this bug before considering how common it must be in maps with steep height differences.

Thanks for the help guys!

Old Post Feb 12 2013 03:23 #
Processingcontrol is offline || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Mechadon
Senior Member


Posts: 2326
Registered: 12-06


I had the pleasure of running into this bug for one of my BtsX contributions :P (and someone else ran into it before I did). Before that, I had no idea of its existence. But it definitely made me scratch my head for a few hours.

Thankfully though, as Gez pointed out, it is pretty easy to work around.

Old Post Feb 12 2013 05:01 #
Mechadon is offline Twitter account Youtube Twitch || Blog || PM || Post History || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 12519
Registered: 07-07


I did?

Old Post Feb 12 2013 09:39 #
Gez is online now || Blog || PM || Post History || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 13:42. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Vanilla Highest Floor Problem

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.