Train Orders Question

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
kingmatt
Engineer
Engineer
Posts: 6
Joined: 25 Feb 2012 13:07

Train Orders Question

Post by kingmatt »

Hello

JPEG Screenshot:
Image

It may not be the most cost efficient way of getting oil from an oilfield to an oil refinery, but I'm just experimenting, I've only had OpenTTD for three days, after remembering how fun Transport Tycoon was when I was 10 years old.

The set up:
I have ships dropping oil off at ports A and D, oil refineries at B and C, and a single train line connecting A,B,C,D. The train on this line's orders are pick up any oil at point A, go straight to point C (refinery) which sells the oil to the refinery. I go to the refinery at C and not the refinery at B, because it seems that it makes me more money by transporting it a further distance (I could be wrong.).

Then the train goes to D to pick up any oil, goes straight to B to sell the oil. So I have two oil refineries, one at B and one at C, that are now producing goods. I've built a trainline from B and C to town E, to sell the goods to the town.

What I'd like to know
:
On the goods train connecting B and C with town E, what orders do I have to give to the train to tell it to:

Wait at B for any goods to be produced by the refinery when the oil train sells its oil off there, and then once it has picked up the goods, go to town E and sell the goods. Then go to C to do the same (i.e - wait at C for any goods that are produced when the oil train sells oil there, and then go to town E to sell it. Rinse and repeat. How can I instruct the train to wait at B and C for any goods to be produced before leaving the station? I can make the other orders but don't know how to do this one.

http://postimage.org/image/580c79eid/full/ - Full size image link.

Thanks in advance.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Train Orders Question

Post by FooBar »

Your assumption on longer distance -> more profit is correct.

As for the orders:
Goto B (Full load any)
Goto E
Goto C (Full load any)
Goto E
-end of orders-
kingmatt
Engineer
Engineer
Posts: 6
Joined: 25 Feb 2012 13:07

Re: Train Orders Question

Post by kingmatt »

FooBar wrote:Your assumption on longer distance -> more profit is correct.

As for the orders:
Goto B (Full load any)
Goto E
Goto C (Full load any)
Goto E
-end of orders-
Thank you. I have a new problem now - I inputted these orders (with Full Load Any), and when the oil train arrives at B, the goods train fills up with goods, and all the goods from the station occupy 75% of the total goods capacity of the goods train. The goods train then just sits there, I'm assuming it's waiting for another delivery to get to 100% before leaving. How can I tell it to leave the station with the load that it's just received?
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Train Orders Question

Post by Yexo »

You have these options:

Full load any: leave as soon as any cargo type is at maximum capacity
Full load all: leave as soon as all cargo types are at maximum capacity
default: leave as soon as the vehicle is done loading (don't wait to fill up)
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Train Orders Question

Post by FooBar »

Yexo wrote:default: leave as soon as the vehicle is done loading (don't wait to fill up)
To add to this: in this case the vehicle will also leave if there are no goods to load. For instance if the goods train has returned before the oil train has delivered new oil. Then it will go back to town empty.

If your goods train is always 75% full when it has loaded every goods available, you may want to consider making it shorter.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Train Orders Question

Post by Alberth »

You can also drive back and forth between B and C until fully loaded.
bce_orders.png
bce_orders.png (4.32 KiB) Viewed 2940 times
kingmatt
Engineer
Engineer
Posts: 6
Joined: 25 Feb 2012 13:07

Re: Train Orders Question

Post by kingmatt »

Alberth wrote:You can also drive back and forth between B and C until fully loaded.
bce_orders.png
I was hoping to get the train to wait at a station rather than drive back and forth, to save on fuel costs - do fuel costs cost more when the train is moving?

FooBar - I had thought about a shorter train, but if I did that, it would leave a small amount of goods at the refinery station, and would have to make another journey all the way there just to pick it up with a standard default pickup. Again, - do fuel costs cost more when the train is moving?

If the fuel costs are the same for the train when it's moving or stationary, then I'll just do what you said, but if fuel costs are cheaper while stationary then I wouldn't mind knowing how to set it up like this.

Also do fuel rates for other vehicles (boats, cars etc) change with how much the vehicle travels?

Can't respond for an hour.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Train Orders Question

Post by FooBar »

It depends on the train set you use if there's such a thing as 'fuel costs'.
By default the trains' running cost are constant, regardless of what the train is actually doing. However, some train sets (UKRS2 comes to mind) implement variable running costs, where waiting for a load is cheaper than travelling.
Transportman
Tycoon
Tycoon
Posts: 2792
Joined: 22 Feb 2011 18:34

Re: Train Orders Question

Post by Transportman »

Yexo wrote:You have these options:

Full load any: leave as soon as any cargo type is at maximum capacity
Full load all: leave as soon as all cargo types are at maximum capacity
default: leave as soon as the vehicle is done loading (don't wait to fill up)
I would like to add option 4:
Default and with a time in the timetable. Then the train does its normal actions until that time has passed and then goes on to the next order.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
kingmatt
Engineer
Engineer
Posts: 6
Joined: 25 Feb 2012 13:07

Re: Train Orders Question

Post by kingmatt »

FooBar wrote:It depends on the train set you use if there's such a thing as 'fuel costs'.
By default the trains' running cost are constant, regardless of what the train is actually doing. However, some train sets (UKRS2 comes to mind) implement variable running costs, where waiting for a load is cheaper than travelling.
Well I've just had a look in game at the Lev4's fuel cost while moving and stationary, and yes they are the same, at about £130 every couple of seconds. If they were different then I would have done what I was asking how to do, but it seems it doesn't matter either way as the cost is the same. Thanks anyway.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 3 guests