Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Weeeeird z-level stuff.  (Read 728 times)

nunix

  • Bay Watcher
    • View Profile
Weeeeird z-level stuff.
« on: February 04, 2008, 07:41:00 pm »

Generated in g, if it matters.

code:
.....Xxx
.....Xxx
.....Xxx

. = grassland
X = cliff face
x = the rest of the mountain

The grassland is at +0.
As soon as the cursor hits X, it goes to -1.
This is consistent through all levels (that cliff face - the whole mountain - will always report at one level lower at least (there are pockets of -2 and -3, to boot) than it should be. I can dig straight into it; on one tile it will report at +0, on the next it will be -1, with absolutely no stair or elevation or view change inbetween. There's definitely no Open Space, either.

What the heck?! Is this a bug, or some kind of bizarre geography? Are the Z levels relative to something? If that's the case, why even bother having them labelled? So confusing...

Logged

apache1990

  • Bay Watcher
  • Arena Master
    • View Profile
    • Bay Watcher Arena V2.0!
Re: Weeeeird z-level stuff.
« Reply #1 on: February 04, 2008, 07:44:00 pm »

That z-level display means how many levels below the surface you are.  So at ground level you're at zero, once you dig in to a small hill or one level down, you're at -1, etc.

(You can see the true Z-level further down, it'll be over a hundred if you are in the mountains.)

[ February 04, 2008: Message edited by: apache1990 ]

Lazer Bomb

  • Bay Watcher
  • Sine! Cosine! TANGENT!
    • View Profile
    • Homepage 60☼
Re: Weeeeird z-level stuff.
« Reply #2 on: February 04, 2008, 07:47:00 pm »

Is that diagram show from above or from the side?

The number you are reading is "how far from the surface. If you are on grass, then it should be 0...since it IS the surface
The mountain, i guess, should be -1. It is 1 level below the surface.
If it occasionaly says "-2" or something, move up a few floors and see if there is an extra level of mountain on that square on that Z level.

By the way, the other number (that is often in the 100's) is the "total elevation". That's based on sea level or something. The number you are looking at is the "relative elevation" based on how far to the surface.

Logged
Kagus: "Still, demonic spelunking is always a promising idea."

nunix

  • Bay Watcher
    • View Profile
Re: Weeeeird z-level stuff.
« Reply #3 on: February 04, 2008, 07:59:00 pm »

Ah yeah, thanks also to IRC folk for answering as well.

So follow-up: is there a way to get the Z to display "real"/sea level/total elevation as opposed to relative?

(and yes, that's from above)

Logged

apache1990

  • Bay Watcher
  • Arena Master
    • View Profile
    • Bay Watcher Arena V2.0!
Re: Weeeeird z-level stuff.
« Reply #4 on: February 04, 2008, 08:01:00 pm »

The number near the bottom of that bar should show it.

nunix

  • Bay Watcher
    • View Profile
Re: Weeeeird z-level stuff.
« Reply #5 on: February 04, 2008, 08:37:00 pm »

Aha! So it does. Well now my foolishness is complete.
Logged