How to make a MOD that plays factorio automatically

Place to get help with not working mods / modding interface.
Post Reply
kengonakajima
Inserter
Inserter
Posts: 39
Joined: Thu Feb 27, 2014 2:37 am
Contact:

How to make a MOD that plays factorio automatically

Post by kengonakajima »

Hi, I wanted to make an AI program that play factorio as a normal player,
that means, it don't modify game nor cheats, just play it automatically.

I have found that I can't command the player to craft inside inventory from Lua.
To automate crafting, I searched how to generate events to GUI and manipulate
player action by GUI events, but I can't find.

Is there any way to automate gameplay itself?
I want to exclude using external tools that receive screenshots of game..

Thanks!

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: How to make a MOD that plays factorio automatically

Post by DaveMcW »

No way to automate gameplay, the devs only added enough automatic commands to make the trailer.

kengonakajima
Inserter
Inserter
Posts: 39
Joined: Thu Feb 27, 2014 2:37 am
Contact:

Re: How to make a MOD that plays factorio automatically

Post by kengonakajima »

Oh, got it, thanks...!

Post Reply

Return to “Modding help”