Page 1 of 1

[GS] League Tables

Posted: 14 Mar 2024 22:55
by xarick
I had this Game Script ready since 2022, but only now I decided to upload it to the Online Content. Hope you find it useful.
Unnamed, 1937-09-03.png
Unnamed, 1937-09-03.png (87.61 KiB) Viewed 1589 times
League Tables
=============

This Game Script replaces the original League Table with a set of custom League Tables.

- Company Value Table:
Ranks companies by their current quarter value.

- Most Profitable Vehicle:
Ranks companies based on their vehicle with the best sum of current and last year profits.

- Rail Infrastructure Efficiency:
Ranks companies by profit of trains per number of rail pieces.

- Road Infrastructure Efficiency:
Ranks companies by profit of road vehicles per number of road pieces.

- Canal Infrastructure Efficiency:
Ranks companies by profit of ships per number of canal pieces.

- Airport Infrastructure Efficiency:
Airport Infrastructure Efficiency

- Most Profitable Train:
Ranks companies based on their train with the best sum of current and last year profits.

- Most Profitable Road Vehicle:
Ranks companies based on their road vehicle with the best sum of current and last year profits.

- Most Profitable Ship:
Ranks companies based on their ship with the best sum of current and last year profits.

- Most Profitable Aircraft:
Ranks companies based on their aircraft with the best sum of current and last year profits.

It has an untested feature where feedback is needed. It is sending data via GSAdmin, but I have no idea how to set that up. Anyone experienced enough with Admin stuff would like to test it?

Code: Select all

GSAdmin.Send({ league_name = league.name, company = c_id, company_val = c_val });

Re: [GS] League Tables

Posted: 15 Mar 2024 02:06
by odisseus
This should be accepted into the core game and replace the pathetic thing that is called "performance rating". The only default metric that is worth keeping and isn't present in this script is the number of different cargo types that are being transported by the company.

Re: [GS] League Tables

Posted: 23 Mar 2024 14:24
by HGus
Good job!

Re: [GS] League Tables

Posted: 25 Mar 2024 00:47
by AAAHogEx
Wow, now I know what the cool thing about xarick's screenshot is!
By the way, I used it in a scenario and it crashed, so I'll report back.

Re: [GS] League Tables

Posted: 27 Mar 2024 17:47
by xarick
Thanks. Just uploaded v2 with a fix.