RSO and the PvP Scenario
Posted: Thu Dec 07, 2017 10:08 am
Hello,
I've been trying to get the PvP Scenario working with RSO so that my friend and I can be on different teams with different start locations. I've followed the instructions in the Description and Information thread for setting up multiple spawn points, but it's not working - it just clears any resources/biters that are in the new spawn location without spawning the starting resources.
Here are the steps that I'm taking:
- Create the game with the following settings:
Distance Between Teams: 10000
Map Height/Width: 0 (For infinite?)
Two teams:
Team 1
Team 2
All other settings are default
- Start the round and get assigned to a team
- Run the following commands:
But as mentioned above, this just causes any existing resources/biters to get cleared, and no starting resources spawn.
Can someone please help me get this set up?
I've been trying to get the PvP Scenario working with RSO so that my friend and I can be on different teams with different start locations. I've followed the instructions in the Description and Information thread for setting up multiple spawn points, but it's not working - it just clears any resources/biters that are in the new spawn location without spawning the starting resources.
Here are the steps that I'm taking:
- Create the game with the following settings:
Distance Between Teams: 10000
Map Height/Width: 0 (For infinite?)
Two teams:
Team 1
Team 2
All other settings are default
- Start the round and get assigned to a team
- Run the following commands:
Code: Select all
/c local size = 250; game.forces.player.chart(game.player.surface, {left_top = {x = game.player.position.x - size, y = game.player.position.y - size}, right_bottom = {x = game.player.position.x + size, y = game.player.position.y + size}})
Code: Select all
/c remote.call("RSO", "clear")
Code: Select all
/c remote.call("RSO", "addStartLocation", {x=game.player.position.x, y=game.player.position.y})
Code: Select all
/c remote.call("RSO", "regenerate")
Can someone please help me get this set up?