Crashy WIP - Multistory Buildings

After the brief discussion of other ways of nicer ways to show hostiles on levels above you DarklingWolf suggested I dig out the old z-level stuff I started for pre DDA Cataclysm. As I had some free time this weekend here it is mostly merged in and stuck in github.

This is not under mods right now because it’s not even working well enough to count as a mod, it’s very broken and crashy, even by my standards ;D

There are also a few ‘issues’ with how it displays things, first up in that item highlights are showing even for floors we aren’t on. Notice just above the look around cursor there is things in the wall, really they are in the door way on the ground floor where I broke in.

Next up we can see me trying to jump out the window, here I just copied the standard trap messages but tell you the number of floors.
Jumping down one story is boring though so…

Up we go :smiley: Notice that the view looks the same as my tower blocks are generated empty other than the stair well and there is no way of showing how far down the outside world is. I made it grey (which could have also meant night :slight_smile: but that is the best I could think of. If anyone has any ideas please let me know.

Turns out jumping that far was fatal, I may have overdone the damages somewhat. Also I notice there is no windows on the ground floor, would suck to live in those flats…

I’m fairly sure you can get melee attacked through floors too but I’ve not managed to get that to reproduce yet. Also if your high up and save sometimes the game crashes and destroys your world, it’s just a issue with the way I hacked in the submap support but haven’t gotten around to fixing it yet.

Really I think we need to rewrite the map code for this to work nicely, also sorry about the size of the images.

Things to do:

  • stop it crashing
  • make tower blocks generate sensible flats and only in cities (currently they replace all houses just so I can test it)
  • look around doesn’t report sensible on open spaces
  • items and traps are broken with reporting
  • path finding between levels does not work
  • think of a way to show how far down the ground is
  • make lighting support z-levels
  • should not be able to see into ground floor buildings from high up
  • look up / down scrolling in look around
  • display for hostiles on higher / lower ground
  • better fall damage
  • walkways
  • bridges actually using z-levels so you can sail/swim under them
  • see roofs of lower buildings (rather than the inside floor)

Wow, that’s really nice.
I wish you good luck and I hope this once gets added to the main game, too!

(Of course if you want it)

Appartaments. I want to have a fortress in a skycrapper. Best fortress 2013-2014-2015-2016-2017…

I want to be able to build skyscrapers.
three thousand stories tall. Elevator on the top
Rope
Railing to prevent flying things
enough food up there to last a year
power

You might have to deforest the map for that…

I can just imagine you building the tower of babel… Then one day for whatever reason it will all just burn down into a pile of nails >_<

Managing to get it to recognize damage below it is going to be hard. Are there any enemies that can set things on fire currently?

Lightning storms can to my knowledge. At least got the advice to stay away from gas stations during storms.

Lightning storms can to my knowledge. At least got the advice to stay away from gas stations during storms.[/quote]
Lightning rod?

+20 for this. I’ll be more than happy to throw a molotov and be able to fly out of 7th floor. Can you jump between houses? Parkour Expert would finally get some use.

[quote=“Jihelu, post:4, topic:312”]I want to be able to build skyscrapers.
three thousand stories tall. Elevator on the top[/quote]

Currently your only allowed 8 floors (and the ground floor), otherwise you run into the tutorial map (which for some reason is at z-levels 9 & 10)

Technically you could use construct to build between buildings although I’ve not tried it. You’ll get an issue if the buildings are directly next to each other though (as in adjacent submaps) as the ones in between don’t actually exist in the world.

Parkour has a use. no cost for fences and such.