From 36a6ac83c900dffd4666cc7f9c25a0624d9afe31 Mon Sep 17 00:00:00 2001 From: silversurfer Date: Sun, 13 Oct 2013 11:35:30 +0000 Subject: [PATCH] - externalized noise threshold for silenced shots to Ja2_Options.ini (MAX_PERCENT_NOISE_SILENCED_SOUND) git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1817 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 9 ++++++--- gamedir/Data/Ja2_Options.INI | 8 ++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 8cbaea6dc..bd2ce4f56 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -625,11 +625,14 @@ SMALL_SIZE_PB = FALSE ; 0 = no change ; 100 = max volume ;------------------------------------------------------------------------------------------------------------------------------ - WEAPON_SOUND_EFFECTS_VOLUME = 0 - - +;------------------------------------------------------------------------------------------------------------------------------ +; This parameter sets the threshold for using silenced weapons sounds. The weapon noise level has to be below this to play +; the silenced sound. For example if you use a Pistol Suppressor which provides 75% noise reduction your remaining noise level +; is 25%. Valid values are from 0 (never play silenced sound) to 100 (always play silenced sound). Default is 35. +;------------------------------------------------------------------------------------------------------------------------------ +MAX_PERCENT_NOISE_SILENCED_SOUND = 35 diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 41d1fead4..0ef5457f2 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -626,8 +626,12 @@ SMALL_SIZE_PB = FALSE WEAPON_SOUND_EFFECTS_VOLUME = 0 - - +;------------------------------------------------------------------------------------------------------------------------------ +; This parameter sets the threshold for using silenced weapons sounds. The weapon noise level has to be below this to play +; the silenced sound. For example if you use a Pistol Suppressor which provides 75% noise reduction your remaining noise level +; is 25%. Valid values are from 0 (never play silenced sound) to 100 (always play silenced sound). Default is 35. +;------------------------------------------------------------------------------------------------------------------------------ +MAX_PERCENT_NOISE_SILENCED_SOUND = 35