Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 08-04-2022 , 09:16   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #881

Quote:
Originally Posted by laurauwu View Post
Someone help me with l4d campaigns, if i try to use l4d2 skins only what changes is the third person model, the hand icon and voice are still l4d, for example i try to use rochelle in an l4d campaign, she gets zoey's hands, zoey's voice, but the character model in third person is rochelle, can someone help me, i can't solve this :/
If you use Sourcemod while hosting a Local/Listen/Singleplayer server, Mission and Weapons - Info Editor can fully trick your own game into thinking it's a L4D2 mission and give you the appropriate voices, arms and icons.
This is an alternative to going inside the game files and editing the mission files.
Edit l4d_info_editor_mission.cfg and alter it to only have the survivor_set "2" keyvalue in the "all" section. Or just clear the file and copy-paste this:
Spoiler

A problem is that arms and icons only work for the hoster, other people will still have the issue with them.
And because it only works for the hoster, the arms and icons remain indefinitely broken on Dedicated Servers.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 08-04-2022 at 09:20.
Shadowysn is offline
Sout12
Member
Join Date: May 2017
Old 10-30-2022 , 11:33   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #882

Hey guys, I was wondering if anyone else is experiencing issues when a l4d2 survivor is on a l4d1 campaign then when you try to defib a player that is the l4d2 survivor they don't come back, and I do have defib fix, any ideas?
Sout12 is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 03-11-2023 , 12:39   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #883

Quote:
Originally Posted by Merudo View Post
Survivor Chat Select 1.6.1 (Forked)

Description: Players can pick their own survivors with the !csm command, and admin can pick someone's survivor with the !csc command.

Changes:
-Fixed the bug where weapons appear in incorrect places on a survivor after switching models (see picture)
-Added new convar l4d_scs_botschange so that new bots created with SuperVersus, Multislots, etc automatically become the least prevalent survivor
-Added new convar l4d_scs_zoey to provide support for FakeZoey.
-Added cookie support to save player's character preference. If enabled, the server will save each player's character and will restore them when they reconnect.

ConVars:
l4d_scs_botschange: Change new bots to least prevalent survivor? 0: Disable, 1: Enable, Default 1.
l4d_scs_cookies: Save player's survivor in a cookie? 0: Disable, 1: Enable. Default 1
l4d_scs_zoey: Specify which prop to use for Zoey. 0: Rochelle (windows), 1: Zoey (linux), 2: Nick (fakezoey). Default 0.

Linux users will want 1 for the true Zoey. Windows users however should definitely avoid this value or the server will crash.

Windows users without the "fakezoey" plugin will want 0 (Rochelle), as it's the character closest to Zoey.

Windows users who have installed "fakezoey" will want to set it to 2 (Nick), since this is required for the fakezoey plugin to work.

Recommended plugin: The Passing CSM Fix 2.0 (prevents game breaking bugs if L4D1 survivors are used in The Passing)
Hello everyone, why does my character change when I move to afk? I tried many different options but nothing helps, can someone explain to me? I used event player_bot_replace

PHP Code:
public void Event_PlayerToBot(Event eventchar[] namebool dontBroadcast)
{
    
int player GetClientOfUserId(event.GetInt("player"));
    
int bot GetClientOfUserId(event.GetInt("bot"));

    if(
player && GetClientTeam(player)== && !IsFakeClient(player) && convarSpawn.BoolValue
    {
        
int Character GetEntProp(playerProp_Send"m_survivorCharacter");
        
        if(
Character == NICK
            
SetEntProp(botProp_Send"m_survivorCharacter"NICK), SetEntityModel(bot"models/survivors/survivor_gambler.mdl");
                    
        else if(
Character == ROCHELLE
                
SetEntProp(botProp_Send"m_survivorCharacter"ROCHELLE), SetEntityModel(bot"models/survivors/survivor_producer.mdl");
                    
        else if(
Character == COACH
            
SetEntProp(botProp_Send"m_survivorCharacter"COACH), SetEntityModel(bot"models/survivors/survivor_coach.mdl");
                    
        else if(
Character == ELLIS
            
SetEntProp(botProp_Send"m_survivorCharacter"ELLIS), SetEntityModel(bot"models/survivors/survivor_mechanic.mdl");
                    
        else if(
Character == BILL
            
SetEntProp(botProp_Send"m_survivorCharacter"BILL), SetEntityModel(bot"models/survivors/survivor_namvet.mdl");
                    
        else if(
Character == ZOEY
            
SetEntProp(botProp_Send"m_survivorCharacter"ZOEY), SetEntityModel(bot"models/survivors/survivor_teenangst.mdl");
                    
        else if(
Character == FRANCIS
            
SetEntProp(botProp_Send"m_survivorCharacter"FRANCIS), SetEntityModel(bot"models/survivors/survivor_biker.mdl");
                    
        else if(
Character == LOUIS
            
SetEntProp(botProp_Send"m_survivorCharacter"LOUIS), SetEntityModel(bot"models/survivors/survivor_manager.mdl");
            
        
//PrintToChat(player, "m_survivorCharacter %d", GetEntProp(player, Prop_Send, "m_survivorCharacter"));
    
}

__________________
[/URL]
Alexmy is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-11-2023 , 14:16   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #884

usually you have to hook both events
  • player_bot_replace
  • bot_player_replace
one is the inverse of the other, player_bot_replace is for when you came back from AFK (join a bot)
__________________
Marttt is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 03-11-2023 , 14:34   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #885

Quote:
Originally Posted by Marttt View Post
usually you have to hook both events
  • player_bot_replace
  • bot_player_replace
one is the inverse of the other, player_bot_replace is for when you came back from AFK (join a bot)
I use event to return player_spawn, In l4d I don't have such problems, everything works. There is no stability in l4d2, the character changes sometimes it happens on the character l4d a model appears from the characters l4d2
__________________
[/URL]
Alexmy is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 03-12-2023 , 08:25   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #886

And so I found out what the problem is, the case of incorrect values.

PHP Code:
#define     NICK         0
#define     ROCHELLE    1
#define     COACH         2
#define     ELLIS         3
#define     BILL         4
#define     ZOEY         5
#define     FRANCIS     6
#define     LOUIS         7 
These true meanings I found out

PHP Code:
#define     NICK         0
#define     ROCHELLE    1
#define     COACH         2
#define     ELLIS         3

#define     BILL         0
#define     ZOEY         1
#define     LOUIS         2
#define     FRANCIS     3 

This applies only os Linux
__________________
[/URL]

Last edited by Alexmy; 03-12-2023 at 08:26.
Alexmy is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 04-16-2023 , 15:31   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #887

Quote:
Originally Posted by Alexmy View Post
Hello everyone, why does my character change when I move to afk? I tried many different options but nothing helps, can someone explain to me?
Try Survivor Identity Fix for 5+ Survivors version Shadowysn
__________________

Last edited by HarryPotter; 04-16-2023 at 15:31.
HarryPotter is offline
replay_84
Senior Member
Join Date: Jun 2021
Old 04-17-2023 , 13:49   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #888

I can confirm. Survivor Identity Fix works as a fix.
replay_84 is offline
Iizuka07
Senior Member
Join Date: Aug 2018
Location: Underground
Old 08-01-2023 , 10:43   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #889

Can anyone share a newer updated Survivor Character Select with save character cookies function? Since Valve fixed the Fake Zoey problem, Merudo's forked plugin that has a command related to zoey is not needed anymore.
__________________
死が待っている
Iizuka07 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-02-2023 , 09:09   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #890

Quote:
Originally Posted by Iizuka07 View Post
Can anyone share a newer updated Survivor Character Select with save character cookies function? Since Valve fixed the Fake Zoey problem, Merudo's forked plugin that has a command related to zoey is not needed anymore.
updated CSM version with save character cookies
__________________
HarryPotter is offline
Reply



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 17:57.


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