Weird impy thing
Register | 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 23:31. Post New Thread    Post A Reply
Processingcontrol
Senior Member


Posts: 1552
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 02-11-13 04:22 #
Processingcontrol is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
traversd
Member


Posts: 658
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 02-11-13 05:51 #
traversd is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6006
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 02-11-13 16:31 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
gggmork
If you can make any sense of this post, congratulations


Posts: 2742
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 02-11-13 16:38 #
gggmork is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11063
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 02-11-13 17:19 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Grazza
=/-


Posts: 12406
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 02-11-13 17:25 #
Grazza is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6006
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 02-11-13 18:18 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Processingcontrol
Senior Member


Posts: 1552
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 02-12-13 03:23 #
Processingcontrol is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Mechadon
Senior Member


Posts: 2190
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 02-12-13 05:01 #
Mechadon is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11063
Registered: 07-07


I did?

Old Post 02-12-13 09:39 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 23:31. 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.