Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: travelling through corners = 3 dimensional?  (Read 431 times)

KainInt

  • Bay Watcher
    • View Profile
travelling through corners = 3 dimensional?
« on: March 18, 2012, 01:48:40 am »

So, I know that in a situation like this:
Code: [Select]
ooo
oao
boo
Where o = walls, a creature could get from a to b.

But in a situation where level 1 is:
Code: [Select]
ooo
oao
ooo
And level 2 is
Code: [Select]
...
.o.
b..
Where . is a floor, would a creature be able to go from a to b?
Logged

Imp

  • Bay Watcher
    • View Profile
Re: travelling through corners = 3 dimensional?
« Reply #1 on: March 18, 2012, 02:28:07 am »

The only way to pass between z levels is to use a ramp or stairs, or to fly or fall.

Creatures never choose to fall, save for a few enthusiastic dodging miscalculations.

Creatures that cannot fly and are not forced to dodge will be unable to move between b and a as you have drawn them.

I recommend you consider making some 'areas' like this in your fortress, then test with your own dwarves where they can and cannot reach by creating jobs across possible barriers.  Wall construction is an especially nice way to test such things because if there is no access to where the wall is being made, then the game will tell you so immediately instead of your having to wait for a dwarf to cancel the job or simply never attempt to do it.
« Last Edit: March 18, 2012, 02:30:14 am by Imp »
Logged
For every trouble under the sun, there is an answer, or there is none.
If there is one, then seek until you find it.
If there is none, then never ever mind it.

rhesusmacabre

  • Bay Watcher
  • UNDEAD-CANNOT BE ATTACKED
    • View Profile
Re: travelling through corners = 3 dimensional?
« Reply #2 on: March 18, 2012, 05:44:30 am »

The easiest way to test this sort of thing is to use the Arena. You can alter the configuration of the arena via "\data\init\arena.txt".

In your case, movement is not possible. In fact, it is not possible if there is just the one wall on z=1:

 z=1:   ...
        .a.
        o..

 z=2:    o    (extra wall for support)
         o
        b 
Logged

Garath

  • Bay Watcher
  • Helping to deforest the world
    • View Profile
Re: travelling through corners = 3 dimensional?
« Reply #3 on: March 18, 2012, 06:20:06 am »

if they're walls, they include a floor at the top, so it would make a complete roof if you build anything in the middle higher up.

if you build fortifications and somehow build the blocking 'center' tile, flyers are able to cross.

F= fortification
W= wall
. = empty space

side view over two levels.

.W.
F.W

fortifications don't come with the floor over it. It'll block creatures walking past, but flyers can slip from the empty left tile over to the middle tile. Since a wall provides a more complete block and acts as a floor for the higher level, it is impossible to slip from the center tile to the one on the right
Logged
Quote from: Urist Imiknorris
Jam a door with its corpse and let all the goblins in. Hey, nobody said it had to be a weapon against your enemies.
Quote from: Frogwarrior
And then everyone melted.

robertheinrich

  • Bay Watcher
    • View Profile
Re: travelling through corners = 3 dimensional?
« Reply #4 on: March 18, 2012, 10:24:44 am »

It should be mentioned that if in your second case "a" has a ramp then a creature could move diagonally up to level 2 even if there is a wall directly above that ramp. I learned that the hard way when a titan came to visit my fort...
Logged