News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

[Bug v4.4] Convoy Name in Red

Started by knightly, June 28, 2009, 10:42:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knightly

If a vehicle has negative revenue, its name will be red in colour. I suppose this is not the intended behaviour?



Edit : Topic Title Modified

jamespetts

It is intended behaviour, actually: Bernd Gabriel added it a week or two ago :-)
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

knightly

#2
I see. :) But isn't it enough to have a red figure for revenue?

jamespetts

It seems not... The convoy name also turns blue if there are obsolete vehicles.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

knightly

#4
IMHO it is redundant. Simutrans Standard doesn't change vehicle name to red when revenue is negative. The case of obsolete vehicles is different : there is no separate data in the convoy info window to designate such, so vehicle name is changed to blue to reflect this.

Besides, what if both revenue is negative and there are obsolete vehicles? Purple??

Isaac Eiland-Hall

I'd assume red would take precedence over blue.

knightly


You are right, Isaac :) Purple is just a joke. :P Most probably it is either red precedes blue or the reverse.

What I want to point out is, if red really precedes blue, then the fact that there are obsolete vehicles will be hidden. If the revenue figure already turns red when negative, I don't see any reason for doing it again on convoy name.

jamespetts

No, purple is for when the vehicle is overcrowded...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

knightly

Quote from: jamespetts on June 29, 2009, 07:30:25 AM
No, purple is for when the vehicle is overcrowded...

I see. Then what if all 3 conditions -- negative revenue, obsolete vehicles & overcrowded vehicles -- are all satisfied? Surely at least one of the messages will be lost, as the convoy name can only be displayed with a single color.

As you already have 2 other conditions (obsolete vehicles & overcrowded vehicles) competing for the use of convoy name colour for designation, I think it is not desirable to turn convoy name red when revenue is negative. A red figure for negative revenue is more than sufficient.

Besides, probably you need some other method to display the various statuses, instead of having them all competing for the same attribute -- colour of convoy name.

jamespetts

What to do with multiple statuses is a somewhat tricky question: the same issue occurs in Simutrans-Standard for vehicles in the line management window (where blue and red compete). Do you recommend that blue and purple but not red be used in the convoy name? Or that different bits of text change colour with different conditions in the convoy information window, preventing any clashes at all? If so, I should be interested in your suggestions as to which text should be assigned to which colours...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Nathan Samson

My idea:

Color the name of the convoi if something is wrong:
* red for negative revenue
* blue for obsolete
* purple for overcrowded
* another color (bold and red, uppercase it?, ...) if multiple things are wrong

When you go to the convoi details it should sum up what is wrong:

* Convoi is obsolete (this should be printed in blue)
* Convoi has a negative revenue (red) (maybe we can just leave this and print the revenue in red as we do now)
* Convoi is overcrowded (purple)

(The texts are coloured so that people can "learn" what the colors of the convoi mean)

Just my 2 cents

jamespetts

Nathan,

bold and uppercase are a bit tricky to program in Simutrans. The easiest thing might be to relegate red to just the revenue figure, and use blue/purple on the convoy name, with purple taking precedence over blue as the more immediate and pressing issue. Knowing that a convoy has obsolete vehicles is relatively low priority.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Nathan Samson

Still it may be good to list all problems in the convoi window

two reason for that
* Users can learn what the color means (as pointed out earlier)
* Users can see all problems (if I see that my line is overcrowded I buy new vehicles or something, when I see my line is overcrowded + obsolete I replace the vehicles with newer and bigger ones) (with the example not always true, but you get the point)

jamespetts

I'm not sure of a practical way of doing that, however without making major changes. Remember, there is supposed to be a feature freeze...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

knightly

#14
Quote from: jamespetts on June 29, 2009, 04:33:29 PM
Do you recommend that blue and purple but not red be used in the convoy name?

Yes, at least red should be dropped from convoy name.

Quote from: jamespetts on June 29, 2009, 04:33:29 PM
Or that different bits of text change colour with different conditions in the convoy information window, preventing any clashes at all?

Do you mean the text of convoy name, or adding some other texts with different colours?

BTW, is it possible to change the background colour of the convoy name text box? If yes, then maybe you can consider using that for one of the blue/purple status. :D




Incidentally, a minor thing which doesn't worth a new thread. Please take a look again at the image I attached in the first post. Somehow the Replace button is different from the other buttons. It seems that the other buttons have shadow and a more 3D outlook, which is lacking in the Replace button.

prissi

There could be also a status bar below the vworld view window, like for factories.

Bernd Gabriel

My primary intention for coloring the caption was, that I wanted to see the status obsolete and overcrowded in the convoy frame. I found it a bit cumbersome to look at the freight list finding out, if there are more passengers than seats or searching for the convoy in the line management or vehicle list.

After reading all these statements, I'd like to suggest to show icons for the different statuses like the icons for freight and way types in the station/halt frame. This allows to show a status independently from the others. Instead of icons some colored squares with tooltips for explanations might be more striking.

The journey is the reward!

jamespetts

Hmm, an interesting idea. The downside of that, of course, is that somebody has to draw all the icons (for each different skin set)...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Bernd Gabriel

As long as there are no icons, the colored squares may be shown...
The journey is the reward!

jamespetts

Hmm, that sounds complicated to program during a feature freeze...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Bernd Gabriel

#20
Another approach to multiple status visualization:

Status|Color|Display
initial/stuck or no route|white/orange|Status bar
no profit|red|Revenue text
overcrowded/nothing moved|purple/yellow|Weight text
obsolete|blue|Convoy name

Edited: moved 'nothing moved' to 'overcrowded'
The journey is the reward!