[L4D2] Force L4D2 survivor arms, names, icons
8 Attachment(s)
https://i.imgur.com/z4Lbbnz.png
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. |
Re: [L4D2] Force L4D2 survivor arms, names, icons
Quote:
|
Re: [L4D2] Force L4D2 survivor arms, names, icons
Cool plugin
|
Re: [L4D2] Force L4D2 survivor arms, names, icons
To fix arms and icons for local server hoster, I used this plugin Mission and Weapons - Info Editor.
https://forums.alliedmods.net/showthread.php?p=2614626 There I opened file data/l4d_info_editor_mission.cfg and I put "survivor_set" "2" on the "all" block and it's works for local server hoster. With my plugin makes L4D2 arms and icons for everyone. |
Re: [L4D2] Force L4D2 survivor arms, names, icons
I tried this plugin. While indeed it works as advertised, it introduced a nasty bug where some players (including me) would get kicked from the server because of file consistency conflicts. For example, if we were playing a custom map, it would then complain about the server enforcing consistency on that map. Sometimes it would work after a few tries, while some players would not have this problem at all.
Removed the plugin again and problem went away. So, I can not recommend using it in it's current state. |
Re: [L4D2] Force L4D2 survivor arms, names, icons
Quote:
Sorry to hear the issues associated with the plug-in, this is currently the only method to force survivor_set 2 on the client-side of everyone without needing them to download addons, and it is still less than ideal. |
Re: [L4D2] Force L4D2 survivor arms, names, icons
Quote:
|
Re: [L4D2] Force L4D2 survivor arms, names, icons
Quote:
EDIT: Pushed an update for the plugin (1.0.1). Let me know if it still has issues. |
Re: [L4D2] Force L4D2 survivor arms, names, icons
Great plugin man! Question though I don't know if this is possible.
By any chance is it possible to recreate the same results without setting the survivor set to 2? Reason for me asking as such is some addon campaigns like Buried deep has a custom horde music that only works if survivor set is 1. Setting the survivor set to 2 will not play that music. Honestly I maybe asking for too much. |
Re: [L4D2] Force L4D2 survivor arms, names, icons
Quote:
I don't think it was ever posted on here though. You had to go digging on someone's github to find it. EDIT I found it. Not sure if anything more current exists out there, but these two plugins allow for the l4d1 music to work when the set is 2. I think it works with custom campaigns too unless I'm mistaken. https://github.com/LuxLuma/L4DMusic_stuff |
All times are GMT -4. The time now is 09:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.