I think there will be an option to turn this off in the 1.5 patch.
I had the same problem, but I was able to solve it easily because all allied players were supposed to have the same amount of resources all the time(to represent a shared resource pool).
If your allied players can have different amounts of resources, I think your best bet is a periodic loop that save the resources of players. Then when a player leaves, you take the last saved resource amount for that player and subtract (that amount / allied players still in game(I think computer players count))
1. Kill all units/buildings for player, or even if you made it neutral, single it out.---that will get rid of getting more income with scvs drones and probes
2. set resourses to 0 before the trigger that says end in defeat. so in essance when he clicks on quit game the trigger will run to end the game, add in an action to set his resources to 0. so even when he does leave there is nothing to distribute to other players.
i know this because i updated the DS game and its how to prevent a player from banking 6000minerals and quiting giving the other players a huge income boost, lol
I've been trying for a long time to turn off resource sharing when a player leaves the game.
I have a loop that sets them to "neutral" when they leave and all their resources to 0, but that doesn't work.
What is the easiest way to do this?
I think there will be an option to turn this off in the 1.5 patch.
I had the same problem, but I was able to solve it easily because all allied players were supposed to have the same amount of resources all the time(to represent a shared resource pool).
If your allied players can have different amounts of resources, I think your best bet is a periodic loop that save the resources of players. Then when a player leaves, you take the last saved resource amount for that player and subtract (that amount / allied players still in game(I think computer players count))
@composure19d:
all you need is 2 actions.
1. Kill all units/buildings for player, or even if you made it neutral, single it out.---that will get rid of getting more income with scvs drones and probes
2. set resourses to 0 before the trigger that says end in defeat. so in essance when he clicks on quit game the trigger will run to end the game, add in an action to set his resources to 0. so even when he does leave there is nothing to distribute to other players.
i know this because i updated the DS game and its how to prevent a player from banking 6000minerals and quiting giving the other players a huge income boost, lol