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

[ANY] Ambient Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
3466
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Ambient sounds, similar function of zombiereloaded or zombieriot but more advanced
    Old 01-12-2013 , 22:08   [ANY] Ambient Sounds
    Reply With Quote #1

    Description:

    Ambient sounds, similar function of zombiereloaded or zombieriot but more advanced.


    Features:

    -Play a random sound to clients always (ambient sound mode)
    -clientpref support ( use !settings in-game for enable or disable ambient sound)
    -Easy to configuration, To add a ambient sound, just add it to the sound/ambientsounds folder.



    Requeriments:
    Files Management Interface
    Sound Info Library Extension



    Cvars:
    Put in server.cfg
    Code:
    sm_ambientsounds_folder "sound/sm_ambientsounds" // The sound folder where to take a sound to play for ambient music
    sm_ambientsounds_volume "0.7" // Volume of the ambient sound. [1.0 = Max volume | 0.0001 = Not audible
    sm_ambientsounds_enable "1" // Enable/disable the ambient sound plugin. 1 = enable , 0 = disable


    Know bugs:
    -None yet



    btw, tested in my test server and my zombie riot server and works fine


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 12-20-2015 at 09:05.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 01-13-2013 , 08:23   Re: [ANY] Ambient Sounds
    Reply With Quote #2

    New version 1.1

    -Added new feature for control volume:
    Code:
    sm_ambientsounds_volume "0.7" // Volume of the ambient sound. [1.0 = Max volume | 0.0001 = Not audible
    -bugfixeds
    -Changed the default folder to "sound/sm_ambientsounds"

    Tested in my zombie riot server and works fine
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 01-13-2013 at 08:46.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    MySTHiC
    Junior Member
    Join Date: Jul 2011
    Location: Berlin
    Old 01-13-2013 , 08:25   Re: [ANY] Ambient Sounds
    Reply With Quote #3

    thanks, will check it out
    MySTHiC is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 01-13-2013 , 09:18   Re: [ANY] Ambient Sounds v1.1.1
    Reply With Quote #4

    New version 1.1.1

    -Fixed a bug that in rare occasion in round start produce double ambient music
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 01-13-2013 , 16:15   Re: [ANY] Ambient Sounds v1.2
    Reply With Quote #5

    New version 1.2

    -Added cvar for enable/disable the ambient sound for all clients
    Code:
    sm_ambientsounds_enable "1" // Enable/disable the ambient sound plugin. 1 = enable , 0 = disable
    You can enable/disable the ambient sound dynamically ingame.

    For example:
    you can put in rcon (or with a plugin) sm_ambientsounds_enable 0 for disable the sound instantly or put sm_ambientsounds_enable 1 for enable the sound instantly. Ideal if you are looking to the ambient sound is enabled only in a certain round or in a certain moment
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 01-13-2013 at 16:15.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Lord_Rofl
    Senior Member
    Join Date: Aug 2006
    Location: Bad Pyrmont, Germany
    Old 05-22-2013 , 12:35   Re: [ANY] Ambient Sounds v1.2
    Reply With Quote #6

    When the track is over? Change random to another or loop?

    Last edited by Lord_Rofl; 05-22-2013 at 12:35.
    Lord_Rofl is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 05-23-2013 , 03:20   Re: [ANY] Ambient Sounds v1.2
    Reply With Quote #7

    Quote:
    Originally Posted by Lord_Rofl View Post
    When the track is over? Change random to another or loop?
    This plugin always select a random sound from the directory when the track is over
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Lord_Rofl
    Senior Member
    Join Date: Aug 2006
    Location: Bad Pyrmont, Germany
    Old 05-23-2013 , 16:35   Re: [ANY] Ambient Sounds v1.2
    Reply With Quote #8

    Ahh okay sounds good

    Can Sourcemod handle that all hear the same sound and the same part of the song?
    Lord_Rofl is offline
    Kalle4000
    Junior Member
    Join Date: Jan 2012
    Location: Denmark
    Old 10-04-2013 , 11:52   Re: [ANY] Ambient Sounds v1.2
    Reply With Quote #9

    So if a round ends, will the plugin change to a new song at next round? or will it continue playing the same song until it has finished?
    Kalle4000 is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 10-04-2013 , 12:21   Re: [ANY] Ambient Sounds v1.2
    Reply With Quote #10

    Quote:
    Originally Posted by Kalle4000 View Post
    So if a round ends, will the plugin change to a new song at next round? or will it continue playing the same song until it has finished?
    new song at next round
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    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 03:40.


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