[ANY] Ambient Sounds
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 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 |
Re: [ANY] Ambient Sounds
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 -Changed the default folder to "sound/sm_ambientsounds" Tested in my zombie riot server and works fine :) |
Re: [ANY] Ambient Sounds
thanks, will check it out
|
Re: [ANY] Ambient Sounds v1.1.1
New version 1.1.1
-Fixed a bug that in rare occasion in round start produce double ambient music |
Re: [ANY] Ambient Sounds v1.2
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 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 |
Re: [ANY] Ambient Sounds v1.2
When the track is over? Change random to another or loop?
|
Re: [ANY] Ambient Sounds v1.2
Quote:
|
Re: [ANY] Ambient Sounds v1.2
Ahh okay sounds good :)
Can Sourcemod handle that all hear the same sound and the same part of the song? |
Re: [ANY] Ambient Sounds v1.2
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? :)
|
Re: [ANY] Ambient Sounds v1.2
Quote:
|
All times are GMT -4. The time now is 14:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.