View Single Post
Author Message
sinsic
Senior Member
Join Date: May 2012
Old 07-25-2014 , 17:58   [CS:S] Sound Volume Control (Map music and weapon) v1.0.1, 2014-07-28
Reply With Quote #1

  • Description
Allows to decrease the map musics volume and sounds of other players guns from server side.
I wrote this plugin for zombie reloaded servers where a lot of people are annoyed by the loud map musics or can't take the weapon sounds when zr_ammo plugin is used.

I found a plugin that completely closes these written by God-Tony but I beleive these sounds gives an ambiance to the maps and shouldn't be turned off completely.
  • CVARS
// If plugin is enabled (0: Disable | 1: Map Music Control | 2: Weapon Sound Control | 3: Both)
// -
// Default: "3"
zr_SVoC_Enabled "3"

// Map music volume adjustment (0.0: No sound | 1.0: Full sound)
// -
// Default: "0.3"
zr_SVoC_MLevel "1.0"

// Weapon volume adjustment (0.0: No sound | 1.0: Full sound)
// -
// Default: "0.3"
zr_SVoC_WLevel "1.0"

zr_SVoC.cfg will be created under "cfg/sourcemod/zombiereloaded/" after first run.
  • Changelog
    • v1.0.1, 2014-07-28
      • Fixed the problems with guns volumes
    • v1.0.0, 2014-07-26
      • Initial release.
  • Installation instructions
Download zr_SVoC.smx and put it to "cstrike\addons\sourcemod\plugins\".

After first run of the plugin edit "cfg\sourcemod\zombiereloaded\zr_SVoC.cfg " or use the map specific cfg's to enter different values to different maps.
  • Dependencies
none

Hope it will be useful..
Live long and prosper!
Attached Files
File Type: sp Get Plugin or Get Source (zr_SVoC.sp - 2244 views - 3.8 KB)
__________________

Last edited by sinsic; 07-28-2014 at 09:54. Reason: Faulty
sinsic is offline