Page 1 of 1

Robots for PvP start attack every enemy and get the enemy's location

Posted: Wed Jul 24, 2019 7:14 pm
by Tunasz
Hello everyone!
I am new at factorio modding.
I making a PvP mod where you can make robots and they go to the enemy base and attack everything what the other players have.

I would like to know how can I make the robots attack everything that the enemy players have, because they doesn't want to attack the main building(rocket silo), which you have to destroy to win the game.

Also I would like to know how can I get the enemy player's coordinates to get the robots to start wonder to the enemies.

The idea is to make a big robot fight between the 2 bases.

And because I am new to this I would like to ask how can I get the functions to run?
I added them to an interface but I don't know yet how they working.
With this: "remote.add_interface"

I appreciate any help I get!

Re: Robots for PvP start attack every enemy and get the enemy's location

Posted: Wed Jul 24, 2019 8:32 pm
by Klonan

Re: Robots for PvP start attack every enemy and get the enemy's location

Posted: Wed Jul 24, 2019 8:42 pm
by Tunasz
Klonan wrote: Wed Jul 24, 2019 8:32 pm I would recommend taking a look at: https://mods.factorio.com/mod/Total_Automization

And for unit control: https://mods.factorio.com/mod/Unit_Control
Thank you! I look into them :)