Mass orders/grouping interface

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
jabberwalkee_
Transport Coordinator
Transport Coordinator
Posts: 378
Joined: 22 Sep 2004 04:56
Location: Brisbane, Australia

Mass orders/grouping interface

Post by jabberwalkee_ »

I have been milling over how to solve the problem of replacing vehicles (mostly trains) when they get old (particularly when you want to upgrade track types)

And in my (undoubtedly uneducated) opinion the best option would be to create an interface which allowed the grouping of vehicles and the issuing of orders to the entire group.

So the idea being when (for example) you want to upgrade your rail network to monorail you click on the new button and click on the group of trains on that particular network (an all trains button wouldnt hurt either) and issue a replace engines order (which could hopefully be implemented by modefying the current autoreplace orders), specifing the new engine in a pop-up and clicking ok. Trains head to Depots, replace their engines and off they go.

Likewise it would be useful to simply replace all old engines when newer ones became available (perhaps including the ability to select vehicles by model)

I anticipate that it might be nessecary to implement a "stop after" condition for each order in the case of track relacement.

A group orders feature could also be used to stop a group of trains to allow for risk free alteration of signals and construction.

I think the best ways (as i have mentioned a little through this post) of grouping the vehicles is by type (train, plane etc), cargo(es) carried, vehicle model and by an assignable group number (like in age of empires, warcraft and just about any other RTS)

BTW i am not a programmer and have no idea what implementing such an idea would entail.
User avatar
jabberwalkee_
Transport Coordinator
Transport Coordinator
Posts: 378
Joined: 22 Sep 2004 04:56
Location: Brisbane, Australia

Post by jabberwalkee_ »

was this really such a bad idea that no-one even replied???
User avatar
Emeric Pro
Engineer
Engineer
Posts: 107
Joined: 23 Feb 2003 23:42
Location: Toulouse, France
Contact:

Post by Emeric Pro »

jabberwalkee_ wrote:was this really such a bad idea that no-one even replied???
The idea is very good IMO

Actually I often dreamt about something like this, mostly when it's time to upgrade to monorail, sending all trains to depot would be very interesting
It would be better if i was gliding
Image
User avatar
jabberwalkee_
Transport Coordinator
Transport Coordinator
Posts: 378
Joined: 22 Sep 2004 04:56
Location: Brisbane, Australia

Post by jabberwalkee_ »

it just needed a well disguised *bump* then! (i hope)
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

It's just so well though thru that there is nothing to add :P
Alcohol is not the answer, it just makes you forget the question.
User avatar
jabberwalkee_
Transport Coordinator
Transport Coordinator
Posts: 378
Joined: 22 Sep 2004 04:56
Location: Brisbane, Australia

Post by jabberwalkee_ »

I got bored and Photoshopped a version of what i think this might look like

The buttons are mostly self explanatory

The Replace Button would open a prompt asking you which vehicle you would like to replace the current ones with.

Group Orders would not be particularly useful and may be difficult to implement considering you could put a bunch of random vehicles together and then attempt to edit all their orders at once.........

I would also add a button to the Vehicle window allowing the assigning of individual vehicles to a group there as well as in this window.
Attachments
Group Interface with text.jpg
Group Interface with text.jpg (96.67 KiB) Viewed 17842 times
lasershock
Engineer
Engineer
Posts: 2
Joined: 30 Oct 2004 10:31

Post by lasershock »

this is a great idea
User avatar
jabberwalkee_
Transport Coordinator
Transport Coordinator
Posts: 378
Joined: 22 Sep 2004 04:56
Location: Brisbane, Australia

Post by jabberwalkee_ »

well i thought so, but judging by the lack of posting........
User avatar
mexicoshanty
Traffic Manager
Traffic Manager
Posts: 158
Joined: 22 Aug 2006 13:15
Location: Australia
Contact:

Post by mexicoshanty »

This is exactly what i came to the forums to post about! I Also found this thread http://www.tt-forums.net/viewtopic.php? ... le&start=0 With some great idea's about statistics and all, never thought about those just imagined a 'routes' window with the ability to create a group, give it a name then be able to control the group, as in change the goto schedule, start, stop, goto to depo etc. Then in the goto part of a trains details the abilty to assign it to a goup. If you don't want it to be part of a group then leave it as none and set the schedule manually as normal.

This would be such a HUGE improvement. As it s*** me something chronic when i change the way a rail system works that i have to find all the trains that are doing a particular thing and change them individually!

As i only discovered OpenTTD 3 days go (was a huge fan of the original) excuse my ignorance if this feature is currently being worked on. Also would someone be able to point me to the road map, i haven't been able to find it.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

mexicoshanty wrote:it s*** me something chronic when i change the way a rail system works that i have to find all the trains that are doing a particular thing and change them individually!
Permit me to introduce you to a little trick known as shared orders.
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
User avatar
mexicoshanty
Traffic Manager
Traffic Manager
Posts: 158
Joined: 22 Aug 2006 13:15
Location: Australia
Contact:

Post by mexicoshanty »

yeah i found out about shared orders while i was looking for threads relating to the grouping idea. IMO it's not very intuitive and also there are a lot of things that it doesn't do. Ie, abiltiy to easily find a particular group (when you have 50 trains travelling down a main line doing 20 different things at the moment it's rather tedious to try and find the a train with the shared order you are after), list all trains in a group, find out which group a train belongs to (all you know is that the orders are shared with other trains), start, stop and send all trains to a depo. I could think of a lot more possibilties aswell.
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

whats with the jpg?
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I wonder about this. Now that we got autoreplace and shared orders, what would the usage for groups be... and I came up with this:

what if we assign a number to each vehicle (default 0=off) and then we can change that number to let it enter some group. Then we can sort like in the "screenshot", extend autoreplace to replace say engine x to y, but only for group 27 and so on.

This would allow people to say make all coal trains group x and that way only replace group x locomotives or something.

I think I know how to get this to work, but ideas are welcome. Specially an idea for how to get this to work in a GUI and other features such groups could be used for.
Also a new GUI for autoreplace would be needed. Ideas here are welcome too.

Last, the disclaimer: this is not a promis that it will be coded or added to the game. It's still on the idea level.
l_Blue_l
Transport Coordinator
Transport Coordinator
Posts: 285
Joined: 29 Mar 2006 22:42
Contact:

Post by l_Blue_l »

Dont have groups of vehicles which you make yourself have groups of vehicles with the same orders or cargo type or train or by stations or by age or by anything els you can think off, please add your ideas (you dont need to add anything new variable just search all / most of the vehicles, and make your lists from that. To upgrade vehicles you would make a ghost train to which you want to upgrade it to. i havent played in ages but something needed to go with this would be a go to deport if close by.

I have started rewriting one of my patches and this time i hope to include something along the lines of groups of vehicles with the same orders to improve the performance of my patch. i doubt i will have anything along the lines of what you guys are looking for untill next year.
User avatar
mexicoshanty
Traffic Manager
Traffic Manager
Posts: 158
Joined: 22 Aug 2006 13:15
Location: Australia
Contact:

Post by mexicoshanty »

I've done a mockup of what i was imagining. There could be a lot of extra things people may think of, like extra info in the route's details window.

When assigning orders/route to a train, when a route is selected the orders/buttons are faded as you can see in the picture. To add orders like normal assign the route '-- None --'. The default should be '-- None --'.

Oh and another thing. When people do the shared order command it creates a route under the name of the first train.
Attachments
Routes Concept
Routes Concept
routes_concept.png (121.9 KiB) Viewed 2053 times
l_Blue_l
Transport Coordinator
Transport Coordinator
Posts: 285
Joined: 29 Mar 2006 22:42
Contact:

Post by l_Blue_l »

intresting concept you got there. But What about use the vehicle sort window but just have different groups with a sub-vehicle sort windows for each vehicle in that group
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

making a ghost train or an "out of vehicle" order is pretty hard with the current design.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Excellent idea! Some suggestions from me:

I wouldn't force all vehicles in a group to have the same orders. It may be a feature that group has orders and vehicles of the group share them, but personally I'd make groups with vehicles of various sources and/or destinations (I'd make group of faster passenger trains and slower cargo trains).

We may take a look at Simutrans routes but I'm afraid some may think would be lame

Note to the attached picture: "Skip" window should be active all the time (unless there are no orders, of course).
User avatar
mexicoshanty
Traffic Manager
Traffic Manager
Posts: 158
Joined: 22 Aug 2006 13:15
Location: Australia
Contact:

Post by mexicoshanty »

l_Blue_l wrote:intresting concept you got there. But What about use the vehicle sort window but just have different groups with a sub-vehicle sort windows for each vehicle in that group
Because then you couldn't mix transport types (eg. trains, ships, buses, planes). If routes had it's own window then you could have trucks come in and help transferer stuff from an overloaded train station going to the same destinations as the trains.
User avatar
mexicoshanty
Traffic Manager
Traffic Manager
Posts: 158
Joined: 22 Aug 2006 13:15
Location: Australia
Contact:

Post by mexicoshanty »

MeusH wrote:I wouldn't force all vehicles in a group to have the same orders.
That's one of the main point of the routes, if we didn't have that feature we'd have to call it groups of vehicles or something. I guess this is an extension of the sharing of orders feature currently implemented but just in a way that is more informative and easier to manage.
MeusH wrote:Note to the attached picture: "Skip" window should be active all the time (unless there are no orders, of course).
Yeah good point
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 31 guests