Orders
From #openttdcoop wiki
Orders make our networks work, they are what keeps our network alive, the cash flowing and prevent jams. Without proper order setup the trains won't go to the correct destination and won't be able to make money. This guide will lead you through the basics of giving orders and will also show you some more advanced orders.
Basic orders
You have build two stations and now you want to have a train running between them. The first thing you need to do is add the both the stations to the order list. We usually begin the orders with the pickup station:
After this you add the drop station:
You now have given the train both the destinations, to let this route be effective however you need load orders. A load order is an order that tells the train to do a specific kind of loading. There are a few different kind of load orders:
- Full load - this makes the train wait at the station until it is fully loaded with one type of cargo and then it will leave the station and head for the next order.
- Unload - this makes the train drop all its cargo at a station, it doesn't matter if the station accepts the cargo or not. This load order is NOT recommended.
- Transfer and take cargo - the default transfer order, this order lets the train keeps its current cargo and also take the cargo that is at the station with it.
- Transfer and wait for full load - this allows the train to keep its current cargo and it will wait until the train is fully loaded too. This order is simular to the full load order.
- Transfer and leave empty - this will unload all cargo on the train just like the unload order, this order however gets the train "virtual" money (the yellow money).
The full load order will be explained first, the transfer orders will be discussed later on this page.
The full load order allows you to force a train to wait until one cargo type is fully loaded. This is very usefull as there won't be half full trains driving around. When the full load orders are given to the train in the previous example:
These orders mean that the train will go to Slenningville Mines and wait until it is fully loaded with coal before it leaves. It will then go to Bredbourne Cross Woods to unload all the coal at the powerplant. Notice that there is no unload order as the station accepts coal because there is a powerplant.
Non-stop orders
Sometimes you want trains to take a certain route, OpenTTD has waypoints for this. They are limited to one lane however and aren't usefull on mainlines. For this reason we have non-stop orders, you can make a normal station that spreads over multiple lanes of the mainline and send trains there. A new problem arises with this: trains stop at the waypoint station, the solution is simple: non-stop orders. Non-stop orders tell a train to NOT stop a certain station, this way you can use waypoint stations. A side effect of this kind of non-stop orders is that trains only stop at the stations they are given in their order list, although this is usefull in cargo networks it is quite annoying in ICE/SBahn networks where SBahn trains have to stop at every station in the SBahn ring. Note: we don't use waypoints anymore because we now use YAPF and there is no need to point trains to where they must run through.