Raised This Month: $32 Target: $400
 8% 

[L4D2] Swap Character (1.2) [21-Mar-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6942
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Swap between L4D1 and L4D2 characters on command.
    Old 02-11-2020 , 13:15   [L4D2] Swap Character (1.2) [21-Mar-2020]
    Reply With Quote #1

    About:
    • Simply swap between L4D1 and L4D2 characters on command.
    • Thanks to "Cuba" - For the request.


    Admin Commands: (requires "z" flag)

    PHP Code:
    sm_l4d1 // Swap to L4D1 characters.
    sm_l4d2 // Swap to L4D2 characters. 


    Changes:
    Code:
    1.2 (01-Jul-2021)
        - Added a warning message to suggest installing the "Attachments API" plugin if missing.
    
    1.1 (21-Mar-2020)
        - Now changes the bots names to their characters. This is for SourceMod menu lists (e.g. kick) and "status" command.
        - Names above their heads change anyway without this.
    
    1.0 (11-Feb-2020)
        - Initial release.


    Installation
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Install the Attachment_API plugin to fix attachment positions breaking on change.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_swap_characters.sp - 942 views - 5.5 KB)
    __________________

    Last edited by Silvers; 07-01-2021 at 01:15.
    Silvers is offline
    user2000
    Member
    Join Date: Nov 2015
    Location: Peru - Lima
    Old 02-11-2020 , 19:10   Re: [L4D2] Swap Character (1.0) [11-Feb-2019]
    Reply With Quote #2

    when I use the commands the TAB screen turns black and there are no log errors in the log



    user2000 is offline
    Momodo303
    Junior Member
    Join Date: Jul 2017
    Old 02-12-2020 , 02:48   Re: [L4D2] Swap Character (1.0) [11-Feb-2019]
    Reply With Quote #3

    Quote:
    Originally Posted by user2000 View Post
    when I use the commands the TAB screen turns black and there are no log errors in the log
    That's just a side effect of having survivors from a different set as far as i know. Nothing to do with the plugin.
    Momodo303 is offline
    user2000
    Member
    Join Date: Nov 2015
    Location: Peru - Lima
    Old 02-12-2020 , 05:04   Re: [L4D2] Swap Character (1.0) [11-Feb-2019]
    Reply With Quote #4

    the plugin works fine

    just wondering if that black screen was normal

    thanks for the plugin
    user2000 is offline
    Alex101192
    Senior Member
    Join Date: Aug 2018
    Old 02-12-2020 , 08:30   Re: [L4D2] Swap Character (1.0) [11-Feb-2020]
    Reply With Quote #5

    Wow, you may have just fixed a big issue I have on my server with this plugin lol
    Alex101192 is offline
    mathilde
    Member
    Join Date: Jan 2020
    Location: samedi et dimanche
    Old 02-12-2020 , 08:45   Re: [L4D2] Swap Character (1.0) [11-Feb-2020]
    Reply With Quote #6

    what about swapping individual characters?
    mathilde is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 02-12-2020 , 08:50   Re: [L4D2] Swap Character (1.0) [11-Feb-2020]
    Reply With Quote #7

    As I recall, in L4D1 when characters were changed with character select plugins. The tab menu would reflect the changes. The black tab has always been the case in L4D2, I don't think it can be fixed either. Some kind of client side thing I believe, just like the arms for the L4D2 crew in L4D1 campaigns.
    Sev is offline
    Alex101192
    Senior Member
    Join Date: Aug 2018
    Old 02-12-2020 , 16:22   Re: [L4D2] Swap Character (1.0) [11-Feb-2020]
    Reply With Quote #8

    Thank you for making this plugin silver. Thanks to you I have fixed the problem of players having l4d1 survivors, transitioning to passing with l4d1 survivors on map change. Now !l4d2 is automatically executed when changing to these maps. Good job really.

    I hope you fix that bug with coopmarkers causing passing not to load soon. I like that plugin.
    Alex101192 is offline
    Alex101192
    Senior Member
    Join Date: Aug 2018
    Old 05-23-2020 , 20:08   Re: [L4D2] Swap Character (1.1) [21-Mar-2020]
    Reply With Quote #9

    Plugin failed to compile
    Alex101192 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-23-2020 , 20:30   Re: [L4D2] Swap Character (1.1) [21-Mar-2020]
    Reply With Quote #10

    Forum defaulted to compiler 1.1 when last modified. Fixed. Thanks.
    __________________
    Silvers is offline
    Reply


    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 16:03.


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