Blue team

Blue team

Postby Bio-1 » 19 September 2019, 20:53

I found here a bug,if you change team of player to BLUE TEAM,if you place then other player with other team,1st player will play as 2nd player,and only in end others play as blue team.If you dont understand about what me just read it.

Me placing a player,changing team to blue team,then place other player with [color=#BF0000]red or other team and when me click "play as tester" when map loaded me playing as player 2 wiht other team (must play as #player1* but playing as #player2[/color]
If its not a bug help me about this thing.
ERROR!
File MeowVirus.exe is avaible only for CATS! :3
User avatar
Bio-1
Civil Security Lite [100]
 
Posts: 111
Joined: 6 September 2019, 19:22
Location: Ukraine

Re: Blue team

Postby Eric Gurt » 19 September 2019, 22:11

During map save players are reordered in a that order how players will connect to multiplayer match on this map. Player IDs don't really define this order but their teams do.
Work it harder
Make it better
Do it faster
Makes us stronger
More than ever hour
After our work is never over.
User avatar
Eric Gurt
PB2 Developer
 
Posts: 409
Joined: 14 July 2013, 16:46
Location: dn.ua

Re: Blue team

Postby Bio-1 » 20 September 2019, 13:01

I don’t quite understand you, but the players should sort of spawn in order of spawn of the players in the editor, that is, there are # player1 and # player2 and the first player will play for # player1 and the second for # player2
ERROR!
File MeowVirus.exe is avaible only for CATS! :3
User avatar
Bio-1
Civil Security Lite [100]
 
Posts: 111
Joined: 6 September 2019, 19:22
Location: Ukraine

Re: Blue team

Postby Eric Gurt » 20 September 2019, 19:17

It works like this due to how multiplayer logic was built originally. I never changed it since then.

Certain teams always have priority for first player slot over other team (higher team in list - higher priority).

After that slots go back and forth between two existing teams.

If there are more teams (ex. Alpha, Beta, Gamma) - then first 6 connected players will have their teams as following:
0. Alpha
1. Beta
2. Gamma
3. Alpha
4. Beta
5. Gamma

You initially spawn as red team is probably because it is higher in team list.
Work it harder
Make it better
Do it faster
Makes us stronger
More than ever hour
After our work is never over.
User avatar
Eric Gurt
PB2 Developer
 
Posts: 409
Joined: 14 July 2013, 16:46
Location: dn.ua

Re: Blue team

Postby Bio-1 » 21 September 2019, 15:10

I understand you, but it would be better if they spawned in order of spawn of the players, this would not cause problems, or for example, like I made a map and put it on I understand which team, for example, Usurpation Forces, and after making the spawn for the second player (in another team ) when I tested it switched me to the second. All the same, fix it, it sometimes hurts a lot
ERROR!
File MeowVirus.exe is avaible only for CATS! :3
User avatar
Bio-1
Civil Security Lite [100]
 
Posts: 111
Joined: 6 September 2019, 19:22
Location: Ukraine

Re: Blue team

Postby Bio-1 » 21 September 2019, 16:16

But it can be fixed on your map if you change team of char to blue team useing trigger.But that doesn’t mean you shouldn’t fix it.
ERROR!
File MeowVirus.exe is avaible only for CATS! :3
User avatar
Bio-1
Civil Security Lite [100]
 
Posts: 111
Joined: 6 September 2019, 19:22
Location: Ukraine


Return to Bug Reporting Archive

Who is online

Users browsing this forum: No registered users