1 = Regular - Only one player can be IT, trying to catch another player to change roles.
2 = Freeze - Only one player can be IT, freeze other players and unfrozen players can try rescue frozen players.
3 = Team - One player start as IT, infecting other players to became IT also.
- Some wierd random player pick system... happen on event round_start
- Player IT will render as color green with little transparent
- Frozen player will be as color red with little transparent awhile, finally turn to blue, with little transparent
- Simple PrintToServer & PrintToChatAll announces
- // comments in source file, you maybe not understand them ever!
- Player own two kind timers, to delay touch-rate and momentarily immunity againts tag and/or rescue.
Delays are "hardcoded" in TagGame*Rules.sp files.
What I have not done
- commands and cvars
- scoring system
- not check when player die or disconnect
- etc. etc.
What else
- If you want test,
change mode manually from plugin source code and compile/reload plugin from server and use server command mp_restartgame 1
Of course need at least 2 players/bots or more
- I have separate code in few files, to understand it easier (or least I tried)
TagGameTest.sp
TagGamePickPlayer.sp
TagGameProcess.sp
TagGameRegularRules.sp
TagGameFreezeRules.sp
TagGameTeamRules.sp
This require SDKHooks extension, to recognize players touch and damage by melee weapon (I hope so).