Selectable Load/Unload and auto-refit suggestions
Moderator: TTDPatch Moderators
Selectable Load/Unload and auto-refit suggestions
Did a quick search for these and couldn't find anything. One of these suggestions goes hand-in-and with the other. Basically, waht I'm wondering is if it's possible to add an option to unload specific cargoes at a station and refit cars depending on cargo.
Scenario 1
A----------------B
Train hauling steel from A to B. Mill in town A, Factory in town B, town A accepts goods. Right now, you need 2 trains with 2 sets of locomotives and rolling stock to haul these 2 cargoes. Depending on the type of rolling stock (coil cars for instance wouldn't be able to do this), only one train could be used. Train 1 hauls steel slabs on flatcars from A-B, and the flatcars are automatically refitted to goods, reloaded with goods and sent back to A, repeating the cycle.
This would streamline networks, remove some unneccisary deadheading and make things more efficient (not to mention realistic)
Some things wouldn't be able to be done, for instance refit a food tanker to oil. these options would need to be set in the particular train grf.
Scenario 2
Train carrying oil, steel, lumber and goods. Drop off only thr steel and lumber at a specific intermediate station, where it's picked up by a local on a branch, which hauls the steel and lumber to a factory and returns to the interchange point with goods.
Is this possible?
Scenario 1
A----------------B
Train hauling steel from A to B. Mill in town A, Factory in town B, town A accepts goods. Right now, you need 2 trains with 2 sets of locomotives and rolling stock to haul these 2 cargoes. Depending on the type of rolling stock (coil cars for instance wouldn't be able to do this), only one train could be used. Train 1 hauls steel slabs on flatcars from A-B, and the flatcars are automatically refitted to goods, reloaded with goods and sent back to A, repeating the cycle.
This would streamline networks, remove some unneccisary deadheading and make things more efficient (not to mention realistic)
Some things wouldn't be able to be done, for instance refit a food tanker to oil. these options would need to be set in the particular train grf.
Scenario 2
Train carrying oil, steel, lumber and goods. Drop off only thr steel and lumber at a specific intermediate station, where it's picked up by a local on a branch, which hauls the steel and lumber to a factory and returns to the interchange point with goods.
Is this possible?
Regards,
Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
CN Boxcar drawn by Dave Hersrud
Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
CN Boxcar drawn by Dave Hersrud
Re: Selectable Load/Unload and auto-refit suggestions
An automatic refit after unloading at a station that has a different product waiting for pick up, provided the unloading train has appropriate wagons refitable to that product?
I like that idea.
I like that idea.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Selectable Load/Unload and auto-refit suggestions
I have thought of suggesting something very similar:
A (coal mine, iron ore mine) <---------------------> B (steel mill, power station)
A train with open hopper wagons is travelling A <--> B, with this patch active the game compares produced cargoes (coal and iron ore) and accepted cargoes (coal and iron ore) on the train's route, the wagons are then automatically refitted to carry whichever cargo there is more of currently waiting.
C (coal mine, iron ore mine) <---------------------> D (steel mill, factory)
A train with open hopper wagons is travelling C <--> D, the game compares produced cargoes (coal and iron ore) and accepted cargoes (iron ore), only iron ore is accepted on the train's route, so the wagons are automatically refitted to iron ore and then don't change.
A (coal mine, iron ore mine) <---------------------> B (steel mill, power station)
A train with open hopper wagons is travelling A <--> B, with this patch active the game compares produced cargoes (coal and iron ore) and accepted cargoes (coal and iron ore) on the train's route, the wagons are then automatically refitted to carry whichever cargo there is more of currently waiting.
C (coal mine, iron ore mine) <---------------------> D (steel mill, factory)
A train with open hopper wagons is travelling C <--> D, the game compares produced cargoes (coal and iron ore) and accepted cargoes (iron ore), only iron ore is accepted on the train's route, so the wagons are automatically refitted to iron ore and then don't change.
Re: Selectable Load/Unload and auto-refit suggestions
Now that there are Patch-special orders, this might not be as impossible as previously thought. But when I last looked, I wasn't able to make sense of the changes. I'll try to remember to look in January, if this hasn't already been implemented.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Selectable Load/Unload and auto-refit suggestions
hmm, I don't like the idea of the game automatically figuring out which cargos to transport. I rather do it manually.
Still, I like the ideas of having a train refit at a certain station or the unload of a certain cargo at 1 specific station, but I would prefer to manually set such orders. Or at least, if it goes automatically, have an option to tell a specific train not to load anything at a certain station, just to make sure that my goods won't go to some strange place where I don't want them to go.
Still, I like the ideas of having a train refit at a certain station or the unload of a certain cargo at 1 specific station, but I would prefer to manually set such orders. Or at least, if it goes automatically, have an option to tell a specific train not to load anything at a certain station, just to make sure that my goods won't go to some strange place where I don't want them to go.
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
*** Visit my transport related pictures on Flickr ***
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
Re: Selectable Load/Unload and auto-refit suggestions
If the "refit as an order" patch can be implemented then presumably it would be simple to add a switch, on top of refit orders, to allow automatic refitting if desired.
Re: Selectable Load/Unload and auto-refit suggestions
I don't like having the game do it automatically either.The Irish wrote:hmm, I don't like the idea of the game automatically figuring out which cargos to transport. I rather do it manually.
I looked again; and my brain broke trying to safely store the cargo type in a single byte. I know it can be done, but I don't know how.Zephyris wrote:If the "refit as an order" patch can be implemented
I doubt it. The game would have to consider the cargo available at the current station, the cargos accepted at each other station in the order list, plus the current ratios of cargos at the current station and any stations it would have to carry cargo through to deliver some other type to its final destination. Then it would have to predict how those numbers would change and the time required to make the deliveries. Once it did all that, it would have to figure out which cargo arrangement would create the most profit, keeping in mind that not all wagons can be refitted to all cargos.Zephyris wrote:then presumably it would be simple to add a switch, on top of refit orders, to allow automatic refitting if desired.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Selectable Load/Unload and auto-refit suggestions
Very good point, I hadn't considered the difficulties of multiple types of wagon.
Re: Selectable Load/Unload and auto-refit suggestions
I should have been a bit clearer, I wasn't thinking about automatically refitting, I was thinking more on a "by order" basis. That way any cars that could be refitted to the "other" cargo would be, but it would only be if I want it to.
Hope this made sense
Hope this made sense
Regards,
Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
CN Boxcar drawn by Dave Hersrud
Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
CN Boxcar drawn by Dave Hersrud
Re: Selectable Load/Unload and auto-refit suggestions
Thats close to how "refit-to" order works in openttd, you give a train a order in the orders list to go to a specific depot, then you select the order, and "refit" becomes available where you can choose what cargo to refit when the vehicle goes to the depot to refit.
Re: Selectable Load/Unload and auto-refit suggestions
I got that refit order working, finally.
But not quite how it works in Open: You order the train to a depot, and then, if you want a refit, you add a separate refit order. If you want multiple refits at a single depot, you add multiple refit orders after the go-to-depot order.
But not quite how it works in Open: You order the train to a depot, and then, if you want a refit, you add a separate refit order. If you want multiple refits at a single depot, you add multiple refit orders after the go-to-depot order.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Selectable Load/Unload and auto-refit suggestions
Sounds great. Is it ready for testing yet?
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
*** Visit my transport related pictures on Flickr ***
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
Re: Selectable Load/Unload and auto-refit suggestions
I assume this is available as of r1808. Are there any new switches to set?DaleStan wrote:I got that refit order working, finally. ...
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Selectable Load/Unload and auto-refit suggestions
Yes, ready for testing, No, 1809. And no new switches.
It shows up if you've got advorders on. (And have a refittable vehicle, of course.)
It shows up if you've got advorders on. (And have a refittable vehicle, of course.)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Selectable Load/Unload and auto-refit suggestions
Tomorrow morning then as the current nightly is at 1808.DaleStan wrote:Yes, ready for testing, No, 1809
EDIT I downloaded and installed r1811. I verified advorders on. I bought an engine and a highly refitable boxcar. I gave the train some orders including a goto depot order. I did not see a "refit" button nor anything similar with which to add a refit order. I Ctrl clicked on everything in the train's order window. No luck. Am I missing something or is the feature not ready for prime time yet?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Selectable Load/Unload and auto-refit suggestions
Could you add any of the other advanced orders? If advorders is on, control-clicking on the goto button will cause a dropdown to appear. If the consist cannot be refit, the "Refit consist" order will be greyed out, but it shouldn't not be there.
There are known bugs with ships and aircraft. Some have been fixed in 1812, others I am still working on. (Also, the artic-RV refit bug applies here exactly as it does in the refit window.)
There are known bugs with ships and aircraft. Some have been fixed in 1812, others I am still working on. (Also, the artic-RV refit bug applies here exactly as it does in the refit window.)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Selectable Load/Unload and auto-refit suggestions
control-clicking - rtfm = Ctrl - two of them - try the right one - MENU - try the left one - MENUDaleStan wrote: control-clicking on the goto button will cause a dropdown to appear.
Make note to self to not try this kind of stuff without a full load of caffeine.
Stay tuned for screamies or screenies.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Selectable Load/Unload and auto-refit suggestions
I'm seeing neither. Is this a good thing or a bad thing?wallyweb wrote:Stay tuned for screamies or screenies.
Anyway, the remaining known issues (except the RV-refit bug) were fixed or concealed[0] in 1813.
[0] Nearest-depot orders for non-rail vehicles are broken. If anyone[1] can come up with an arrangement where they're useful, I'll fix and re-enable them.
[1] Yes, including Rob.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: Selectable Load/Unload and auto-refit suggestions
It's a mixed thing. I am seeing an issue but it might not be your feature's problem other than it highlighted a problem that exists elsewhere. I need to try PikkaBird's and George's cargo schemes before I hang myself out to dry.DaleStan wrote:I'm seeing neither. Is this a good thing or a bad thing?wallyweb wrote:Stay tuned for screamies or screenies.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Selectable Load/Unload and auto-refit suggestions
gotodepot.asm:743
Sorry, I should have realised that that wouldn't work for all vehicle types...
I can't think of a reason why you'd ever use it with non-rail vehicles, so that's probably why it never got tested...
Code: Select all
call [FindNearestTrainDepot]
I can't think of a reason why you'd ever use it with non-rail vehicles, so that's probably why it never got tested...
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Who is online
Users browsing this forum: No registered users and 17 guests