Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Adjustable number of Z-levels above/below surface  (Read 761 times)

Night

  • Escaped Lunatic
    • View Profile
Adjustable number of Z-levels above/below surface
« on: July 31, 2008, 09:43:20 pm »

Please allow the number of Z-levels above and below the surface to be adjustable when starting a new fortress, perhaps via new init options?

In areas with high cliffs, the number of Z-levels being simulated can drop frame rates significantly.
Logged

Tamren

  • Bay Watcher
  • Two dreams away
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #1 on: July 31, 2008, 09:50:30 pm »

been mentioned before a couple of times.

It would also be handy if the game could take normal 3d map data and parse that into a retro 2d map where everything is flat and features are aligned in rows. Given the current architecture it would probably run a lot faster for slow computers.
Logged
Fear not the insane man. For who are you to say he does not percieve the true reality?

Puzzlemaker

  • Bay Watcher
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #2 on: July 31, 2008, 09:52:57 pm »

Dynaamiiiiccc Zzzzz Leeeveellllssss!!!!!1111one

Really though, dynamic fort sizes; imagine the fun!
Logged
The mark of the immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one.

Tamren

  • Bay Watcher
  • Two dreams away
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #3 on: August 01, 2008, 08:26:30 pm »

What exactly do you mean by dynamic in this case?

Add extra world space to an existing fortress if you find that its too small?
Logged
Fear not the insane man. For who are you to say he does not percieve the true reality?

SocietalEclipse

  • Bay Watcher
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #4 on: August 02, 2008, 04:30:11 am »

Please allow the number of Z-levels above and below the surface to be adjustable when starting a new fortress, perhaps via new init options?

In areas with high cliffs, the number of Z-levels being simulated can drop frame rates significantly.
Just as long as you can't cut the bottom to above the valley floor.  Else you would have people creating chasms/bottomless pits out of maps that shouldn't have them.  Though maybe somebody wants to play a 'fortress in the clouds' scenario where any misstep and their dwarves plunge into the void below. ;D
Logged

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #5 on: August 02, 2008, 12:00:25 pm »

Who says there's void below? If you've got the seed you could probably generate the data for an infinit number of Z-levels downwards.
Logged

Tamren

  • Bay Watcher
  • Two dreams away
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #6 on: August 02, 2008, 01:54:44 pm »

Adding new layers to the sky should be easy. There is nothing but open sky up there.

New underground layers might be tricky. If it has the seed info I don't see why it could randomize up some more stone layers.
Logged
Fear not the insane man. For who are you to say he does not percieve the true reality?

Neoskel

  • Bay Watcher
  • Read or the owl will eat you.
    • View Profile
Re: Adjustable number of Z-levels above/below surface
« Reply #7 on: August 02, 2008, 08:55:13 pm »

It would be cool if you could go deep enough to reach a layer of magma. I.e. 'magma aquifer'.

And the center of the earth filled with dinosaurs.  :P
Logged
Urist Mcsurvivalist has been accosted by edible vermin lately.

Goblins: The fourth iron ore.

JT

  • Bay Watcher
  • Explosively Canadian
    • View Profile
    • http://www.jtgibson.ca/df/
Re: Adjustable number of Z-levels above/below surface
« Reply #8 on: August 02, 2008, 10:12:49 pm »

An interesting concept with digging down is the rate of temperature increase.  Every appoximately 50 m of depth increases the ambient temperature by 1 kelvin (it's actually more complex than this -- a progression in relation to density -- but this is a close-enough approximation).  If we assume that each level is 3 m/10 ft, based on the scale of the most common creatures in the game (dwarves and humans), then it would take many thousands of Z-levels before you start getting uncomfortably hot.  But if we abstract that a bit so every level is a staggering 100 m, we can experience some gameplay-attractive temperature increases on relatively short order -- just 20 levels below the surface and you're already soared an additional 40 kelvin (+72 °F).

When you start approaching the melting points of rocks, they start getting soft and plastic, too, which would be another interesting game-play mechanic.  At 100 Z levels down, for instance, assuming you had some magical protection, it might be possible for the floor to give way and for you to get dumped into a magma pocket.  Ouch!

I believe Toady mentioned it's not really a big issue to allocate additional layers above or below the map in a previous Future of the Fortress thread.
« Last Edit: August 02, 2008, 10:16:56 pm by JT »
Logged
"The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" --George Carlin