Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: [40d] Dwarfs fail to path back up via ramps  (Read 1177 times)

Core Xii

  • Bay Watcher
    • View Profile
[40d] Dwarfs fail to path back up via ramps
« on: September 19, 2008, 06:33:07 pm »

My 3 miners are just standing still in the basement they just dug, and I see no valid reason why they couldn't get out. The ramps they dug just a minute ago are right there, yet they're dying of thirst down there.

Save here
Logged
Reality is for people who lack imagination

kaypy

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #1 on: September 19, 2008, 07:39:35 pm »

Those ramps dont go anywhere.

For a ramp to work, it needs to be adjacent to a wall with walkable space atop it:

Code: [Select]
z    z+1

^#  v.

While your ramps are adjacent to walls, the landing is blocked off by more rock.

Try either digging out certain of the walls, or making some walls:

Code: [Select]

#...####      ########
#======#      #......#
#======#      #......#
#======#  or  ###..###
#======#      #.^#.v #
#======#      #^....v#
##...###      ########
#.v..^.#     
#v....^#     
########     
Logged

TheDeadlyShoe

  • Bay Watcher
  • Blog not found
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #2 on: September 19, 2008, 08:14:16 pm »

Ah dammit.  I knew I forgot something.
Logged
Lord have mercy and let me not throw up in this space helmet.

Core Xii

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #3 on: September 20, 2008, 06:43:25 am »

Holy crap, I had no idea ramps were that detailed! Guess stairs would fit the bill here?

I don't understand why ramps need a wall next to them. It makes no sense. You can build an entire tower supported by a single tile of... hell, SOAP, yet you can't build a simple ramp without such pointless support?
« Last Edit: September 20, 2008, 07:05:00 am by Core Xii »
Logged
Reality is for people who lack imagination

kaypy

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #4 on: September 20, 2008, 09:08:55 am »

Yeah, they are kinda tricky till you know the secret...

As to why they are that way, I suspect it comes down to controls:
Consider adventurer mode. When going up slopes, you dont want to have to hit climb each time when you are just walking up a hill. So in order to go up/down ramps, it needs to work out where you are going simply based on your directional choice. Thus, to correctly select a new level, it must be the only option for that direction.

Now make characters you dont directly control follow the same rules, and you pretty much have the situation we see in DF.
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #5 on: September 20, 2008, 02:02:24 pm »

I don't understand why ramps need a wall next to them.

Not the best picture, but...


The upper ramp isn't valid, because there's nothing to hold it up (so to speak).  If it were a wall then the lower ramp wouldn't work because there's no place to stand once used.
Logged

Core Xii

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #6 on: September 20, 2008, 02:05:29 pm »

I just wonder what prevents them from doing this:

Logged
Reality is for people who lack imagination

Neoskel

  • Bay Watcher
  • Read or the owl will eat you.
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #7 on: September 20, 2008, 04:21:21 pm »

The wall is needed so that the games knows which way the ramp is facing. Ramps 'run up' the side of any walls they're adjacent to, including diagonally. So the upper ramp in



would be 'facing' the two walls diagonal to it and could be walked up.
« Last Edit: September 20, 2008, 04:26:06 pm by Neoskel »
Logged
Urist Mcsurvivalist has been accosted by edible vermin lately.

Goblins: The fourth iron ore.

Draco18s

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #8 on: September 21, 2008, 01:30:29 am »

I just wonder what prevents them from doing this:



If I knew, I wouldn't be posting.

(Also: the original image the ramp is technically valid due to two diagonal walls adjacent to it).
Logged

eerr

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #9 on: September 21, 2008, 09:41:01 pm »

the ramps have to be built second
Logged

Cavalcadeofcats

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #10 on: September 21, 2008, 11:27:40 pm »

You, sir, are confused.
Logged

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #11 on: September 22, 2008, 09:34:17 am »

Am I the only one who ignores ramps and builds stairs only?  ;D
Logged

Derakon

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #12 on: September 22, 2008, 10:29:35 am »

Ramps are important for getting caravans access to underground depots, but otherwise they're generally not worth the effort.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Core Xii

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #13 on: September 22, 2008, 10:54:42 am »

I like ramps better because they have more intuitive symbols. Up arrow is up, down arrow is down, rather than the weird left and right arrows of the stairs. Can never tell which way they really go.
Logged
Reality is for people who lack imagination

Calessa Lynn Orphiel

  • Bay Watcher
    • View Profile
Re: [40d] Dwarfs fail to path back up via ramps
« Reply #14 on: September 22, 2008, 12:00:43 pm »

It's a staple from Rogue-likes.  Also, ramps kinda limit your architectural design options, stairs really don't have the limitations...
Logged
Pages: [1] 2