SnotlinG,
SnotlinG wrote:For 1v1 if you start close to each other its the same for both players.
Except that it's not. Consider the map to be broken down into regions like this:
123
456
789
If one player starts in region 5 and another in region 3 then it's not equal. The player in region 5 has a huge advantage because they cut the other player off from the rest of the map. You want players starting in regions 1-9 or 3-7 or 2-8 or 4-6 which is what your code does.
SnotlinG wrote:Also, in the mapeditor you need to actively enable 1v1-mode for your map, so hopefully the mapcreator should then take a few seconds consideration if there are 2 starts which should never be randomized at the same time.
I did not realize you had to enable 1v1 mode to allow a 1v1 game on a map with more than 2 starting spots. Or am I confused here and can I instead just pick FFA mode with only 2 players? I just opened up Illuria (a map I picked at random). Everything is checked as 'on' by default (allowing any variation). But the map creator just left everything as random. I suspect many map creators are doing that too.
KGB