External Publication
Visit Post

OpenTTD AIs and Game Scripts • Detect if company is human or AI controlled?

Transport Tycoon Forums - Index page [Unofficial] March 18, 2026
Source

I checked the API docs so I fear the answer is "no", but is there a way for an AI to tell if another company is controlled by a human player? Reason: I want to add an option to ChooChoo to stop its expansion if it exceeds a percentage of the human player(s) company value. I want to make it more casual friendly, because unchecked AIs tend to "run away" once they get off the ground financially, because they can execute very fast and just never stop. This means they can fill up the map in a few years of game time while a player might want to take some time to plan and build.

My backup plan is to just assume company #1 is the player company; that does appear to be the case with what you can set in this dialog.

Statistics: Posted by Michiel — 18 Mar 2026 22:32


Discussion in the ATmosphere

Loading comments...