Page 1 of 1

Is it possible to implement custom controller_types ?

Posted: Mon Aug 01, 2016 10:33 am
by fat
Hi,

There are 3 defines.controllers: ghost, character and god.

Is it possible to implement new controllers via LUA ?

Thanks

Re: Is it possible to implement custom controller_types ?

Posted: Mon Aug 01, 2016 1:06 pm
by daniel34
Moved to Modding help.

This is not possible because they have to be implemented in the C++ backend.
Why do you need another controller and how would it behave compared to the current controllers?

Re: Is it possible to implement custom controller_types ?

Posted: Mon Aug 01, 2016 4:14 pm
by fat
daniel34 wrote:Why do you need another controller and how would it behave compared to the current controllers?
Curiosity at first
I was having a look at the factorio API in order to check if it was possible to control the player as a human would do (move, see, point, click, stroke a key). The behind purpose is to create an automated player. I think there's a very interesting playground for AI experimentations.

my 2 cents :)