AICONFIG_INGAME and API 1.0

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
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

AICONFIG_INGAME and API 1.0

Post by fanioz »

Is AICONFIG_INGAME flags would only has effect, if the API version returned by AI was 1.1 ?
I though that feature was introduced on API 1.0
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: AICONFIG_INGAME and API 1.0

Post by Yexo »

It should work fine in 1.0
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: AICONFIG_INGAME and API 1.0

Post by fanioz »

I was at arround r19265 (didn't remember it exactly) when I couldn't (de)activated setting in game, with API version returned is 1.0. After trying to return the API version to 1.1, I can controlled the settings inside game.
Now, I am at r19295 and I could do it on both returned API version 1.0 or 1.1.
So there is no problem anymore.
:D
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: AICONFIG_INGAME and API 1.0

Post by fanioz »

I guess this is not about API version, now I found this problem occur when I set difficulty level at title screen to easy, medium and hard. So, if there is a user who would like to change 'configurable' AI setting in game,s/he could only do it when difficulty level was Custom.
Or am I missing something at this point?
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 6 guests