Bay 12 Games Forum

Please login or register.

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

Author Topic: Minecart Routing Project  (Read 10259 times)

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #15 on: January 11, 2016, 01:23:47 pm »

A good way to handle "Where needs what?" input is to use minecarts on pressure plates instead of traditional stockpiles at the destination.

This. Wow. That's a really great idea. Minecart without enough weight triggers some circuitry to indicate "need more food here", then the router switches to that destination. Can one minecart dump into another? Button, I am not sure if I should thank you or curse you, because now I have to do this.

I don't think a minecart can dump into another, but if you dump into a stockpile and then have the weight-sensing minecart pull from that stockpile, I think that should be sufficient. Particularly if you also add a "cooldown" to the track, to prevent another minecart from being sent along before your dwarves have had a chance to load up your weight-sensor minecart.

I got started on a similar idea once upon a time, but got bored before I got it working :D. I made a table of the best materials for minecart weight-based switching on the wiki before the boredom set in, though.
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

gnidan

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #16 on: January 11, 2016, 01:39:26 pm »

I made a table of the best materials for minecart weight-based switching on the wiki before the boredom set in, though.

Oh hey! Neat! I definitely stared at that table/section for a long time, before I decided I didn't mind setting up hauling routes for each source/destination.
Logged

Detros

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #17 on: January 11, 2016, 02:08:16 pm »

Can one minecart dump into another? Button, I am not sure if I should thank you or curse you, because now I have to do this.
Beside minecarts dipped in water/magma, I think there is no other way to put items into minecarts then via dwarves. Though you can achieve minecarts in minecarts...
« Last Edit: January 11, 2016, 02:13:25 pm by Detros »
Logged
Beside other things, bay12forums is also the leader website in calculations of saguaro wood density.
(noted by jwoodward48df)

Innocent Dave

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #18 on: January 11, 2016, 02:38:56 pm »

Do dwarves have access to items in minecarts the same way they would in a traditional stockpile?
Logged
Reaching one's life goal shouldn't come with a happy thought.  It should come with a sudden existential crisis.

gnidan

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #19 on: January 11, 2016, 02:52:20 pm »

Do dwarves have access to items in minecarts the same way they would in a traditional stockpile?

Almost certainly not. I guess you'd have to use the weight-trigger minecarts as a buffer, giving to a stockpile. So haulers would theoretically keep the stockpile full, from the cart, and the routing system would be designed to keep the cart full.

EDIT: Button elucidates all
« Last Edit: January 11, 2016, 02:55:52 pm by gnidan »
Logged

gnidan

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #20 on: January 11, 2016, 02:53:27 pm »

Beside minecarts dipped in water/magma, I think there is no other way to put items into minecarts then via dwarves. Though you can achieve minecarts in minecarts...

Can you dump through a channel into another minecart?
Logged

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #21 on: January 11, 2016, 02:54:45 pm »

Do dwarves have access to items in minecarts the same way they would in a traditional stockpile?

Yep!

The differences I'm aware of between minecart storage and stockpile storage (other than storage space and mobility) are:
  • Dead things in minecarts don't rot or cause negative thoughts.
  • Minecarts currently have a bug where if they're linked to a stockpile which has no empty squares and at least one of those squares is occupied by something the minecart doesn't want, the minecart won't generate jobs to pull what it does want.
  • Items need to be explicitly placed into minecarts by dwarves - they can't just be dropped in.
« Last Edit: January 11, 2016, 04:20:01 pm by Button »
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

greycat

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #22 on: January 11, 2016, 03:33:11 pm »

Can you dump through a channel into another minecart?

Unless this has changed recently, no.  The item just lands on the same tile as the minecart, but not inside the minecart.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Detros

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment: Success!
« Reply #23 on: January 11, 2016, 03:52:07 pm »

Can you dump through a channel into another minecart?

Unless this has changed recently, no.  The item just lands on the same tile as the minecart, but not inside the minecart.
Imagine what could be done if DF just have something like Minecraft hoppers.
Logged
Beside other things, bay12forums is also the leader website in calculations of saguaro wood density.
(noted by jwoodward48df)

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: Minecart Routing Experiment
« Reply #24 on: January 12, 2016, 09:13:14 am »

I suppose you could also use a pressure plate under a stockpile(is that possible? Too lazy to find out.). Once you're under a certain threshold, the pressure plate kicks off, and the minecart gets pushed into the next destination.

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Minecart Routing Experiment
« Reply #25 on: January 12, 2016, 10:03:55 am »

I suppose you could also use a pressure plate under a stockpile(is that possible? Too lazy to find out.).

Nope!
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

Detros

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment
« Reply #26 on: January 12, 2016, 10:04:04 am »

I suppose you could also use a pressure plate under a stockpile(is that possible? Too lazy to find out.). Once you're under a certain threshold, the pressure plate kicks off, and the minecart gets pushed into the next destination.
DF wiki: "You will be prompted to enable what type of things should trigger the plate (water, magma, creatures, minecarts, or some combination of the four)."
Items themselves can't trigger pressure plates, it seems.
Logged
Beside other things, bay12forums is also the leader website in calculations of saguaro wood density.
(noted by jwoodward48df)

Di

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment
« Reply #27 on: January 12, 2016, 12:46:11 pm »

Complicated and ineffective. A true dwarven project. I bow to you.
Logged
Quote from: Creamcorn
Dwarf Fortress: Where you meet the limit of your imagination, moral compass, sanity and CPU processor.
http://www.bay12forums.com/smf/index.php?topic=103080.0 Fix sober vampires!
http://www.bay12forums.com/smf/index.php?topic=91442.0 Dwarven Cognitive Science

gnidan

  • Bay Watcher
    • View Profile
Re: Minecart Routing Experiment
« Reply #28 on: January 24, 2016, 11:43:27 pm »

Preview update re: routing projects:

So I lost my fort, but that's okay, now I have a better fort! And I'm building routing systems for 16 different routes, using lots of the same shared track. It's been a design process and a half.

Anyway, I got the biggest part of it done: the track waiting/release circuitry. Here's a screencap of a minecart in action, patiently waiting at each intersection before it proceeds :D

Spoiler (click to show/hide)

Working on building the route circuitry next, to get the correct rollers turning on at the correct time. Almost done!
Logged

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: Minecart Routing Experiment
« Reply #29 on: January 25, 2016, 04:16:08 pm »

I have a working minecart automatic loader using DFHack. Combined with my automatic cart launcher, item sorter, and transport belts it allows fully automated hauling.

Combine automated hauling with automated (DFHack powered) workshops (which I also have) and you can create fully automatic production lines...

Of course you need to have DFHack installed, and you need a bunch of custom scripts to run everything, but a fully automatic "wood->large ash glazed ceramic pot" factory (one of many possibilities) is a fun engineering challenge (using an automated clay gather for the other raw material, and wood for both ash and charcoal).

Currently the only way to use these workshops in in the First Landing mod, but I had a version that worked with vanilla as well, I just haven't updated it to 42.x yet...



Of course automated logistics machines only help with getting the items to/into the carts, actually getting them to their destinations is much more complicated. Your effort is truly first rate, and far better than I would have the patience to do.
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS
Pages: 1 [2] 3