AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D/L4D2] Character Select Menu (2.5a/b) (https://forums.alliedmods.net/showthread.php?t=107121)

mi123645 10-23-2009 00:36

[L4D/L4D2] Character Select Menu (2.5a/b)
 
2 Attachment(s)
This plugin allows players to change their character or model, regardless if they are survivor or infected.

Credits: MagnoT for the idea, Sourcemod team for sourcemod, and Valve for a great game.

There are two versions of CSM now. I had to take this course of action because the Generic/Bill's m_survivorCharacter netprop I used crashed on certain servers. If Bill or The Passing with L4D1 survivors was crashing your server in version 2.3 for you, use 2.5a, else use 2.5b if version 2.3 was working for you.

Notes about the L4D1 Survivors: Bill works now without crashing the game and the L4D1 Survivors all have their voices and icons implemented thanks to Valve. The versus scoring now works with the L4D1 Survivors, a bit with a workaround. The workarounds can be noticed as followed:

Bill's hands may "disappear" for a split second from time to time. This is normal and is the only way to prevent Bill from crashing. For those who want to know why he crashes the game, its because the Director has trouble spawning common infected (yes its related to common infected) near him.

In Versus, Bill's hands and icons (along with the other L4D1 Survivors in versus) will flash as a L4D2 survivor. Again, this is normal for scoring purposes.

The glitches that occur with the L4D1 survivors in The Passing have also been fixed with workarounds.


The game should no longer crash due to precache errors. The models now precache the second they are needed.


The plugin will now save the character when a map starts and ends, and restore the player's character when the map starts.


A new command has been added called "csc" (Character Select Client) which allows admins with a generic flag to change the character or model of that of a client or admin in the server.

You cannot play as the L4D2 Survivors in the L4D1 Campaigns except as models. The code to support them is just not there within the game.

The plugin no longer affects the Infected team. Anything "Infected" related is actually affects the survivor team.

If your server is on a L4D1 Campaign, you need to set l4d_csm_l4d1_survivors to 2, else glitches will occur.

Seems like I need to clarify the "l4d_csm_infected_access" cvar. This does apply to the infected team at all, as this plugin cannot be used on the infected team. For those who want to change their character on the infected team, I recommend using Zombie Character Select.

Please report any bugs, I do listen to feedback.

Changelog:

Quote:


Version 2.5a/2.5b
* - Fixed bug in finale with Bill where common infected spawned when the tank arrived

Version 2.4a/2.4b
* - May fix Bill from crashing, try either version


Guinn 10-23-2009 16:52

Re: [L4D] Character Select Menu
 
hi mi :D

for admins as special infected (versus) is there a way to make it so the menu can only be used when you spawn as special infected via the director and not just when ever you want? right now i can spawn immediately after death using the menu. also can you limit it so only once during spawn they can change and not at will while alive. i don't want my admins capable of that. i know you would think i wouldn't have to worry about admins i pick, but everyone likes to have some fun, but i don't want them getting carried away with it.

see i am not asking much! see ya on steam.

Guinn

luvmuscle 10-24-2009 00:16

Re: [L4D] Character Select Menu
 
Thankyou for doing this, this is neat. But i was wondering if you could tweak it so that when you change your character it does a full character change. So that if i didnt want to be the boomer then i could actually be the hunter and not just change my model.

mi123645 10-24-2009 01:02

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by Guinn (Post 970178)
hi mi :D

for admins as special infected (versus) is there a way to make it so the menu can only be used when you spawn as special infected via the director and not just when ever you want? right now i can spawn immediately after death using the menu. also can you limit it so only once during spawn they can change and not at will while alive. i don't want my admins capable of that. i know you would think i wouldn't have to worry about admins i pick, but everyone likes to have some fun, but i don't want them getting carried away with it.

see i am not asking much! see ya on steam.

Guinn

Interesting I-

Wait, are you the Guinn who I'm thinking of?

mi123645 10-24-2009 01:03

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by luvmuscle (Post 970452)
Thankyou for doing this, this is neat. But i was wondering if you could tweak it so that when you change your character it does a full character change. So that if i didnt want to be the boomer then i could actually be the hunter and not just change my model.

Thats actually implemented into the plugin, only admins can access it though.

Guinn 10-24-2009 09:49

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by mi123645 (Post 970473)
Interesting I-

Wait, are you the Guinn who I'm thinking of?


ha yep :D

Bongholio 10-25-2009 08:12

Re: [L4D] Character Select Menu
 
Another quality plugin thanks mi.
I once was zoey and changed to francis model,...model changed
but still had zoey's audio and hands in FPS view I think.

mi123645 10-25-2009 10:37

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by Bongholio (Post 971646)
Another quality plugin thanks mi.
I once was zoey and changed to francis model,...model changed
but still had zoey's audio and hands in FPS view I think.

My pleasure :D

If you change just the model, it will keep the sounds and hands of the original character.

Dragonshadow 10-25-2009 11:11

Re: [L4D] Character Select Menu
 
Can I have a cvar to disable it for infected, admins and all?

mi123645 10-25-2009 11:36

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by Dragonshadow (Post 971797)
Can I have a cvar to disable it for infected, admins and all?

I'll probably put that in the next version.

Skorpion1976 10-25-2009 12:39

Re: [L4D] Character Select Menu
 
This is hilarious :mrgreen:. Thanks!

Dragonshadow 10-25-2009 15:47

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by mi123645 (Post 971815)
I'll probably put that in the next version.

Then I wait for the next version!

Peron 10-27-2009 10:59

Re: [L4D] Character Select Menu
 
Thanks for a really cool plugin! I have two questions though;
1. Is there a way to prevent the plugin from announcing the message about it to players?

2. It seems like everyone has access to this even though (if i understood it correctly) it's supposed to be for admins only. Is there a way to set it so only me and other admins can use this plugin?

Thanks in advance.

mi123645 10-27-2009 22:31

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by Peron (Post 973318)
Thanks for a really cool plugin! I have two questions though;
1. Is there a way to prevent the plugin from announcing the message about it to players?

2. It seems like everyone has access to this even though (if i understood it correctly) it's supposed to be for admins only. Is there a way to set it so only me and other admins can use this plugin?

Thanks in advance.

Clients have the right to access the menu if they are on the survivor team. By default, fun mode must be on for clients to access the infected part of the menu, and have access to only model switching.

I will add a cvar for the message.

Peron 10-28-2009 07:29

Re: [L4D] Character Select Menu
 
Quote:

Originally Posted by mi123645 (Post 973972)
Clients have the right to access the menu if they are on the survivor team. By default, fun mode must be on for clients to access the infected part of the menu, and have access to only model switching.

I will add a cvar for the message.

Ok, thanks a lot! Waiting for the next version then :p

mi123645 11-01-2009 14:40

Re: [L4D] Character Select Menu (1.1)
 
1.1 has been released, sorry for the long wait.

DarthNinja 11-01-2009 15:54

Re: [L4D] Character Select Menu (1.1)
 
Quote:

Originally Posted by mi123645 (Post 978140)
1.1 has been released, sorry for the long wait.

Cool, nice plugin by the way :up:

Equilibrium 11-02-2009 13:43

Re: [L4D] Character Select Menu (1.1)
 
Nice plugin, thanx :)

Bongholio 11-03-2009 18:44

Re: [L4D] Character Select Menu (1.1)
 
1 small question.
I tried this a couple times as infected does someone doing
that appear normal color mdl to survivors?
In infecto vision it looked like l4paint was on and the mdl on the infected was real red.

mi123645 11-03-2009 22:36

Re: [L4D] Character Select Menu (1.1)
 
Quote:

Originally Posted by Bongholio (Post 980230)
1 small question.
I tried this a couple times as infected does someone doing
that appear normal color mdl to survivors?
In infecto vision it looked like l4paint was on and the mdl on the infected was real red.

I'm sorry but I totally do not understand you. Rephrase?

Bongholio 11-04-2009 03:40

Re: [L4D] Character Select Menu (1.1)
 
Rephrase

I sm_ji 'ed in a co-op campaign game as admin then I !csm 'ed to a survivor .mdl. It appeared to me that the disguised infected was EXTRA
red.
Does a disguised infected look like a survivor to other survivors
(except for the obviously strange looking attack anims.)?

mi123645 11-04-2009 04:03

Re: [L4D] Character Select Menu (1.1)
 
Quote:

Originally Posted by Bongholio (Post 980498)
Rephrase

I sm_ji 'ed in a co-op campaign game as admin then I !csm 'ed to a survivor .mdl. It appeared to me that the disguised infected was EXTRA
red.
Does a disguised infected look like a survivor to other survivors
(except for the obviously strange looking attack anims.)?

Yes.

Bancky 11-06-2009 08:29

Re: [L4D] Character Select Menu (1.1)
 
Is there any chance we can include the ability for admins to use custom models that are installed on the server. I would like my admins to look like admins.

Thanks for the awesome plugin!

mi123645 11-07-2009 21:45

Re: [L4D] Character Select Menu (1.1)
 
Quote:

Originally Posted by Bancky (Post 982281)
Is there any chance we can include the ability for admins to use custom models that are installed on the server. I would like my admins to look like admins.

Thanks for the awesome plugin!

I'm not sure on how I could implement that. I'm not even aware that l4d can use custom models.

mi123645 11-24-2009 03:04

Re: [L4D & L4D2] Character Select Menu (1.2)
 
1.2 and L4D2 version released.

ride GTP 11-24-2009 17:55

Re: [L4D] Character Select Menu (1.1)
 
Quote:

Originally Posted by mi123645 (Post 983704)
I'm not sure on how I could implement that. I'm not even aware that l4d can use custom models.

i think you can using sv_pure 1 that would use server models. and i have seen custom models in l4d

ShadowZealot 11-27-2009 01:35

Re: [L4D & L4D2] Character Select Menu (1.2)
 
Do you think you could make jimmy gibs one of the selectable models? and the female boomer model? and perhaps make it where survivors can change their models to infected please :)

Hunterbrute 11-28-2009 15:01

Re: [L4D & L4D2] Character Select Menu (1.2)
 
Just wanna say this is a great plugin and helped out a bunch on our L4DMods server.

Marcus101RR 11-29-2009 23:05

Re: [L4D & L4D2] Character Select Menu (1.2)
 
Code:


       
HTML Code:

       
// If 1, Infected Menu will be shown to players
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_csm_infected_menu "0"



INFECTED can still select model !csm in versus. Could you please remove that alot of people are falling for this in versus and think its a player.

mi123645 11-30-2009 01:19

Re: [L4D & L4D2] Character Select Menu (1.2)
 
Quote:

Originally Posted by Marcus101RR (Post 1002751)
Code:


       
HTML Code:

       
// If 1, Infected Menu will be shown to players
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_csm_infected_menu "0"
 



INFECTED can still select model !csm in versus. Could you please remove that alot of people are falling for this in versus and think its a player.

You haven't shown me the rest of your cvars. You need to turn off the survivor menu if fun mode is on.

mi123645 11-30-2009 12:32

Re: [L4D & L4D2] Character Select Menu (1.3)
 
1.3 released.

ShadowZealot 11-30-2009 14:47

Re: [L4D & L4D2] Character Select Menu (1.3)
 
You mean i can have guns AND be infected? *peter griffin voice* "Sir, here is a blank check, write any number on this piece of paper and i will pay it"

This wins l4d2 sourcemod lol

dusticus 12-01-2009 20:32

Re: [L4D & L4D2] Character Select Menu (1.3)
 
I was unable to install this mod with any success. The panel wouldn't show and now I can't get rid of the pop-up message to "type !js !ji to join etc...". What else might I do to uninstall this? I have already removed it from both the plugins and the cfg/sourcemod/ folders but the message persists

mi123645 12-02-2009 00:13

Re: [L4D & L4D2] Character Select Menu (1.3)
 
Quote:

Originally Posted by dusticus (Post 1004548)
I was unable to install this mod with any success. The panel wouldn't show and now I can't get rid of the pop-up message to "type !js !ji to join etc...". What else might I do to uninstall this? I have already removed it from both the plugins and the cfg/sourcemod/ folders but the message persists

That message is not apart of this plugin, but the Infected Bots plugin.

Bongholio 12-02-2009 18:02

Re: [L4D & L4D2] Character Select Menu (1.3)
 
Think I found a bug.
L4D2 coop/campaign
non-dedicated server
sourcemod-1.3.0-hg2865.zip
mmsource-1.8.0-hg688.zip

I was on the infected team with infected bots plugin
& spawned as a smoker.
I sm_csm to the coach model
(saw him run by he had an AK as his gun).
When the model was put on my smoker it had the AK also.
Promptly shot Rochelle in the back,knocked her down
somehow dropped the gun then smoked her.
Weird :roll:

EDIT
Didn't see Shadow Zealot post about it sorry I looked kinda didn't want to spam.

mi123645 12-02-2009 18:56

Re: [L4D & L4D2] Character Select Menu (1.3)
 
Quote:

Originally Posted by Bongholio (Post 1005445)
Think I found a bug.
L4D2 coop/campaign
non-dedicated server
sourcemod-1.3.0-hg2865.zip
mmsource-1.8.0-hg688.zip

I was on the infected team with infected bots plugin
& spawned as a smoker.
I sm_csm to the coach model
(saw him run by he had an AK as his gun).
When the model was put on my smoker it had the AK also.
Promptly shot Rochelle in the back,knocked her down
somehow dropped the gun then smoked her.
Weird :roll:

This plugin is borderline a glitch in itself. Anything that happens (like changing from an infected to a survivor character wise) that looks weird is to be expected.

KrankFL 12-03-2009 06:43

Re: [L4D & L4D2] Character Select Menu (1.3)
 
Scoreboard turns black for the survivor that changes his/her model, blocking out all information for that player, name, score, ping, it just becomes a black bar.

dusticus 12-03-2009 10:00

Re: [L4D & L4D2] Character Select Menu (1.3)
 
Quote:

Originally Posted by mi123645 (Post 1004691)
That message is not apart of this plugin, but the Infected Bots plugin.

I found that as I was going through every file. Kind of odd, as I had it disabled initially.

I will try reinstalling this, as I never saw the panel previously.

dusticus 12-03-2009 10:03

Re: [L4D & L4D2] Character Select Menu (1.3)
 
Quote:

Originally Posted by KrankFL (Post 1005897)
Scoreboard turns black for the survivor that changes his/her model, blocking out all information for that player, name, score, ping, it just becomes a black bar.

I noticed that as well, using a different plugin. The scores seem to list correctly (in VS), but the scoreboard will show your character DIED at the point in the map you changed skins.

Just in case it isn't mentioned: It also causes a black bar in the TAB listing. ex. If two people play as Coach, then one of them will not be shown.

mi123645 12-03-2009 13:50

Re: [L4D & L4D2] Character Select Menu (1.3)
 
L4D version of CSM can now switch Survivors into infected and vice versa (character only though).


All times are GMT -4. The time now is 10:44.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.