Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Designate Minecart route as riding route.  (Read 710 times)

sweitx

  • Bay Watcher
  • Sun Berry McSunshine
    • View Profile
Designate Minecart route as riding route.
« on: May 27, 2013, 04:38:26 pm »

I'm surprised that this wasn't suggested before.
My idea here is that you can designate a minecart route as passenger route.
When dwarf tries to reach its destination through pathfinding (assuming A* pathfinding algorithm). Once it encounter a stop that part of a desginate Minecart route, it will take that route into consideration based on an assumed speed on the route (say, assume the cart always travels at 0.25 tiles/tick).
For multiple dwarfs using the same stop, each successful path using the stop will increase that stop's pathing cost by a certain amount (so you don't get all your fortress dwarf waiting at the stop because the route using that stop is the "shortest" for them all).

So, you can setup a kind of minecart network that allow you to shuttle dwarfs over long distance automatically (they'll take a cart to get there if it's a shorter route, or the only route).

Logged
One of the toads decided to go for a swim in the moat - presumably because he could path through the moat to my dwarves. He is not charging in, just loitering in the moat.

The toad is having a nice relaxing swim.
The goblin mounted on his back, however, is drowning.

10ebbor10

  • Bay Watcher
  • DON'T PANIC
    • View Profile
Re: Designate Minecart route as riding route.
« Reply #1 on: May 28, 2013, 03:24:15 pm »

Suggested before. More than once, I believe.
Logged

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Designate Minecart route as riding route.
« Reply #2 on: May 29, 2013, 04:35:52 pm »

Suggested before. More than once, I believe.
Indeed.

It's also a little silly. Minecarts are, shockingly enough, made to make carrying bulk amounts of goods easier, not transport. There's a reason Paris doesn't have elevated minecart tracks; they're just not good transport. They're not even that good in DF!
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.