In the standard OpenTTD program, the station ratings are influenced by
- the maximum speed of the last train,
- the age of the last train,
- the time since the last train visited,
- the amount of cargo waiting at the station,
- whether a statue has been built or not.
My patch changes this behavior so that the station rating depends to 90% on the relationship between cargo waiting at the station and cargo delivered per month. The remaining 10% is determined by whether you have built a statue or not. The maximum speed and age of the last train is no longer taken into account, and the time since the last train's visit is also no longer directly taken into account, only indirectly by the fact that additional cargo is waiting to be picked up, which affects your rating negatively if the stockpile gets too large.
However, although my new rating system is similar to the current OpenTTD rating system in that both are based on the amount of cargo waiting to be picked up in a station, my new rating system works very differently: As long as you don't let the cargo stockpile at the station get any larger than one month of production output, you will suffer no rating penalty at all. In contrast, the current OpenTTD rating system already gives you a rating penalty for having a stockpile of only 100 units, which forces you to always have at least one train in the station with a "full load" order, in order to keep a high rating.
The main advantage of my new rating system is that it is enough if you visit a station from time to time and don't let the stockpile get too large. My patch accomplishes this by keeping track of the total production output of a station, so that stations with more production may also have a larger stockpile before suffering a penalty. The current OpenTTD station rating system does NOT take the production of a station into account, it only has fixed size limits for the stockpile.
My patch is not limited to station ratings, though: In the current town rating system, active stations which have been visited in the last 50 days give you a +12 monthly town rating bonus and stations which haven't been visited in the last 50 days give you a -15 town rating penalty. My patch changes the previously mentioned 50 days to 3 months, so it is sufficient to visit a station every 3 months to get a town rating bonus instead of a penalty.
The main disadvantage, however, is that it is very easy to get a station rating of 90% (100% with statue), which means there will be no real competition in multiplayer games when fighting over an industry.
This patch does not change the savegame format, so that my version should be able to load standard OpenTTD savegames and the standard version of OpenTTD should also be able to read savegames produced by my version. However, as a precaution, I do recommend that you make a backup of your savegames before overwriting them with my version of the game.
I decided not to make a patch option for my patch (at least for now) because that would break the savegame compatibility mentioned above.
Also, I would like to point out that I have not tested this patch in multiplayer and, if I understand the multiplayer mechanism correctly, it will cause desyncs in multiplayer. In order to make it multiplayer compatible, I would have to change the savegame format, which would break savegame compatibility with trunk.
I'd appreciate any feedback you have on my new station rating system.
ChangeLog:
r13992/r13994: original version 1.0
r14126: version 1.1 with the following changes:
- Removed vicious circle present in version 1.0 in which a production decrease reduced the permitted size of a stockpile, which caused the now overflowing stockpile to reduce station rating, which reduced production even further, causing the vicious circle to start over again, eventually causing the station rating to drop to 0%. Now the permitted size of a stockpile with which you can still get a station rating of 100% will be reduced per month by a maximum of 10 units (which is very slow!), so this vicious circle is now broken.
- The permitted size of a stockpile that still allows for a 100% station rating is now not only dependent on the amount of cargo produced by industry, but it also takes into account the amount of cargo transferred by "transfer" orders to the station. This means that stations that receive a lot of cargo with "transfer" orders and do not receive production directly from industries, may now have a stockpile as large as if they were receiving this cargo directly from industry.
- The station rating is now not only determined by the size of the stockpile. If a station is neglected for more than 3 months, the station rating will start to drop, even if the station's stockpile is empty.
- Reduced the number of months a station may be inactive, before it causes a negative town rating, to 3 months. In version 1.0, I had unintentionally set this value to 7 months because the OpenTTD wiki contained false information. Compared to trunk, this is still an increase, as OpenTTD trunk sets this value to 50 days.