Deep Water

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Deep Water

Post by Zell »

I can't get the deep water to work =(
here is how i have everything set up :
|-------------------------------------------------|
| |----------------| Main, outside sector |
| ||--------------|| |
| || || |
| || Deep Wtr || |
| ||__________|| |
| |----------------| |
|--------------------------------------------------|

|====|
| |
| | <----Dummy Sector
|-------|

Deep Wtr sector has a floor level of -50 and ceiling of 128
Main sector has a floor of 0 and a ceiling of 128
Dummy Sector has a floor of -50 and ceiling of 0
The outer ring of the Deep Wtr secto has floor of 8 and ceiling of 8

The ==== line of the dummy sector which transfers hiegths.
I have the Deep Wtr sector and ==== line tagged 15.
I have no clue whats wrong lol. any help is apreciated

zell
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Post by Zell »

lmao that didnt work so i have attacked it to the post
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Deep Water

Post by HotWax »

Zell wrote:Deep Wtr sector has a floor level of -50 and ceiling of 128
Main sector has a floor of 0 and a ceiling of 128
Dummy Sector has a floor of -50 and ceiling of 0
The outer ring of the Deep Wtr secto has floor of 8 and ceiling of 8
You've set it up wrong.

The *real* sector. (the one in the map) should have:

The floor set to the *real* floor level (i.e. lowest).
The ceilling set to the *real* ceiling level (i.e. highest).

You did that part right. It's the next part you got wrong.

The control sector should have:

The floor set to the *fake* floor level (i.e. water surface)
The ceiling set to the *fake* ceiling level (uhhh... clouds?)

If you don't want a fake floor or fake ceiling, simply set the height to be the same as the real sector's.

For your example, this is what should be done:

Real sector ("Deep Wtr sector"), set floor to -50 and ceiling to 128 (already done).
Control sector, set floor to 0 and ceiling to 128.

Also, (this is where it gets confusing), put the water (or other liquid) texture on the *real* sector's floor and the *control* sector's ceiling. Put the floor texture that should be seen while under the water on the control sector's floor.

When done properly, this will make the surface of the water at height 0. When you jump in, you will properly dive under the water and find that the real floor is at -50 units. You won't be able to jump out of this water, since 50 is far too high. You can get around this by adding a Swimmable Water Thing in the control sector.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

You probably got it fixed by now, but just in case there is any remaining problem, here's the wad fixed along the lines of what HotWax said. I see you already had the water zone thing in the control sector...it's this thing that lets you "swim" and also makes you drown if you stay below the water surface too long.

Nice coloring of the water with the "lower sidedef" line method.

I added some extra friction in the water, note that the water sector has to be "friction enabled" or whatever flag it is in your editor. Also, there is a line on the control sector used to set the friction (that line could be anywhere, does not have to be in the control sector but that's a convenient way to keep track of it).
Locked

Return to “Editing (Archive)”