This plugin enable spectator team in versus mode, fix bugs connected with this and move player to spectate after connect so he cant control character when loading game (cant move and can't defend)
Cvar:
l4d_join_to_spec_after_conn - When 1 this move player to spectator team after connect, this is normally in other mods like CSS,TF2
l4d_st_reminder_mode - Remind mode cvar, when >0 then every <l4d_st_reminder_time> sec remind (print to chat) how to join team and if this cvar equal 2 then also show chooseteam menu
l4d_st_reminder_time - [Min 10.0, Max 300.0]
l4d_st_autokick_time - time need to kick spectators, if 0 then autokick is disabled [Max 9000.0]
l4d_st_changemethod - How plugin should switch to survivors: 1-by SDKCall 2-by sb_takecontrol cmd. Default:1
If you cant switch to surv try change to 2
Installation:
Copy spec_team.smx to addons/sourcemod/plugins
copy l4d_spec_team.phrases.txt to addons/sourcemod/translations
copy l4dspec_team.txt to addons/sourcemod/gamedata
after frist start in cfg/sourcemod/ should be config "l4d_spec_team.cfg", to change settings edit this file
Signatures taken from Fyren l4dunscrambler
Delete old spec_exploit_fix.smx from plugins folder
This plugin force vs_max_team_switches to 9999
Changelog:
3.01.09 - V 1.1
-Now plugin dont kill player if he is playing as Tank
-shorter delay betwen kill and join spectators
-changed kill by FakeClientCommand to kill by ForcePlayerSuicide
8.01.09 - V1.2
-Added function forcing move player to spectator after connect to server (when other players is outside Safe Room). This should prevent situation when player control character but he is still loading game (cant move, and cant defend)
8.01.09 - V1.2.1
-Showing up "chooseteam" menu after join spectator(when type "spectate" and when player connect), Thanks
bman87
10.01.09 - V1.2.2
-Now plugin works only in Versus Mode
15.01.09 - V 1.3.0
- Changed name to Spectator Team (spec_team)
- Prevent spawning bot by team switch
- This plugin force vs_max_team_switches to 9999
so default team switches limit no longer exist
(in practice)
14.03.09 - V 1.3.5
- Added "how to join team" reminder when on spectator (see cvar section)
- Added autokick from spectator
- Added Translation File
- Added AutoExec config file
- Some code optimalization
18.03.09 - V 1.4.0
- Added cvar
l4d_st_changemethod
- Added switch to survivors by SDKCall (prevent conflict with plugins like Admins Cheat)
- Added Signatures file l4dspec_team.txt. Signatures taken from Fyren l4dunscrambler
- Fixed not switching from infected to survivors