View Single Post
Patje
Junior Member
Join Date: Dec 2009
Old 12-19-2009 , 12:18   [L4d2] csm change
Reply With Quote #45

I made a change to the original csm plugin. Now it's possible for every survivor to be wat you want to be. You can change your model to for example a tank, spitter, hunter etc. your model have the same functions as in a versus mode.

Original old post with some modifications:

This plugin allows players to change their character or model, regardless if they are survivor or infected.

Earlyer fixes:

Bill no longer glitches.
Infected can change their character (Admins only)
The models can be changed (Survivor or Infected) depending on the fun mode cvar (admins have immediate access to model changing)
This plugin uses a menu rather than a panel, which makes sense for the features it provides.
Compatible with admincheats.

Cvars:

l4d_csm_enable: Turn on/off character select menu (default 1)

l4d_csm_fun_mode: If 1, players will be able to change their models on the csm (default 0)

l4d_csm_Equal_mode: If 1, players will be able to change their characher on the csm (default 1)

l4d_csm_infected_menu: If 1, Infected Menu will be shown to players

l4d_csm_survivor_menu: If 1, Survivor Menu will be shown to players

l4d_csm_change_limit: Sets the amount of times a client can change their character

Changelog:

Version 1.4
* - Survivors can change their character to become infected (Version 1.3 you could only change the looks)

Version 1.3 (L4D)
* - Survivors can now become Infected and vice versa (model only)

Version 1.3
* - Added a timer to the Gamemode ConVarHook to ensure compatitbilty with other gamemode changing plugins
* - Survivors can now become Infected and vice versa (Character or model) (L4D2 only)
* - Added Boomette (L4D2 only)
* - Added Uncommon infected (model only) (L4D2 only)
* - Fixed bug where the survivor menu would appear even if its turned off

Version 1.2
* - Redone tank health fix
* - Few optimizations here and there
* - L4D2 version added

Version 1.1
* - Added cvars: l4d_csm_infected_menu, l4d_csm_survivor_menu and l4d_csm_change_limit
* - Fixed bug where clients can access restricted parts of the menu

l4d2csm.smx
l4d2csm.sp

Last edited by Patje; 12-19-2009 at 12:40.
Patje is offline