Service rating details patch

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
wizeman
Engineer
Engineer
Posts: 18
Joined: 28 Jun 2004 22:53
Location: Portugal
Contact:

Service rating details patch

Post by wizeman »

To everyone who (like me) has ever wondered why your service ratings are not as high as they should be, please take a look at the attached screenshot. :wink:

This patch adds a new window to show what's contributing to the rating of a service in a station, in the same style as the "Detailed performance rating" window. :)

It has only been tested with revision 2201 (might need adjustments on other versions) and is working pretty well 8)

If you want to know even more details of how ratings work, take a look at this wiki page.
Attachments
rating_stats.patch
Patch to revision 2201
(15.78 KiB) Downloaded 361 times
Screenshot
Screenshot
openttd2.png (311.51 KiB) Viewed 916 times
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Doesn't look so bad, but why don't total in your window and the old window show the same value? :shock:
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1794
Joined: 30 Mar 2005 09:43

Post by peter1138 »

Also, the totals add up to 271, not 255, though I understand that is the way the original worked.
Prof. Frink
Tycoon
Tycoon
Posts: 3849
Joined: 20 Jan 2003 14:51
Location: Broadstone, Dorset
Contact:

Post by Prof. Frink »

Yep:
Finally, to calculate the rating, the game adds up the points from each component and then takes the percentage out of 255. So, if you have 255 or more points, you get a rating of 100%; 127 points gets your 50%, and so on.
Ref: http://i-want-a-website.com/about-tt/ttfaq12.html#12-8
wizeman
Engineer
Engineer
Posts: 18
Joined: 28 Jun 2004 22:53
Location: Portugal
Contact:

Post by wizeman »

Darkvater: the real rating is increased/decreased in small steps according to the total rating (I've written that in the tip of the total rating).
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 6 guests