Switching Teams
I am working on an Infected mod.
It works perfectly in a private match
When somebody connects, he will be transfered to the survivor team (allies).
when somebody gets infected, he switches to the infected (axis) team.
this is also visible on the scoreboard (tab).
The problem is public matches.
When I host the mod in a public match, everybody end up in a "unknown" team.
As in, crosshair and name will be red when you aim on somebody, and they show up as enemies on the UAV/map
BUT... the game threads them as if they we're allies. (you cant kill a fellow survivor).
furthermore, when you look at the scoreboard, everybody appears to be in the same team, a nameless team.
So my quiestion is, how can i make everybody switch teams properly as in a private match?
It works perfectly in a private match
When somebody connects, he will be transfered to the survivor team (allies).
when somebody gets infected, he switches to the infected (axis) team.
this is also visible on the scoreboard (tab).
The problem is public matches.
When I host the mod in a public match, everybody end up in a "unknown" team.
As in, crosshair and name will be red when you aim on somebody, and they show up as enemies on the UAV/map
BUT... the game threads them as if they we're allies. (you cant kill a fellow survivor).
furthermore, when you look at the scoreboard, everybody appears to be in the same team, a nameless team.
So my quiestion is, how can i make everybody switch teams properly as in a private match?

