For now, I only know that the GameMode exists on the server and the GameState is replicated to all the clients.
If my FPS has a Deathmatch and a TeamDeathmatch mode… are these GameModes or GameStates?
Deathmatch has some properties like MaxKills, MatchTime…
TeamDeathmatch has BlueTeamScore, RedTeamScore, MaxScore, MatchTime…
Starting from these, how would I set up these ones?
Every player HAS TO KNOW the properties of the Deathmatch, for example the maximum ammount of kills to be achieved before the match ends.
And… so? Where should I put those variables?
In the DeathmatchGameMode class or in the DeathmatchGameState class?
In the TeamDeathmatchGameMode class or in the TeamDeathmatch**GameState **class?
In this example I gave you, I don’t understand the difference between the two.
Clarafications are needed!