Define orders per group

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

Moderator: OpenTTD Developers

Post Reply
binerf
Engineer
Engineer
Posts: 6
Joined: 12 Feb 2021 07:08

Define orders per group

Post by binerf »

Hi,

Sorry, I've already checked in forum but found nothing relevant or too old.

I'd like to group vehicles and define orders per group.
When I move vehicle to another group, it takes orders defined for this different group.

Is it possible you think ?

Thanks in advance.
Brumi
President
President
Posts: 919
Joined: 18 Jul 2009 17:54

Re: Define orders per group

Post by Brumi »

This is not done automatically. However, when you move a vehicle to a new group, you can do the following:
  1. Select the vehicle you just moved.
  2. From the list of orders, click Go to, then ctrl+click one of the vehicles already in the group.
This way the vehicle will share orders with the other vehicles in its new group.
binerf
Engineer
Engineer
Posts: 6
Joined: 12 Feb 2021 07:08

Re: Define orders per group

Post by binerf »

I'll try your trick.

Thanks !!
User avatar
jfs
Tycoon
Tycoon
Posts: 1334
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Define orders per group

Post by jfs »

Put in other words:

You can make groups based on shared orders,
but you cannot make shared orders based on groups.
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1655
Joined: 30 Mar 2005 09:43

Re: Define orders per group

Post by peter1138 »

jfs wrote: 17 Apr 2021 12:37but you cannot make shared orders based on groups.
That would be cool to have though...
He's like, some kind of OpenTTD developer.
LaChupacabra
Traffic Manager
Traffic Manager
Posts: 224
Joined: 08 Nov 2019 23:54

Re: Define orders per group

Post by LaChupacabra »

Probably in most transport games, you first create a connection and then add vehicles that support that connection to it. So yes, adding a feature like this would be cool. :)
I am sorry for may English. I know is bed.
binerf
Engineer
Engineer
Posts: 6
Joined: 12 Feb 2021 07:08

Re: Define orders per group

Post by binerf »

peter1138 wrote: 18 Apr 2021 19:12
jfs wrote: 17 Apr 2021 12:37but you cannot make shared orders based on groups.
That would be cool to have though...
+1 8)

please dev team :bow:
User avatar
Taschi
Engineer
Engineer
Posts: 95
Joined: 11 Oct 2014 22:58

Re: Define orders per group

Post by Taschi »

Would be nice but once you've gotten used to the way OpenTTD handles it (and found the "Add vehicles with shared orders" button) the current method is very usable and completely overhauling it is probably not worth the effort.
For the safety of our railways: Fire Sir Topham Hatt now!
binerf
Engineer
Engineer
Posts: 6
Joined: 12 Feb 2021 07:08

Re: Define orders per group

Post by binerf »

Basically, sometime city doesn't accept goods anymore for a period.

I've created trains which transport only good from "factory" to city.

When city refuses goods, trains are useless and reduce drastically their revenues.

For this kind of event, I'd like to create trains groups like "Goods from factory to city 1" with route defined... from factory to city 1 8)
When city 1 refuses goods, I'd like to move trains from this group to another group for which another route is defined.

Not sure I'm clear but I hope you get my point.
User avatar
Taschi
Engineer
Engineer
Posts: 95
Joined: 11 Oct 2014 22:58

Re: Define orders per group

Post by Taschi »

binerf wrote: 26 Apr 2021 19:34 For this kind of event, I'd like to create trains groups like "Goods from factory to city 1" with route defined... from factory to city 1 8)
When city 1 refuses goods, I'd like to move trains from this group to another group for which another route is defined.
#1 Buy one train, give it orders to move goods from Factory to City 1
#2 Buy more trains as needed via "Copy Train" and CTRL+Click, setting up the new trains to have shared orders
#3 Create a group called "Goods from Factory to City 1"
#3 CTRL+Drag any one of your trains into that group - the others will automatically also be assigned to the group

Now, when the city stops accepting goods:

#1 Open the timetable for any of your trains in the "Goods from Factory to City 1", delete its "Go to City 1" order and add an "Go to City 2" order
#2 Rename the "Goods from Factory to City 1" group to "Goods From Factory to City 2".
#3 Profit!

(And I have successfully managed 200 ... 300 trains plus several hundred road vehicles with this system. It does take a little bit of getting used to it and is less intuitive than the system in Transport Fever, where you first set up a line and then add vehicles, but it has the massive advantage that you do not need to first set up a line. I often have freight lines that are served by a single train, and I usually don't set up groups for those because it just isn't worth it.)
For the safety of our railways: Fire Sir Topham Hatt now!
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Google Adsense [Bot], Ondra_Kralik and 11 guests