Ze-Rax / TrackmaniaFlagRush

FlagRush is the new community made, teambased gamemode for Trackmania2020, providing a completely new way to play your favourite racing game with direct player interaction. In FlagRush, two teams fight for a flag and try to bring it to the base of the opposing team to score a point while preventing the other team to do the same.
MIT License
15 stars 1 forks source link

AutoTeamBalance Callvote #121

Closed Ze-Rax closed 2 years ago

Ze-Rax commented 2 years ago

We should check if and how autoteambalance works. If it shuffles the teams then we should give the players the possibility to start a vote for that.

There is already a Clientscript side function for requesting auto team balance: CPlaygroundClient::RequestAutoTeamBalance https://maniascript.boss-bravo.fr/class_c_playground_client.html#a5208b1164a1d6999fb80472893ab10d0

Ze-Rax commented 2 years ago

AutoTeamBalance seems to do nothing and I can also not find a way to detect it being called. Also Client Script Playerground.RequestAutoTeamBalance() doesn't even seem to start a vote...

Edit: Maybe the vote works but I couldn't see it because I was alone on a server. Usually I would still expect a "Successful" notification on the top left, but also command or settings votes didnt appear there. So maybe the vote is being called, but still I can't find a way to detect it.