Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Having trouble with carts across z-levels  (Read 5786 times)

koruth

  • Bay Watcher
    • View Profile
Having trouble with carts across z-levels
« on: May 14, 2012, 06:44:33 pm »

So I'm trying to setup a minecart track from my main stone stockpile to the specialist stockpile next to my main masonry workshop.  The problem is, I have the cart going under the stockpile (for safety and neatness reasons) and I can't seem to get it to go back up the ramps once it goes down them.

here's my setup:

Top floor:
Spoiler (click to show/hide)
Bottom Floor:
Spoiler (click to show/hide)

The ramp on the left goes E/W, the ramp on the right goes NW.  When laid out as diagrams, it all connected.

If I push a cart from the stockpile end, it'll go down the ramp but stop before it can go up to the mason's end.  I've tried putting a stop just before the mason's end and ordering a second push, but that just sends the minecart back into the dorf pushing it and causes accidents.  Guiding a cart fares little better.

If I start from the mason's end, something more interesting happens.  The cart refuses to budge from the cart-stop on the mason's end so long as it's guided.  If it's pushed, it'll go right on down.

I tried switching the mason-side ramp to omnidirectional.  That didn't help.  I also tried repositioning so there was one line of track before each stop on both sides of the top floor.  Didn't help.

Any ideas?
Logged

crekit

  • Bay Watcher
  • Doesn't know what he's talking about.
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #1 on: May 14, 2012, 06:58:02 pm »

Railgun.
Logged
<-- Has no idea what just happened.

He likes gold, native gold, trees that are made of gold, and tungsten. He likes cats for their haunting meows. He needs dwarf fortress to get through the working day. When possible, prefers to consume Potatoes, cheese, cow milk. Absolutely detests elves. And spiders.

koruth

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #2 on: May 14, 2012, 07:03:48 pm »

You mean rollers?  Not sure that'd help.  I've had a dorf pushing from 1 tile away from the ramp, and it just bounces back like there's a n improper pathing issue.

Edit:  No, it didn't help.  It only changed it from injuring the dwarves pushing the cart, to eviscerating them.
« Last Edit: May 14, 2012, 07:38:16 pm by koruth »
Logged

Syndic

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #3 on: May 14, 2012, 07:38:24 pm »

I too had trouble with a track where the minecart would've had to change direction on a ramp - it might be that they just don't handle that properly. will try whether allowing the minecart to travel over the ramp in a straight path and change direction a tile after the ramp will fix it when I get back home tomorrow.
Logged

rtg593

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #4 on: May 14, 2012, 07:45:58 pm »

I think you have to change the direction the cart is travelling before going up the ramp... The way you have it, it's hitting the ramp from the side, I think it needs to hit it head on.

Forgot to say I hadn't downloaded it yet ;-)
« Last Edit: May 15, 2012, 12:54:04 am by rtg593 »
Logged
Is it because light travels faster than sound,
that people appear bright until you hear them speak?

koruth

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #5 on: May 14, 2012, 08:23:19 pm »

If that's the case, I wonder what corner-piece ramp constructs are even for...
Logged

Syndic

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #6 on: May 15, 2012, 12:29:52 am »

Tried it again, turns out I had the stupid ramp (in my setup) set to north only when the tracks went north on the lower and east on the upper level. I fixed that by building a NE ramp and now it works fine for me, stupid syndic ::)

Not sure what's wrong in your case then if the eastern ramp is a NW one and you set the pushing/guiding to the right direction
Logged

Caevin

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #7 on: May 15, 2012, 01:03:26 am »

I ran into this exact problem myself earlier.

The solution: As counter-intuitive as it seems, only make your ramps face the direction of the next level they are going towards. For example, a ramp with the upper level north of it needs to only face north. Even when the cart goes both ways, it will run fine on it (It works for me at least!)
Logged

koruth

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #8 on: May 15, 2012, 02:21:56 am »

Hm... Almost but not quite.  I tried that, and it still looked the same when the dorf was guiding the cart (stuck on the stop) but when I set it to push, it started behaving unexpectedly.

It would appear down on the lower level for a few frames, then shoot back up the ramp.  Like it was bonking into the wall and rolling back up.  Which is what I should expect for a ramp like that.

Now I'ma try making the ramp straight N/S and putting a bend in the lower level so it's a straight shot up.

Edit:

IT'S ALIIIIIIVE!

I had to put a stop at the bottom layer and a second order to guide the cart up.  But it is now running and transporting loads of (test) granite into the mason's shop.  It's all sitting in that quantum stockpile looking pretty.

Oddly enough, the cart doesn't appear to go around the bend, it just goes straight onto the ramp.  But it doesn't work without the bend.
« Last Edit: May 15, 2012, 02:33:16 am by koruth »
Logged

Jon-Ace

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #9 on: May 23, 2012, 09:53:39 am »

Damn shame the ramps and stops are buggy. I'd rather not fix all my ramps for my 30+ z-level track.  :(
Logged

ab9rf

  • Bay Watcher
    • View Profile
    • ab9rf@github
Re: Having trouble with carts across z-levels
« Reply #10 on: May 23, 2012, 09:58:41 am »

It took me quite a while to figure out how to properly cut tracks on ramps.  Also be careful with going too fast down ramps as excessive speed will result in the cart going airborne, hitting the ceiling, and dumping its contents.
Logged

Jon-Ace

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #11 on: May 23, 2012, 10:29:49 am »

It took me quite a while to figure out how to properly cut tracks on ramps.  Also be careful with going too fast down ramps as excessive speed will result in the cart going airborne, hitting the ceiling, and dumping its contents.

That might explain why the three stops at high friction weren't working... the cart was flying over them!

Now to find the ramps in my track that causing the "!set dir" error...  ::)
Logged

foop

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #12 on: May 23, 2012, 10:38:10 am »

I found that when carving tracks on stone ramps it didn't work if I just carved the ramp square - then I got a ramp going in a single direction.  I had to stretch the designation across the ramp square to get a bidirectional ramp.

Having said that I'm having massive problems with constructed track ramps too, so maybe I'm just an idiot.
Logged

Jon-Ace

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #13 on: May 23, 2012, 04:48:19 pm »

I have a feeling ramps and multi-level carts are bugged for now. Bummer.
Logged

Jon-Ace

  • Bay Watcher
    • View Profile
Re: Having trouble with carts across z-levels
« Reply #14 on: May 24, 2012, 05:24:50 pm »

In addition:



Using the example, is there anything wrong with my route that spans 3 levels?

I don't see any problems, but apparently Dwarf Fortress thinks otherwise, and creating a route with the track stops as the route stops leads to the route not being "painted" and not being used correctly.


Thanks to a redditor over at the DF subreddit, I've been able to deduce that "corner" track ramps are currently broken.
« Last Edit: May 24, 2012, 06:28:53 pm by Jon-Ace »
Logged