AI Versions in info.nut need to be integers

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
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

AI Versions in info.nut need to be integers

Post by Yexo »

For your information, OpenTTD reads the version from info.nut as an integer. At the moment this is not visible, but as soon as the AI gui is finished, all versions 1.x will show as 1. This might be what you want, but it's probably not. I therefor advise you all to use integers only for version numbering. If you want to simulate 1.x, you can use 104 as version to indicate 1.4 for example.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 15 guests