[Patch] better profit rating

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
sulai
Traffic Manager
Traffic Manager
Posts: 159
Joined: 24 Sep 2004 18:23

[Patch] better profit rating

Post by sulai »

You know these small round buttons in the vehicle lists, which show the colors red, yellow and green?

This is what they mean in the original game:
red: negative income
yellow: profit <10.000 Pounds
green: more than 10.000 Pounds profit.

This is what the patch makes them show:
red: negative income
yellow: vehicle makes profit, but can't make up its buying price
green: vehicle makes profit and can make up its buying price

This gives you an idea if the vehicle in question actually was worth its price.

Furthermore, the patch results in a more balanced profit rating, because the rating depends on the vehicles buying cost. Road vehicles benefit from it a lot, while it's still challenging to get a high "min. refund" rating.

Hope you like it!
Attachments
better_min_profit_rating_total_r17680.diff
(25.59 KiB) Downloaded 94 times
Last edited by sulai on 09 Oct 2009 12:23, edited 10 times in total.
PhilSophus
Chairman
Chairman
Posts: 776
Joined: 20 Jan 2007 12:08
Location: Germany

Re: [Patch] better min profit rating

Post by PhilSophus »

red: negative income
yellow: vehicle makes profit, but can't make up its buying price in its life time
green: vehicle makes profit and can make up its buying price in life time
This actually makes more sense, than using an arbitrary number that might fit some types of vehicles and doesn't for others. So, sounds like a nice patch.
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: [Patch] better min profit rating

Post by CommanderZ »

Nice idea, I like it. A lot :)
Mchl
Director
Director
Posts: 611
Joined: 05 Jan 2007 15:50
Location: Poland
Contact:

Re: [Patch] better min profit rating

Post by Mchl »

Finally I know what' they're supposed to mean (I always thought they were showing vehicles' age)!!
Also good idea for a patch. I like it.
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: [Patch] better min profit rating

Post by Zephyris »

Nice; simple and effective. "Will not make money in its lifetime." is much more informative than "Not making much money.", good work!
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Re: [Patch] better min profit rating

Post by athanasios »

If you patch the rating system too, according to this patch, it will be great!
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
sulai
Traffic Manager
Traffic Manager
Posts: 159
Joined: 24 Sep 2004 18:23

Re: [Patch] better min profit rating

Post by sulai »

Thanks to all of you for this positive feedback :)
athanasios wrote:If you patch the rating system too, according to this patch, it will be great!
Yes, this is also included in the patch. Have a look at the tooltip in the screenshot (which is the tooltip for the "min. recoup" entry).
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Re: [Patch] better profit rating

Post by athanasios »

Sorry I missed that. :oops:
Your patch is great.
:idea: What about difficulty settings? (X2, x5 value in life-time for hard settings.)
:?: Is inflation taken into consideration? I mean a vehicle will not suffice to make its money, but the money needed to replace it the time it reaches the end of it's life.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
sulai
Traffic Manager
Traffic Manager
Posts: 159
Joined: 24 Sep 2004 18:23

Re: [Patch] better profit rating

Post by sulai »

Update to r17593. See first post.
Inflation is not taken into account.
sulai
Traffic Manager
Traffic Manager
Posts: 159
Joined: 24 Sep 2004 18:23

Re: [Patch] better profit rating

Post by sulai »

Update to r17656. See first post.
Recoup rating is not anymore based on last year's profit, but on total profit done by the vehicle. Additionally "negative profit" messages won't pop up for vehicles that actually do profit, but travel longer than a year.

Edit1: Update to 17666, "negative profit" message optimized, "negative total profit message" added.
Edit2: Update to 17680, "Depreciation" and "Refund" added to vehicles property window. Refund is now rated.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 4 guests