Vehicle colours

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

Brianetta wrote:Dalestan (and OpenTTD devs),

I had an idea for combining orders, groups (as seen in OpenTTD) and liveries. It would involve a change in game play, but it would (I believe, having spoken to my wife about her experience trying to understand the game) make the game much easier to understand.

Borrowing heavily from Simutrans' idea of lines, we define groups first. Groups can contain other groups, giving a hierarchy, and can contain vehicles. A group has an orders list, and a colour scheme or livery too. A group's orders and livery are applied to the vehicles contained within that group. A group inherits orders and liveries from its parent (the group in which it is contained), and its children inherit orders and liveries from it in turn. Any group with an order list or livery of its own completely overrides that of its parent, and passes its own on to its children. Vehicles within a group use the group's orders list, not their own.

Commands sent to a group are sent to all children, grandchildren, etc of that group (for example, go to depot, auto-replace, etc).

The top level group has an empty orders list and uses the main company colour scheme.

Groups could be enhanced to also define service intervals, timetables and other user-definable vehicular attributes that may become available. Groups could, but probably shouldn't, contain more than one type of vehicle. The user should be able to copy the orders of one group into another, to allow that order list to be used as the basis for a new one. "Cloning" such orders should be regarded as meaningless and confusing, and not implemented. All cloning should be handled by inheritance and group membership.

The big advantage here, for the user, is that they are defining services ("Lines," as Simutrans puts it) first, and then deciding which of their vehicles should be running in which service. It's never ambiguous, whether orders are shared or not. Since groups can be placed in a larger group, and divided into smaller groups, without affecting orders and colours, it's still possible to use them in the OpenTTD fashion for group control (sending all the members of a group off to be upgraded, etc).

The user interface itself could be almost exactly the same as the current OpenTTD interface, but with child groups appearing below (and idented beyond) their parent, and additonal buttons for orders, liveries and anything else. Changing the orders of a vehicle would change the order list that it's currently using, and that group's name should be clearly presented on the orders page of the vehicle, so that the user knows exactly what is being changed.

In order to preserve the gameplay expected by, and provided for, Transport Tycoon Deluxe players, vehicles should be default be created in the "ungrouped" group, and members of the "ungrouped" group should have their own orders list. I suggest the current mechanism of sharing orders (control-clicking another vehicle) be abandoned in favour of group based orders.

So, the following objectives would be met by this suggestion:
  • The game interface is unchanged for players used to Transport Tycoon Deluxe, and can be used in that way
  • Once a player starts to use shared orders, it's very clear which vehicles use those orders
  • Vehicles can be easily and unambiguously transferred from one orders list to another
  • An orders list does not vanish if there are no vehicles using it, but is still visible and can be re-used
  • Vehicles on given routes can be given distinctive colours
  • Vehicle groups can be arbitrarily sub-divided for management (an example: same orders, but bought more recently)
  • Vehicle groups can be placed within groups for management (an example: all trains on the north network, can be stopped and started together for signal work)
I'm sure there are other benefits, and (aside from the development work) few drawbacks. Opinions?
All edits are for markup only; no text changes
This is exactly what I hoped for.

From a serious gameplayer standpoint, it adds a lot of control and playability. If you don't like it, don't use it! After all, OpenTTD has already undergone a lot of changes from the original TTD... purists and others simply use what features they want.

From a developer standpoint, it could be major work, but worth doing.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Vehicle colours

Post by DaleStan »

Other than the obvious that's-gonna-be-a-lot-of-work, the issue I see is backwards compatibility: What do we do with shared orders not currently associated with a group?
Brianetta wrote:It's never ambiguous, whether orders are shared or not.
It's hardly ambiguous in Patch, at least. "-- End of shared orders (17) --"
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
Zutty
Director
Director
Posts: 565
Joined: 22 Jan 2008 16:33

Re: Vehicle colours

Post by Zutty »

didomusicuk wrote:Hmmm... some good suggestions here. Personally I think that setting different vehicle colours to orders would be silly.

For example, where I live, there is a service called Rainbow 5. It runs from A to B, A to C, A to D, A to E and A to F. All of them are purple. Other services, such as Rainbow 2, run from G to I via H. Rainbow 2 is yellow. Route 15 runs from H to J, and is orange. All these routes belong to the same bus company. I think its a shame such a situation, which must be a reality all over the country, or indeed the world, cannot currently be recreated in OpenTTD. Colours by group would be a very practical solution to this, as all the above routes can be grouped into services, and given appropriate colours.
Not in Nottingham are you? My car got rear-ended by a Rainbow 2!
PathZilla - A networking AI - Now with tram support.
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

Zutty wrote:
didomusicuk wrote:Hmmm... some good suggestions here. Personally I think that setting different vehicle colours to orders would be silly.

For example, where I live, there is a service called Rainbow 5. It runs from A to B, A to C, A to D, A to E and A to F. All of them are purple. Other services, such as Rainbow 2, run from G to I via H. Rainbow 2 is yellow. Route 15 runs from H to J, and is orange. All these routes belong to the same bus company. I think its a shame such a situation, which must be a reality all over the country, or indeed the world, cannot currently be recreated in OpenTTD. Colours by group would be a very practical solution to this, as all the above routes can be grouped into services, and given appropriate colours.
Not in Nottingham are you? My car got rear-ended by a Rainbow 2!
Haha, yeah, near that area. I've never been on a Rainbow 2 until the other day, and they are rubbish. Rainbow 5 is better.

On the subject of shared orders, why would it be an issue? Colours should not be linked to orders!
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Re: Vehicle colours

Post by Brianetta »

DaleStan wrote:Other than the obvious that's-gonna-be-a-lot-of-work, the issue I see is backwards compatibility: What do we do with shared orders not currently associated with a group?
Brianetta wrote:It's never ambiguous, whether orders are shared or not.
It's hardly ambiguous in Patch, at least. "-- End of shared orders (17) --"
Perhaps I should have said, it's never ambiguous, which orders are shared with which vehicle.

As for backwards compatibility, there would have to be a one-off conversion at game load. Existing groups are preserved. Existing order lists are made into groups. If, as a result, any train would end up being a member of more than one group, then:
  • If the groups contain the same members, merge
  • If one group can be described as a subset of another group, make it a child of that group
  • If the groups partially overlap (which probably wouldn't be common, but is clearly possible) then split the order list into two and make groups of both halves, then warn/inform the player that this has happened.
If there are other logical possibilities which I've overlooked (I didn't spend a lot of time thinking about this part) then I'm sure something could be worked out.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
User avatar
YukonRob
Transport Coordinator
Transport Coordinator
Posts: 290
Joined: 31 Jul 2007 00:58
Location: North of 63

Re: Vehicle colours

Post by YukonRob »

Brianetta - I use groups for cargo type not orders (I use shared orders for that) and your suggestion seems to remove this functionality by forcing all vehicles in a group to have shared orders. It looks like groups would be turned into an enhanced shared orders. Maybe leave groups alone and apply your suggestions to the shared orders code, maybe an option could be included to view vehicles sharing orders in a "group like" window?
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

I don't see why we can't just have colour options linked to groups and be done with it. That way, people who group by orders can assign the same colours (should they wish) to all vehicles in that group. If you group by some other means (internal town routes, town-to-town routes, etc) can assign the same colours (again, if they wish) to all vehicles. If you don't wish to assign colours to vehicles in groups, don't use it!

My suggestion came out of the fact that in real life, one company can have several different routes, each with their own colours, but not necessarily sharing the same orders, in the case of Rainbow 5 (purple) to Derby, Nottingham, Long Eaton, Old Sawley, Loughbrough and New Sawley.
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: Vehicle colours

Post by LordAzamath »

There already is a window for "View vehicles with shared orders" or something like that. Note that even this screenie is taken from an old version, I dpoubt that they have removed it from nightlys :D
Attachments
shared.png
shared.png (265.78 KiB) Viewed 1129 times
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

Going off-topic here... :x
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Vehicle colours

Post by Roujin »

LordAzamath wrote:There already is a window for "View vehicles with shared orders" or something like that. Note that even this screenie is taken from an old version, I dpoubt that they have removed it from nightlys :D
Nope they haven't, and I'm working on a little patch to improve management of shared groups (or lines)... ;)
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Vehicle colours

Post by Eddi »

YukonRob wrote:Brianetta - I use groups for cargo type not orders (I use shared orders for that) and your suggestion seems to remove this functionality by forcing all vehicles in a group to have shared orders. It looks like groups would be turned into an enhanced shared orders. Maybe leave groups alone and apply your suggestions to the shared orders code, maybe an option could be included to view vehicles sharing orders in a "group like" window?
no, it does not force you to have shared orders, just IF a group defines orders, they are shared between all vehicles in that group (unless overridden by more special orders)
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

Can I just ask why we're talking about orders when all I asked was whether we could have COLOURS linked to groups? As far as I can see, how vehicles are groups is up to the player, and bears little relation to orders at all.
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Re: Vehicle colours

Post by Brianetta »

didomusicuk wrote:Can I just ask why we're talking about orders when all I asked was whether we could have COLOURS linked to groups?
Of course you can ask. It's because of a post that I made in this thread, outlining a suggestion I've been working on for a while. Since that suggestion included the idea of groups and colours, it was on topic. It also includes orders; this is largely coincidental. Since the suggestion can't really be applied in part (without being something else entirely) it's not like I could cut it down.

It was quite a big post, I'm sure you couldn't have missed it.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

Brianetta wrote:It was quite a big post, I'm sure you couldn't have missed it.
Yep, saw the post, not quite blind yet :wink:

My point is that as far as I can tell, my suggestion could be implemented without involving orders at all, and would appreciate it if discussion in this thread could stick to being about colours rather than discussing another, semi-related suggestion.
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2567
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Re: Vehicle colours

Post by Brianetta »

It is about colours. I believe that colours would best be linked to order lists, and that there should be a single, simple interface to these.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

Brianetta wrote:It is about colours. I believe that colours would best be linked to order lists, and that there should be a single, simple interface to these.
OK, but how would that help with my suggestion regarding real-life routes, which is the point of the suggestion? If colours were linked to order lists, I'd have to colour vehicles belonging to the same route but with different orders, such as Rainbow 5 Nottingham - Derby, Rainbow 5 Nottingham - Loughbrough, Rainbow 5 Nottingham - Long Eaton, etc. If colours were linked to groups then all I'd have to do is create a Rainbow 5 group to hold all the different Rainbow 5 routes, and colour the whole group purple. Much simpler, I'm sure you'll agree.

And for those who prefer to colour by orders, simply create groups to hold shared order vehicles, and colour them in the same way.

I'm sorry if I'm missing something here but I see absolutely no reason or benefits to colouring vehicles by order lists. Perhaps explain to me?
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Vehicle colours

Post by planetmaker »

didomusicuk wrote:My point is that as far as I can tell, my suggestion could be implemented without involving orders at all, and would appreciate it if discussion in this thread could stick to being about colours rather than discussing another, semi-related suggestion.
Constructive discussion have a different touch to me. These constant complains of yours are a tad annoying.
didomusicuk wrote: My suggestion came out of the fact that in real life, one company can have several different routes, each with their own colours, but not necessarily sharing the same orders, in the case of Rainbow 5 (purple) to Derby, Nottingham, Long Eaton, Old Sawley, Loughbrough and New Sawley.
I read Brianetta's suggestion actually as a quite sensible way to achieve this means by reworking the interface a bit in order to make this task even easier and possibly more logical than now.

It's always better to discuss means in order to reach a given aim than to discuss how to use a certain tool in order to reach the aim - the first allows several solutions while the latter limits you to what you have, possibly allowing no solution.

I understand that you want to have all vehicles from, say, (A) London-Manchaster green and (B) London-Glasgow red. Now you could do as you proposed, just put vehicles with order (A) into one group and with order (B) into another.

Or, the system is reworked as Brianetta supposes. Then automatically giving two different orders (A) and (B), makes that two groups - where you can assign different colours. You could also define subgroups, putting half the vehicles with order (A) into group A.1 and the other in A.2 - giving yellow colour to vehicles in group A.1 and red to A.2. But it would solve the issue of the unrelated existance of groups and orders.
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

planetmaker wrote:Constructive discussion have a different touch to me. These constant complains of yours are a tad annoying.

I read Brianetta's suggestion actually as a quite sensible way to achieve this means by reworking the interface a bit in order to make this task even easier and possibly more logical than now.

It's always better to discuss means in order to reach a given aim than to discuss how to use a certain tool in order to reach the aim - the first allows several solutions while the latter limits you to what you have, possibly allowing no solution.

I understand that you want to have all vehicles from, say, (A) London-Manchaster green and (B) London-Glasgow red. Now you could do as you proposed, just put vehicles with order (A) into one group and with order (B) into another.

Or, the system is reworked as Brianetta supposes. Then automatically giving two different orders (A) and (B), makes that two groups - where you can assign different colours. You could also define subgroups, putting half the vehicles with order (A) into group A.1 and the other in A.2 - giving yellow colour to vehicles in group A.1 and red to A.2. But it would solve the issue of the unrelated existance of groups and orders.
Sorry if I'm not making myself clear enough, but your post just shows that people do not read.

I have never actually said at any point that Brianetta's idea isn't good. For some people, it will be. Regarding my suggestion, it isn't...

You yourself have misunderstood the problem... I want all vehicles on the same service (I understand that "service" isn't really a concept in OpenTTD, just "routes"... but I describe a "service" as being one or more routes). Rainbow 5 runs to several locations, but ALL of them are purple... so no, its not a case of "4 buses run from A to B and coloured yellow, 4 buses run from A to C and are coloured red"... its a case of "8 buses run from A to various locations, all under the same service, all coloured the same, but all different from other services my company is running elsewhere".

Again, I would appreciate it if people could stick to the topic as outlined in my OP. Many thanks.

Oh, and if its annoying you, don't read my posts and do not contribute to this thread. Simple. At the end of the day I'm suggesting a small feature to a great game, and I think that this feature would make it even greater for A LOT of people. By all means, work in "colours by orders", but its not what I'm asking!
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: Vehicle colours

Post by LordAzamath »

You won't get much feedback with "if you think I'm wrong, gtfo" attitude...
And imo it could be done that (as there actually are groups created for shared orders as in my screenie) just enable different colouring for groups.. And because you can also list all trains going via one station, you could set different colours for either one shared orders pack, one station list, some custom groups etc.. It would be great though if the station/route groups could be accessible through group window too..
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
didomusicuk
Engineer
Engineer
Posts: 51
Joined: 12 Feb 2008 17:21

Re: Vehicle colours

Post by didomusicuk »

LordAzamath wrote:You won't get much feedback with "if you think I'm wrong, gtfo" attitude...
And imo it could be done that (as there actually are groups created for shared orders as in my screenie) just enable different colouring for groups.. And because you can also list all trains going via one station, you could set different colours for either one shared orders pack, one station list, some custom groups etc.. It would be great though if the station/route groups could be accessible through group window too..
I apologise for the attitude, but sometimes people think they are doing good when they are not, and it ends up getting nowhere fast. And like I said, no-one is forcing anyone to post in this thread. I'd prefer helpful comments to unhelpful or confusing ones. You're quite lucky here... other forum systems let the author delete posts from their own threads that they deem innapropriate.

And thankyou for understanding what I'm asking!
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests