Still having trouble with sloped 3-D floors

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
DoomGuy
Posts: 47
Joined: Tue Apr 25, 2006 4:02

Still having trouble with sloped 3-D floors

Post by DoomGuy »

:? I would like some help on sloped 3-D floors. I am still having trouble getting them to show up the way I want them to. Could someone set up a small .wad file and post it for me, showing an area that has the floor at 0 with any texture, the ceiling at 384 with F_SKY1 for the texture. I want a sloped 3-D floor, that is 32 units thick, going from 32 & 0 (ceiling & floor) to a height of 256 & 224 (ceiling & floor). Make the sloped sector 256 units in length. I just can't seem to control the sloped sector properly. If you are using a script for this I would like that too. Some instructions on this process would be appreciated too. I'm really trying to get the hang of this. Any help would be appreciated. Thanks!
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

I don't have internet at home atm, but I'll try to remember to wip up an example for you and post it tomarrow. My apologies in advance should I forget.

A little help with the basics can go a long way, and if you got visual examples that goes all that much further. :)
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

...
Attachments
Slope.zip
3D Slope Example
(1.8 KiB) Downloaded 309 times
User avatar
DoomGuy
Posts: 47
Joined: Tue Apr 25, 2006 4:02

Pretty weird

Post by DoomGuy »

Thanks for your reply XDelusion. I downloaded your map and compared it to mine. The only difference was that in my map the outside sector where you specify the 3-D floor and the slope was below the short end of the sector in the map. I moved it so that the two long sides of the sectors were parallel and it worked! I think Graf mentioned something about this earlier but I didn't really understand what he meant. Any way it worked except for one thing; the area below the sloped sector is dark blue! Has this happened to you? I know how to get rid of it but it is a pain. I h ave to create a new map. Copy the affected sector into it, delete the problem sector from the real map and then copy the sector back to the real map from the new map. Whew! What a pain. What editor do you use? It may be a problem with my editor. Thanks again!
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

You can thank Shinjanji, I've not done anything yet. Sorry been tied up and don't have net at home, otherwise I'd just open up Builder and give you a direct responce sorry. :)
User avatar
DoomGuy
Posts: 47
Joined: Tue Apr 25, 2006 4:02

Credit where credit is due....

Post by DoomGuy »

I wish to thank Shinjanji for the assistance on the sloped 3-D floors. I was doing everything right except for positioning the longest side of the sloped 3-D floor (outside the map sector) parallel to the longest side of the sector in my map where the 3-D floor would appear. It also made a difference in setting the floor and ceiling heights of the sectors. Unless there is some other problem. Maybe something my editor causes. Anyway, thanks a lot!
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

Ok...


Damn this ticks me off.

I thought I had some understanding of this 3D sloped floor crap. I.E. You make a sector out side your play field that will represent your 3D floor, and of course you must have that tied to a floor that will tell it where to slope to, you then must have that fake slope sector as long as the slope in the play field and facing a certain direction to get the slope to go the right way or something right?

I could swear I read that (somewhere).

Anyhow I have this old shitty map that has a 3D slope I was experiementing with, I was going to re-create a simpler one for you last night, but low and behold, the shit ain't working what so ever now, so apparently I don't have a clue what I'm doing.

Here are my example wad files.

in the 3DSlopeworks wad, to the left of the play field are the fake sectors for the 3D floor and what not, and as you can see, all seems to work well, though I noticed that something about the fake sector for the 3D floor itself is messed up because if you move the mouse around the floor changes heights...?

The second wad 3Dslopeswtf.wad file is the example I was going to make for this post...

...as you can see I apparently am way off base because there ain't a slope in anything here. :(



I'm trying...


http://files.frashii.com/~sp00nz/Doom/work/


Nevermind double door, I got that one figured out...

...I didn't know that ACS unlike FS needed to be compiled before it would work.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

When making sloped 3D floors, and easy way to make sure you know where the slope will end up is to align the control sector with the containing sector.

Another example...
Attachments
slope.zip
2 slopes
(1.2 KiB) Downloaded 235 times
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

Thankx I'll take this home and have a look. Maybe I need to lay off the crack?
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

The first step to conquering a problem is admitting you have one. So I put down the crack stem, got my life together, started paying the bills, etc.

And then went back to DOOM Builder to have another go. To be on the safe side I figured,"hey, why not emulate Enjays's 3D slope example 100% to prevent failure?".
Well I did just that, and I'm willing to bet that if you open up my map in DOOM Builder, and the Map you sent me, that you will not be able to tell a difference, on the other hand, fire up GZDOOM and you will, right away!

http://files.frashii.com/~sp00nz/Doom/w ... ailure.wad


Type: Failure
Levels: Failure
Need: More crack apparently.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

A simple mistake. Look at the two small sectors you have used to set the slope of the 3D floor control sectors. They have floor height 0 and ceiling height 128. You have correctly set your slope line to slope your control sectors to match these heights and it is doing it. However, it's not what you want to do. You are sloping the 3D floor control sector ceiling upwards to 128. Change the values in those little sectors. You can leave the floor alone if you like, but set the ceiling much lower (8 is a good number for the slopes you are using instead of 128) and you'll have sloping floors.

You'd also be much better using something other than AASTINKY as your texture. That texture is a default/bugfinding texture that is not meant to be displayed. Thats why you are seeing the "noflat" texture everywhere.
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

...but AASTINKY's my friend! :)

What kind of name is that anyhow?!?!


I'll go home and have another stab, try to see what your are explaining to me.
User avatar
Phobus
Posts: 227
Joined: Sat Sep 03, 2005 11:48
Location: Orpington, Kent, England
Contact:

Post by Phobus »

Use the SP_WALL2 texture or whatever it is. Looks the same as AASHITTY (as it's known on DEU2 and DB,(I think)), but it does display, and is 128x64 in size.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

XDelusion wrote:...but AASTINKY's my friend! :)

What kind of name is that anyhow?!?!

AAStinky/AAShitty is the type of name you give a texture that is merely designed to be a placeholder at the start of your texture definitions while ensuring that it is alphabetically sorted first.

In Doom Texture #0 means 'no texture' but the texture code never automatically allocated that texture by default so it had to be added to the texture definitions.
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

But I was going to theme my star wars wad in all Stinky textures! Man! :/

Ok I corrected my little mistake and the 3D sloped floors worked fine.

DoomGuy, did you ever figure out how to get rid of your problem?


Oh ya, one more thing, is it possible to make 3D sloped that go from east to west and not just north to south?

I tried making some, but I can only do north to south else they totally mess up.

I'm laying out my fake sectors from east to west, but instead of the floor trying to go down, it goes up to the ceiling and has not collision detection.
Locked

Return to “GZDoom”