Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How mine carts could work, simply.  (Read 881 times)

billw

  • Bay Watcher
    • View Profile
How mine carts could work, simply.
« on: July 16, 2010, 11:38:58 am »

Maybe this is obvious, but in case it hadn't been thought of:
Use the "take from stockpile" mechanic: set up your main stockpile, set up other stock piles at the place where you want items to come from (e.g. your dig site). Build track between the locations (has be adjacent to the stock piles?). Any spare carts are automatically added to the track (can be limited just like stock pile bin/barrel limits). Forget about collisions, just assume all the track is doubled. Then you set the "take from stock pile" settings on the main stock pile, and target the source stock piles.
From then on the dwarves can just use the carts automatically (obviously it needs a bit of AI work for the dwarf to check if there is a route via cart, then to find the nearest cart that's free and go get it, but its not complex compared to some of the other game mechanics).
So if you are chopping a bunch of trees:
1) set up your main stock pile next to your carpenters workshop (the "terminal").
2) set up a source stock pile at the location you are chopping (a "station").
3) set the "terminal" to take from the "station"
4) build a track from the "terminal" to the "station" making sure it is adjacent to both at some point
5) build some carts
6) make sure some dwarves have wood hauling
7) start chopping trees. Firstly a dwarf will move chopped wood to the nearest stockpile, which is the "station". Then another dwarf will grab a cart, run up the track, fill it with wood and haul it all back to the "terminal".
Logged

profit

  • Bay Watcher
  • Finely Crafted Engravings... Or it didn't happen.
    • View Profile
Re: How mine carts could work, simply.
« Reply #1 on: July 16, 2010, 12:04:08 pm »

=)

Looks like a valid method of them working.

....

However just to warn you the idea of mine carts has been suggested before there may be some forum police around that will inform you you should have used the search feature.   I think they mean well but sometimes they can be a bit gruff.
Logged
Mods and the best utilities for dwarf fortress
Community Mods and utilities thread.

Grendus

  • Bay Watcher
    • View Profile
Re: How mine carts could work, simply.
« Reply #2 on: July 16, 2010, 12:11:57 pm »

This is a new take on mine carts, and one that I like. I would chew you out about the dozens of others, but I hate thread necromancy more than I have repetitive ideas, so I like it.

I think this covers most of the AI issues with hauling multiple items. Similar to other suggestions (like loading zones, where a pack animal is loaded with anything not forbidden in a designated area and then dumps it all in a selected unloading area), this takes the bulk of the AI stress off the engine and puts it on the player. Wouldn't exactly be efficient (I imagine that laying long tracks would get expensive, if we assume the material cost is similar to axles then one iron/steel bar and one log equals 3 rails), but for permanent hauling it would be awesome. I like.
Logged
A quick guide to surviving your first few days in CataclysmDDA:
http://www.bay12forums.com/smf/index.php?topic=121194.msg4796325;topicseen#msg4796325

billw

  • Bay Watcher
    • View Profile
Re: How mine carts could work, simply.
« Reply #3 on: July 16, 2010, 12:26:24 pm »

=)

Looks like a valid method of them working.

....

However just to warn you the idea of mine carts has been suggested before there may be some forum police around that will inform you you should have used the search feature.   I think they mean well but sometimes they can be a bit gruff.

Yeah, I know, its in the development page as a future feature. This was meant to be a suggestion on how to implement it. The user interface for DF is already complex enough without adding another set of buildings that have to be built to use mine-carts. So why not just use the features that are already there. I thought it made so much logical sense to do it this way I couldn't help but post it :)
Logged

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: How mine carts could work, simply.
« Reply #4 on: July 16, 2010, 12:31:08 pm »

However just to warn you the idea of mine carts has been suggested before there may be some forum police around that will inform you you should have used the search feature.   I think they mean well but sometimes they can be a bit gruff.

Grrrrr.
License and forum registration, sir.
Grrrrrr.
Logged
A thousand million pool balls made from precious metals, covered in beef stock.

NW_Kohaku

  • Bay Watcher
  • [ETHIC:SCIENCE_FOR_FUN: REQUIRED]
    • View Profile
Re: How mine carts could work, simply.
« Reply #5 on: July 16, 2010, 05:01:08 pm »

Forum cops here, sir.

While "minecarts" are indeed old news, there was actually another thread a couple weeks back which was called "An honest-to-god SIMPLE idea for the dreaded minecarts".

I commented on that one, and would basically just say the same thing again.

edit: In fact:
Hmm... I would honestly prefer something more like a conveyor belt, myself.

Rails are designated and constructed, and basically have a single, set pattern (albiet changable with levers and pressure plates, so we can get technical with it), and have points where they will accept materials, and points where they will then drop those materials off.  They can move faster than regular dwaves, but more importantly, they would have the advantage of not needing to pathfind, since they have a single set path, and be capable of carrying a much larger set of items at once.

Such a system would let you replace some of your typical haulers by simply carting the wood directly to the furnaces, or at least directly to the stockpile right next to the furnaces.

Basically, the difference being that the cart works autopilot, dwarves just dump into the loading station, then dump them off at the target station, where someone else might have to carry the goods to specific parts of the warehouses.  Carts can be powered by riding dwarves or livestock like oxen.

I still want my conveyor belts that can pump goods direclty from workshop to workshop, though.
« Last Edit: July 16, 2010, 05:04:43 pm by NW_Kohaku »
Logged
Personally, I like [DF] because after climbing the damned learning cliff, I'm too elitist to consider not liking it.
"And no Frankenstein-esque body part stitching?"
"Not yet"

Improved Farming
Class Warfare

billw

  • Bay Watcher
    • View Profile
Re: How mine carts could work, simply.
« Reply #6 on: July 16, 2010, 06:00:03 pm »

The problem with the solution in that thread (imo) is that it is too easy. Mine-carts should be something that takes a little effort, and, obviously, real mine carts have (had? I guess now-a-days mines use conveyors etc.) rails. Still, as is becoming apparent, mine-carts have had enough discussion, so I will shut up now.
Logged

Solace

  • Bay Watcher
    • View Profile
Re: How mine carts could work, simply.
« Reply #7 on: July 16, 2010, 06:38:01 pm »

Well it's not like it's hard for dwarves to carry things around right now, if you make the carts too hard to set up no one will bother. :P
Logged