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

Admin Sounds 1.2.2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Cadav0r
Senior Member
Join Date: Jan 2006
Location: France
Plugin ID:
858
Plugin Version:
1.2.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow admin to launch sounds
    Old 03-21-2009 , 15:06   Admin Sounds 1.2.2
    Reply With Quote #1

    Admin Sounds (new version)

    Current Version: 1.2.2


    Description:
    This plugin continue the dalto's plugin of the same name.
    It uses a new scheme of sound list file. Look at the sample file soundslist.cfg in addons/sourcemod/configs/ directory.
    No sounds are provided with this plugin at this time.
    The menu is added in the topmenu

    /!\ This plugin doesn't work on L4D and L4D2 game!!!


    Commands:
    Admin Commands:
    sm_admin_sounds_menu : Display a menu to select sound to play

    sm_admin_sounds_stop : Stop the playing sound for everyone
    sm_admin_sounds_list : Display a list of categories and sounds
    User Commands:
    !stop : When used in chat will per-user stop any sound currently playing by this plug-in
    !stopall : When used in chat will per-user enable/disable hearing of any sound

    Required Plugin:
    For the stopall option, the clientpref plugin is required.
    If this plugin isn't loaded, this option is disabled even if the sm_admin_sounds_stopall cvar is on


    Planned Features:
    • None, make a request!

    CVar's:
    // The version number
    sm_admin_sounds_version

    // Default time in seconds after playing a sound that another one can be played.
    // Default: "60"
    // Minimum: "0.000000"
    sm_admin_sounds_delay "60"

    // Enable the display of message to client when a sound is played. Default: on
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_admin_sounds_display "1"

    // Admin flag for delay time immunity (see admin_level.cfg). Leave blank for no immunity.
    // Default: "z"
    sm_admin_sounds_immunity "z"

    // Enable the possibility to reprint the menu after each sound.
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_admin_sounds_menureprint "0"

    // How long the menu still show.
    // Default: "20"
    // Minimum: "5.000000"
    // Maximum: "60.000000"
    sm_admin_sounds_menutime "20"

    // Enable the possibility to stop currently played sound.
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_admin_sounds_stop "1"

    // Enable the possibility to stop all sounds.
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_admin_sounds_stopall "1"

    // Default volume of played sounds : 0.0 <= x <= 1.0.
    // Default: "1.0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_admin_sounds_volume "1.0"

    (new in 1.2.2)
    // Admin flag to be allow to stop played sound (see admin_level.cfg). If blank no stop possibility for admin.
    // Default: "b".
    sm_admin_sounds_adminlevelstop "b"


    Changelog:
    - 1.0
    * Initial Release of dalto
    - 1.0.1
    * Increased the max number of sounds to 50
    * Added error checking on the number of sounds
    - 1.0.2 // Modified by o_O.Uberman.O_o upon request of|HS|Jesus
    * Added a chat "!stop" command to allow players to stop sounds started by this plug-in
    - 1.0.3 // Modified by |HS|Jesus
    * Added output of what sound is playing
    - 1.1
    * Made the config file load automatically
    * Added sm_admin_sounds_delay
    - 1.1.1 // Modified by cadavor
    * Added Log message
    * Disable menu after launch sound
    * Added Cvar to enable or disable display and stop command
    - 1.1.2 // Modified by cadavor
    * Added to admin menu
    * Added translations
    - 1.1.3 // Modified by cadavor
    * Added how many sounds has been loaded in log
    * Added error in log when filename is too long to prevent crash of the plugin
    - 1.1.4a // Modified by cadavor (not released)
    * Added an option to stop all sound (require clientpref plugin) with say command !stopall
    * Added cvar to control the volume of sounds
    - 1.1.4b // Modified by cadavor (not released)
    * Correction of displayed message
    - 1.2.0 // Modified by cadavor
    * Change config file to use KeyValue function (see soundslist.cfg for more details)
    * Added command "sm_admin_sounds_list" to display in console all sounds and categories with parameters
    * Added Cvar to choose the show time of menu
    * Reset next sound delay on map start
    - 1.2.1 // Modified by cadavor
    * Added stop option for each categories and sounds
    * Added Cvar to choose if menu will be shown again after each sound
    * Added Cvar to choose admin flag for delay immunity
    * Correction of StopAll option to check if ClientPref plugin is running
    * Correction of Cvar tag to don't record the version in config file
    - 1.2.2 (25-04-2010) // Modified by cadavor
    * Added Back button to all menus
    * Added stop action in menu
    * Added cvar to choose admin level for stop option
    * Added message for reenable sounds to client who "stopall" on each sound launched
    * Change precache option to enable precache before level startup
    * Fix check ClientPref plugin which sometimes made too early
    * Fix stop option
    * Fix say command if only one stop option was enabled
    * Fix menu display again
    * Fix sound selection when categories have same name (allow sound with same name in different category)
    * Fix GetMenuIem errors

    Attention:
    You must delete the config file (cfg/sourcemod/adminsounds.cfg) to have new cvar added in!!!
    (Delete the file, upload the plugin new version, changemap or reboot your server, the new config file has been created then you can download it and change options.)
    Attached Files
    File Type: zip Admin Sounds.zip (24.9 KB, 11451 views)
    __________________
    P.S : Sorry for my english but I'm French

    My plugins : Admin Sounds





    Last edited by Cadav0r; 04-25-2010 at 06:32.
    Cadav0r is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 03-21-2009 , 15:15   Re: Admin Sounds
    Reply With Quote #2

    Does it use client prefs to save that setting to turn it off for the user?
    __________________

    DontWannaName is offline
    Cadav0r
    Senior Member
    Join Date: Jan 2006
    Location: France
    Old 03-21-2009 , 17:21   Re: Admin Sounds
    Reply With Quote #3

    Yes I forget to mention this point

    [EDIT] I edit my first post to add this.
    __________________
    P.S : Sorry for my english but I'm French

    My plugins : Admin Sounds





    Last edited by Cadav0r; 03-21-2009 at 17:24.
    Cadav0r is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 03-21-2009 , 18:58   Re: Admin Sounds
    Reply With Quote #4

    Does it add a category in !settings where inside there is an option to turn it on/off for people instead of that command.
    __________________

    DontWannaName is offline
    Cadav0r
    Senior Member
    Join Date: Jan 2006
    Location: France
    Old 03-22-2009 , 06:39   Re: Admin Sounds
    Reply With Quote #5

    No, I will look that

    Thanks
    __________________
    P.S : Sorry for my english but I'm French

    My plugins : Admin Sounds




    Cadav0r is offline
    Chaos Llama
    Senior Member
    Join Date: Jul 2006
    Old 03-25-2009 , 19:20   Re: Admin Sounds
    Reply With Quote #6

    Something odd is happening to me.

    Sounds download but when one is played, there's no audio. I have volume set to 1.0 in the adminsounds.cfg file.

    The sounds are the exact same sounds i used with the previous adminsounds plugin (which works).
    Chaos Llama is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 03-25-2009 , 20:44   Re: Admin Sounds
    Reply With Quote #7

    Being integrated into the admin menu would be a plus.
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 03-25-2009 , 23:19   Re: Admin Sounds
    Reply With Quote #8

    But then u couldnt spam a sound a few times...
    __________________

    DontWannaName is offline
    Cadav0r
    Senior Member
    Join Date: Jan 2006
    Location: France
    Old 03-26-2009 , 10:10   Re: Admin Sounds
    Reply With Quote #9

    Quote:
    Originally Posted by Chaos Llama View Post
    Something odd is happening to me.

    Sounds download but when one is played, there's no audio. I have volume set to 1.0 in the adminsounds.cfg file.

    The sounds are the exact same sounds i used with the previous adminsounds plugin (which works).
    Look your log file or your console after launching the sound to verify that there are no errors!


    Quote:
    Originally Posted by Xp3r7
    Being integrated into the admin menu would be a plus.
    It's already done!!!
    __________________
    P.S : Sorry for my english but I'm French

    My plugins : Admin Sounds




    Cadav0r is offline
    waertf
    Member
    Join Date: Jan 2009
    Old 03-28-2009 , 11:14   Re: Admin Sounds
    Reply With Quote #10

    work for l4d?
    waertf 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 11:12.


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