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

[L4D & L4D2] Mic Stand (1.8) [11-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2746
Plugin Version:
1.8
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Auto-Spawns Mic Stands and provides a command to attach the Dark Carnival finale stage microphone effect on players.
    Old 12-30-2011 , 22:03   [L4D & L4D2] Mic Stand (1.8) [11-Dec-2022]
    Reply With Quote #1

    • Save and auto-spawn the Dark Carnival finale Mic, which puts game vocalization through an effect (echo/louder/everywhere).
    • The Mic Stand is only available in L4D2.
    • The auto-spawn data config is saved to l4d_mic_stand.cfg in your servers \addons\sourcemod\data\ folder.



    Thanks:


    Admin Commands: (requires "z" flag)
    PHP Code:
    sm_mic        // Usage: sm_mic <#userid|name>. Attaches the mic effect to players.
    sm_micstand   // Spawns a temporary Mic Stand at your crosshair.
    sm_micsave    // Spawns a Mic Stand at your crosshair and saves to config.
    sm_miclist    // Displays a list of Mic Stands spawned by the plugin and their locations.
    sm_micdel     // Removes the Mic Stand you are nearest to and deletes from the config if saved.
    sm_micclear   // Removes all Mic Stands from the current map.
    sm_micwipe    // Removes all Mic Stands from the current map and deletes them from the config. 


    CVars:

    Saved to l4d_mic.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_mic_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_mic_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_mic_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_mic_modes_tog ""

    // -1=All, 0=Off, other value randomly spawns that many mics from the config.
    l4d_mic_random "2"

    // Mic Stand plugin version.
    l4d_mic_version 


    Changes:
    Code:
    1.8 (11-Dec-2022)
        - Various changes to tidy up code.
    
    1.7 (29-Jun-2021)
        - L4D2: Fixed the Mic Stand not loading after restarting a round.
    
    1.6 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Various changes to tidy up code.
    
    1.5 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.4.1 (03-Jul-2019)
        - Minor changes to code, has no affect and not required.
    
    1.4 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
        - Changed cvar "l4d_mic_modes_tog" now supports L4D1.
    
    1.3 (21-Jul-2013)
        - Removed Sort_Random work-around. This was fixed in SourceMod 1.4.7, all should update or spawning issues will occur.
    
    1.2 (10-May-2012)
        - Added cvar "l4d_mic_modes_off" to control which game modes the plugin works in.
        - Added cvar "l4d_mic_modes_tog" same as above, but only works for L4D2.
    
    1.1 (31-Dec-2011)
        - Removed useless code.
    
    1.0 (31-Dec-2011)
        - Initial release.


    Installation:
    • Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.

    Updating from 1.1 or older:
    • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_mic.sp - 314 views - 27.4 KB)
    __________________

    Last edited by Silvers; 12-10-2022 at 20:59.
    Silvers is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-21-2013 , 12:59   Re: [L4D & L4D2] Mic Stand (1.3) [10-May-2012]
    Reply With Quote #2

    Plugin updated

    1.3 (21-Jul-2013)
    - Removed Sort_Random work-around. This was fixed in SourceMod 1.4.7, all should update or spawning issues will occur.
    __________________
    Silvers is offline
    PepeZukas
    Member
    Join Date: Oct 2015
    Location: Banana Republic
    Old 03-19-2017 , 10:01   Re: [L4D & L4D2] Mic Stand (1.3) [21-Jul-2013]
    Reply With Quote #3

    Is it possible to increase the volume? Because when two players have the effect on, and they are close, the volume is high...
    PepeZukas is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-28-2017 , 10:04   Re: [L4D & L4D2] Mic Stand (1.3) [21-Jul-2013]
    Reply With Quote #4

    Not sure if the volume can be increased aside from layering the stuff, hell you could duplicate the plugin and have it running multiple times to boost it like that, lol.
    __________________
    Silvers is offline
    plague_doctor
    New Member
    Join Date: Mar 2018
    Old 04-13-2018 , 16:53   Re: [L4D & L4D2] Mic Stand (1.3) [21-Jul-2013]
    Reply With Quote #5

    I think that is a stupid q, but effect can be activate without sm_mic <#userid|name> ?
    plague_doctor is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-13-2018 , 16:58   Re: [L4D & L4D2] Mic Stand (1.3) [21-Jul-2013]
    Reply With Quote #6

    Yeah, but not by default.. feel free to edit the source to enable when players spawn.
    __________________
    Silvers is offline
    Fuperbooper
    New Member
    Join Date: Sep 2018
    Location: YEETVILLE
    Old 09-23-2018 , 11:51   Re: [L4D & L4D2] Mic Stand (1.4) [05-May-2018]
    Reply With Quote #7

    For some reason when I apply the mic to a player, it only works properly for me. None of my friends can hear it when I host this on my listen server. They can hear the effect just fine as long as there's a physical mic though.
    Fuperbooper is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 09-23-2018 , 17:07   Re: [L4D & L4D2] Mic Stand (1.4) [05-May-2018]
    Reply With Quote #8

    Quote:
    Originally Posted by Fuperbooper View Post
    For some reason when I apply the mic to a player, it only works properly for me. None of my friends can hear it when I host this on my listen server. They can hear the effect just fine as long as there's a physical mic though.
    Unfortunately, the author doesn't support listen servers. SourceMod and plugins made from it aren't always 100% guaranteed to work on listen servers and so listen servers aren't always supported by plugin authors.
    __________________
    Psyk0tik is offline
    Lider99
    Member
    Join Date: Mar 2020
    Old 05-12-2020 , 16:53   Re: [L4D & L4D2] Mic Stand (1.6) [10-May-2020]
    Reply With Quote #9

    Hello Silvers,
    You can make it so that when the players themselves speak micro, they make their voice a little louder.
    sorry for my bad english
    Lider99 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-29-2021 , 11:51   Re: [L4D & L4D2] Mic Stand (1.6) [10-May-2020]
    Reply With Quote #10

    Quote:
    Originally Posted by Lider99 View Post
    Hello Silvers,
    You can make it so that when the players themselves speak micro, they make their voice a little louder.
    sorry for my bad english
    Might be possible with an extension. Not something I can do.

    Code:
    1.7 (29-Jun-2021)
        - L4D2: Fixed the Mic Stand not loading after restarting a round.
    __________________
    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 18:21.


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