Hi,
Now, if you spawn a player far away from x=0, y=0, he will be surrounded by really big native's colonies. How could i change that? I need all player to face same challenge not matter where they spawn.
Thank you!
Enemies colonies bigger with greater distance to x=0,y=0
-
- Manual Inserter
- Posts: 4
- Joined: Thu Nov 17, 2016 4:29 am
- Contact:
Re: Enemies colonies bigger with greater distance to x=0,y=0
You can clear the enemies from around the spawn location, but the second problem the ores further away from 0, 0 are gonna be bigger
Here is how you could clear the enemies from around the new spawn *command line example*
/c local rad = 200; local spawn = {x=1000, y=1000}; local area = {{spawn.x-rad, spawn.y-rad}, {spawn.x+rad, spawn.y+rad}}; for _, entity in pairs(game.player.surface.find_entities_filtered{area=area, force="enemy"}) do entity.destroy() end
Here is how you could clear the enemies from around the new spawn *command line example*
/c local rad = 200; local spawn = {x=1000, y=1000}; local area = {{spawn.x-rad, spawn.y-rad}, {spawn.x+rad, spawn.y+rad}}; for _, entity in pairs(game.player.surface.find_entities_filtered{area=area, force="enemy"}) do entity.destroy() end
-
- Manual Inserter
- Posts: 4
- Joined: Thu Nov 17, 2016 4:29 am
- Contact:
Re: Enemies colonies bigger with greater distance to x=0,y=0
That could be a solution aproach!Nexela wrote:You can clear the enemies from around the spawn location, but the second problem the ores further away from 0, 0 are gonna be bigger
Here is how you could clear the enemies from around the new spawn *command line example*
/c local rad = 200; local spawn = {x=1000, y=1000}; local area = {{spawn.x-rad, spawn.y-rad}, {spawn.x+rad, spawn.y+rad}}; for _, entity in pairs(game.player.surface.find_entities_filtered{area=area, force="enemy"}) do entity.destroy() end
Thank you, Nexela
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Enemies colonies bigger with greater distance to x=0,y=0
You could spawn all players an equal distance from (0,0). That would make the natives equally strong for everyone.