Unsynced Lua AI

Unsynced Lua AI

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Unsynced Lua AI

Post by Beherith »

I think that there may be an advantage running a Lua AI on the unsynced side, so that in theory, only one person's CPU has to do calculations, and could maybe even leverage compute shaders.

This obviously comes at the cost of having to send commands over the network.

Im wondering what kind of API or approach we should use in this endevaour, as just regular unsynced Spring.GiveOrderToUnit is validated that it can only give orders to player-owned units.

Anyone have any examples of unsynced Lua AI's?
Post Reply

Return to “AI”