Neighbours are important - suggestion

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
elricks
Engineer
Engineer
Posts: 21
Joined: 29 Jan 2013 03:01

Neighbours are important - suggestion

Post by elricks »

I am playing this script, and at the same time developing many industries that have no impact upon the growth of my cities. This means that there are periods of time where I have not watched each of my cities. It would be good if there was a way I could find out who many days my cities were growing compared to how many they were not. It would need to be worked out on (say) a period of around 2 years, and could be formatted in any way, a % of time growing against total time; days growing:days not growing; a graph. Or in another method entirely, a way to see what the historical growth has been. This would enable me to assess how effective my strategy for any given city is working, without having to keep watching each city's detailed report

Thanks for a great experience

Shirley
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Neighbours are important - suggestion

Post by Zuu »

Hello.

First I think it would be useful if you post suggestions to the main Neighbours are important thread. (the one linked form in the game, bananas website etc.: http://www.tt-forums.net/viewtopic.php?f=65&t=57963 .

To respond to your suggestion: I can agree on that a such feature can be useful. However if you have stockpiling enabled, the script already uses all available string parameters in the town window. That is how many variable data items that can be contained in the custom text in the town window which is limited to a total of 20. It could be possible to add some sort of monitor pages to the story book, however I don't want to add one page for each town in the map as that could potentially be a huge list. Another option is to expose the data to Admin Port clients so that if you run the script on an OpenTTD server (this can be just you playing on in OpenTTD hosting a private game with no other people connected), it is possible to connect a custom written program to read the data and process and present externally to OpenTTD.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 13 guests