Chat API for AI scripting?

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
Stefmachine
Engineer
Engineer
Posts: 6
Joined: 13 Sep 2021 14:05

Chat API for AI scripting?

Post by Stefmachine »

I'm very new to this forum and to openTTD AI scripting.

I want to interact with the AI via chat but I fail to find any chat API to use in scripting.
The only thing I found on the subject are posts from 2008 - 2010 (AIChat) which don't seem to apply anymore.
Is there anyway for an AI to read from and write to chat?

Thank you in advance for taking your time to answer.
Stefmachine
Engineer
Engineer
Posts: 6
Joined: 13 Sep 2021 14:05

Re: Chat API for AI scripting?

Post by Stefmachine »

It's been 9 days since I asked this question.

There really seems to be no option for AI chat.
agentw4b
Traffic Manager
Traffic Manager
Posts: 216
Joined: 14 Apr 2017 15:51
Location: Czech Republic

Re: Chat API for AI scripting?

Post by agentw4b »

There is no such thing, but there are some scripts that use a communication tile.

Game-Script-Libraries: TileLabels , Script Communication for GS

The second library is quite complicated and I honestly don't understand it very well.
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests