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

Place to get help with not working mods / modding interface.
Tunasz
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Jul 24, 2019 6:41 pm
Contact:

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

Post 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!
Tunasz
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Jul 24, 2019 6:41 pm
Contact:

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

Post 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 :)
Post Reply

Return to “Modding help”