I can't seem to find a previous topic about this, which is surprising considering how many people complain about this.
How are the spots on cncnet decided when all players have their start position as random? Is it actual random for all spots (as in an RNG)?
The reason I ask is because cncnet (perhaps sods law) always seems to pick the "wrong" spots when for example playing 1v1 on a 4 player map, or a 2v2 on a 6 (or 8 ) player map. For example, on dry heat spot always seems to work out as spot 1 vs spot 2. Or on HFO the other day in a 2v2, the spots were team A 1 & 5, team B 2 & 4.
I get the impression that whatever logic is in play is not the same as WOL/XWIS etc. Would it be possible to add some spot logic in?
For example on 2v2 maps, something like... pick a spot for player 1 at random, then whatever spot that is make sure it's always two spots away for player 2 (so spot 1 & 3, 2 & 4). Or in other words...
Question
Chandler
Hi,
I can't seem to find a previous topic about this, which is surprising considering how many people complain about this.
How are the spots on cncnet decided when all players have their start position as random? Is it actual random for all spots (as in an RNG)?
The reason I ask is because cncnet (perhaps sods law) always seems to pick the "wrong" spots when for example playing 1v1 on a 4 player map, or a 2v2 on a 6 (or 8 ) player map. For example, on dry heat spot always seems to work out as spot 1 vs spot 2. Or on HFO the other day in a 2v2, the spots were team A 1 & 5, team B 2 & 4.
I get the impression that whatever logic is in play is not the same as WOL/XWIS etc. Would it be possible to add some spot logic in?
For example on 2v2 maps, something like... pick a spot for player 1 at random, then whatever spot that is make sure it's always two spots away for player 2 (so spot 1 & 3, 2 & 4). Or in other words...
$mapSize = 4;
$offset = floor($mapSize / 2);
$player1 = int(ceil(rand($mapSize)));
$player2 = ($player1 + $offset) % $mapSize;
if ( 0 == $player2 ){ $player2 = $mapSize};
(not perfect but you get the idea)
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now