Scriptable Admin Console Commands
Posted: 14 May 2015 02:58
I was wondering if it would be possible to add an ability to define new admin console commands in the same way that game scripts are defined?
I would love to access a stream of data from OpenTTD to do some data analysis on, and the current API integration through the admin console doesn't give me information about all of the vehicles (cargo, capacity, age, profit etc.).
I was thinking about patching the console to include this command, however I realised that if it was possible to define the command using a game script it would be much more flexible.
I would love to access a stream of data from OpenTTD to do some data analysis on, and the current API integration through the admin console doesn't give me information about all of the vehicles (cargo, capacity, age, profit etc.).
I was thinking about patching the console to include this command, however I realised that if it was possible to define the command using a game script it would be much more flexible.