Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: More pathfinding issues  (Read 450 times)

Avelon

  • Bay Watcher
  • [ETHIC:INDULGE_IN_MYSTICISM:UNTHINKABLE]
    • View Profile
More pathfinding issues
« on: April 18, 2010, 04:02:44 pm »

So, I was fortuitous enough to find an embark site with the magma tube exposed. I dug down to the caverns to get that over with, located a good spot near them (emergency drainage if necessary; I'll mostly build above this level), and dug out workshop space and then carved out the areas beneath, building ramps to connect the two levels. My miner finished excavating the area below and now can't find a path up the ramp he's standing next to to get back to the level above.

Is this an example of dwarven physics at work, and I've merely missed something obvious? Or is this an actual bug? Screens of the levels can be arranged for if necessary.
Logged
Is God willing to prevent evil, but not able? Then he is not omnipotent.
Is he able, but not willing? Then he is malevolent.
Is he both able, and willing? Then whence cometh evil?
Is he neither able nor willing? Then why call him God? - Epicurus

Areyar

  • Bay Watcher
  • Ecstatic about recieving his own E:4 mug recently
    • View Profile
Re: More pathfinding issues
« Reply #1 on: April 18, 2010, 04:09:11 pm »

make sure that there is a free floor at the upper side of the ramp.
If there is nowhere to stand, the dwarf will not be able to scale the ramp.

Code: [Select]

 0      -1
..+   ++#
.v+   +^#
..+   ++#
Logged
My images bucket for WIPs and such: link

Avelon

  • Bay Watcher
  • [ETHIC:INDULGE_IN_MYSTICISM:UNTHINKABLE]
    • View Profile
Re: More pathfinding issues
« Reply #2 on: April 18, 2010, 09:10:57 pm »

Floor adjacent to the slope on both sides should be sufficient, right?

Code: [Select]
Level 1    Level 2
++v|        ++^
++v|        ++^
Logged
Is God willing to prevent evil, but not able? Then he is not omnipotent.
Is he able, but not willing? Then he is malevolent.
Is he both able, and willing? Then whence cometh evil?
Is he neither able nor willing? Then why call him God? - Epicurus

Mini

  • Bay Watcher
    • View Profile
Re: More pathfinding issues
« Reply #3 on: April 18, 2010, 09:24:08 pm »

By looking at your diagram you seem to have something like this (from the side):
Code: [Select]
___ |
___^|
Where _ is a floor, | is a wall and ^ is the base of a ramp.

This won't work because ramps don't let dwarves teleport to the level above, the let them climb walls. You need this (also from the side):
Code: [Select]
   ___
__^|
Logged

Avelon

  • Bay Watcher
  • [ETHIC:INDULGE_IN_MYSTICISM:UNTHINKABLE]
    • View Profile
Re: More pathfinding issues
« Reply #4 on: April 18, 2010, 09:35:58 pm »

So if I have floor space to the left and a wall on the right, the ramp up requires floor space on the RIGHT of the upper layer, and left will not work?

i.e.
Code: [Select]
Side-view
++v| Upper z-level
++^| Lower z-level
Where + is floor, ^ and V are ramps, and | is a wall.

This won't work?


EDIT: Wait, I see now. The wall being climbed is right there on the right, and there is essentially empty space where the ramp is because a ramp requires a wall, unlike stairs.

Thanks! It took me a moment to see what you were talking about, Mini.
« Last Edit: April 18, 2010, 09:37:31 pm by Avelon »
Logged
Is God willing to prevent evil, but not able? Then he is not omnipotent.
Is he able, but not willing? Then he is malevolent.
Is he both able, and willing? Then whence cometh evil?
Is he neither able nor willing? Then why call him God? - Epicurus