Page 1 of 1

Slanted 3-D floor and ceiling heights don't seem right.....

Posted: Sat May 13, 2006 9:57
by DoomGuy
Attached is part of a larger .wad file. I had a heck of a time tring to get the floor and ceiling heights of the sloped floor (where the player starts) to match up with the heights and slopes of the walls of the building. If you check the sectors outside the 'playable' area you will see what I mean. The back wall is at 140 and the upper part of the slope is at 195, but the sloped sector outside the 'playable' area (sector 639) is set at 61 for the ceiling and 53 for the floor height. The smaller sector (640) outside the 'playable' area (used to get the slope) is at 9 and 1 respectively. Shouldn't you be able to set sector 640 at 132 and 140 and sector 639 at 187and 195? If I set them to match the wall heights the sloped sector is way up in the air at the map ceiling height of 384. Is this a bug? Or is this how it should be. It took me a heck of a long time using trial and error to line these sectors up. Is there a different way I should be doing this? If so, please let me know how.....

Posted: Sat May 13, 2006 10:09
by Graf Zahl
You did it wrong. To define a sloped 3D floor you have to set it up in a way that the actual slope defined by the control sector extends to the place you want it to be. One of your control sectors is offset in a way that makes it very hard to calculate the exact position. Always make sure that the control sector is placed so that the slope runs parallel to its destination. That will make it much easier to control the heights at each end.

I'll give it a try!

Posted: Sat May 13, 2006 10:48
by DoomGuy
Thanks Graf! I'll give it a try! Was I correct in the way I created the sloped 3-D floor?

Posted: Sat May 13, 2006 14:47
by Graf Zahl
Since I don't know what you intended I can't say. ;)