Makes clients think the gamemode is
ShootZones (or Dash in Dark Carnival map 2, c2m2_fairgrounds as ShootZones is a valid mode for that map) for a few seconds.
This tricks game clients to use the L4D2 survivor arms and icons due to the mutation modes being invalid for all maps and falling back to
survivor_set 2 on the client.
After a few seconds of delay it will set the client's
mp_gamemode to the proper gamemode so the TAB menu will work properly, but this will mean players will get a few seconds of a broken TAB menu.
This should not mess with the server's
mp_gamemode ConVar that all plugins/scripts rely on.
NOTE: Due to the nature of connecting clients, I can't guarantee that everyone will be able to get this fix. It is possible someone with a very slow computer or network may fail.
Original idea and version is from magicboyman2021.
I did not directly steal his code, but I somehow came to a similar functionality for my version.
-= ConVars =-
sm_forcel4d2_viewmdl_forceset2 1 -
min:0/max:1
(REQUIRES LEFT 4 DHOOKS)
Forces survivor set to 2.
Disables itself if
l4d_info_editor.smx OR
forceset.smx plugins are loaded.
Saved to
L4D2_arms.cfg in
left4dead2/cfg/sourcemod/
-=
For Local Server hosters =-
This plugin does not work on the server hoster, but will work on anyone else who joins the server.
Try combining this with the
Mission Info Editor plugin and set the
l4d_info_editor_mission.cfg file to use
survivor_set 2 on
all maps.
Mission Info Editor has the inverse effect by itself - you as the hoster will get the proper arms, names, and icons, but everyone else won't.