Raised This Month: $256 Target: $400

[L4D/L4D2] Character Select Menu (2.5a/b)

Post New Thread Reply   
Thread Tools Display Modes
Veteran Member
Join Date: Jan 2010
Old 07-12-2010 , 00:22   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #261

Originally Posted by mi123645 View Post
l4d_csm_l4d1_survivors 1
l4d_csm_infected_models 0
l4d_csm_clients_infected 0
Menu still has SI classes, through this could because it's a admin thing.
IronWarrior is offline
Senior Member
Join Date: Apr 2010
Old 07-12-2010 , 07:32   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #262

Is there any way to locate !csm servers?
been looking through google to no avail
(Only found one server, which falsely advertised it had !csm when it did not)
Gurluas is offline
Senior Member
Join Date: Jul 2010
Location: Novaya Russia
Old 07-17-2010 , 04:52   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #263

Any chance for adding character limit? For example,ALOT of people chose Zoey in my server so adding limit like "Only 1 Zoey" is allowed on this team
SyluxLockjaw100 is offline
New Member
Join Date: Jul 2010
Old 07-24-2010 , 14:06   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #264

hi, how i can disable the models and leave only the characters in survivors and infected, so the survivors only can choose survivors and the infected only infected? i've tried changing the defaults without success...
tilderman is offline
Junior Member
Join Date: Apr 2010
Old 07-24-2010 , 21:41   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #265

Great plugin

Although I have a question. I once found a l4d2 server with a CSM plugin that let me pick a infected (Tank) yet still play as I was a survivor... I wanted to be able to do that, but can't...is there something I can do to enable that with this plugin?
ctu is offline
Join Date: Sep 2009
Old 08-02-2010 , 12:48   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #266

Possible to allow l4d1 characters to spawn randomly with l4d2?
e.g. 6 survivors, randomly from l4d1/l4d2 but make sure no duplicate?

Would be great for SuperVersus Servers
kiwi87 is offline
New Member
Join Date: Aug 2010
Old 08-02-2010 , 13:29   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #267


I installed this plugin on my server, but when I choose an old character (Zoey, Francis, Louis), I become invisible, I can't see the hand of my character.
When I choose an infected character, I become ... an infected. But I just want to take the appareance of, for exemple, a witch. Like in this video : http://www.youtube.com/watch?v=F18-AYjNpTA

What am I supposed to do ?


PS : Sorry for my english.
Maximilien is offline
Veteran Member
Join Date: Nov 2009
Old 08-03-2010 , 01:20   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #268

decided to add this to my server, but didnt want all the infected junk so i removed it.. and while doing so, i noticed quite a few places to improve the code. its easier to just post it, so here is my changes:
CSM Lite v1.0.1
*    Version 1.0 - Changes from v1.8 of CSM
*        - Removed all infected csm bits - this is now CSM Lite
*        - Reduced # of calls on global convar lookups
*        - Added hooks to several convars (it is noted in config file which aren't)
*        - Improved the hook on change limit to account for already used changes
*        - Reduced the # of convars for determining how to change character to 1
*        - Removed the OnClientDisconnect() call.. not needed
*        - Removed IsClientConnected() check(s).. not needed
*        - Removed global checking of admin - changed sm_csm to either be a console command or an admin command
*            Uses generic admin flag for access
*        - Fixed the menu command to not allow console access
*            Also uses ReplyToCommand now to properly respond to invalid usage
*        - Replaced PlayerIsAlive() with sourcemod function IsPlayerAlive()
*            Was this because of the infected stuff I removed?..
*        - Removed a useless timer
*        - Removed several hooks to events that are not required
*        - Now resets limits to all players on enable convar change.
*        - Other code clean-up bits I forgot to mention.
*        - Changed the convars and config file to represent that this is the "lite" version (cmsl instead of csm)
*    Version 1.0.1
*        - Added a hook to the l4d1 character convar
*        - Added back in OnMapEnd for the above hook
*        - Attempt at fixing glitchy weapon
*        - Removed page 2 of the menu when there is 8 options to select from (eg: characters + models - l4d1)
*        - Expanded the announcement based upon the available options (change model, character, both).
*        - Added a message informing clients when they only have 5 or less changes left.. this has a #define if you want to tweak it.
*        - Fixed memory leak when menu is canceled.
*        - Added more precaching checks for the l4d1 survivors to prevent crashing
Convars (in config file plugin.l4d.csml):
// ConVars for plugin "l4d_csml.smx"

// Changes access to the sm_csm command. 1 = Admin access only (generic flag). (restart plugin if this is changed)
// Minimum: "0" - Maximum: "1"
l4d_csml_admins_only "0"

// Toggles the announcement of sm_csm command availability. (restart plugin if this is changed)
// Minimum: "0" - Maximum: "1"
l4d_csml_announce "1"

// Sets the number of times clients can change their character per life/map.
// Minimum: "0"
l4d_csml_change_limit "9999"

// Toggles the CSM plugin functionality.
// Minimum: "0" - Maximum: "1"
l4d_csml_enable "1"

// Toggles access to L4D1 Survivors in L4D2. Does nothing if game is L4D1. (won't work until next OnMapStart())
// Minimum: "0" - Maximum: "1"
l4d_csml_l4d1_survivors "0"

// 1 = change to character (you become a clone). 2 = Re-skin (you are a doppleganger - look like the new character, but still yourself). 3 = Allow both 1 and 2.
// Minimum: "1" - Maximum: "3"
l4d_csml_model_access "1"
the equipped weapon still displays incorrectly sometimes, but not nearly as often as before.

** if anyone chooses to use this - remove the csm plugin (and config file).
Attached Files
File Type: sp Get Plugin or Get Source (l4d_csml.sp - 362 views - 19.5 KB)
dirka_dirka is offline
Veteran Member
Join Date: Jan 2010
Old 08-03-2010 , 09:27   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #269

dirka_dirka so does this version only show L4D1 and L4D2 survivor choices? Does it include Bill?

I take it that the message to use CSM is now disabled for Infected?
IronWarrior is offline
Veteran Member
Join Date: Nov 2009
Old 08-03-2010 , 10:54   Re: [L4D/L4D2] Character Select Menu (1.8)
Reply With Quote #270

if you read the first line of my post, and the first line of the changelog.. infected is removed.. whats left? give ya 2 guesses.

i added nothing, only re-wrote. as the op states, bill character requires a vpk (and really, all l4d1 characters do - but the others partially work).

disabling the announcement for infected would mean they never see it. the announcement is only made ONCE when a player connects to the server.. not every round (which would be when you would disable it for infected).
dirka_dirka is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 22:13.

Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode