From 6efd78ccfac667ba0903b51dac06b4d73f07a3a6 Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Wed, 29 Sep 2021 12:55:14 +0000 Subject: [PATCH] Added missing options to UB ini files. Set NUMBER_OF_MAJOR_TRAITS_ALLOWED for UB to 2 to fix max value error. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2620 4f8fa57e-7814-0410-bad4-adc449f26b7c --- Data-1.13/CTHConstants.ini | 2 ++ Data-UB/CTHConstants.ini | 15 +++++++++++++++ Data-UB/Skills_Settings.INI | 2 +- Data-UB/Taunts_Settings.INI | 6 ++++++ 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Data-1.13/CTHConstants.ini b/Data-1.13/CTHConstants.ini index 6811d72d2..d9a0da9a3 100644 --- a/Data-1.13/CTHConstants.ini +++ b/Data-1.13/CTHConstants.ini @@ -74,11 +74,13 @@ LASER_PERFORMANCE_BONUS_SCOPE = 10.0 ; be 100% on target, regardless of aiming. ; Decreasing this value causes all shots to be more accurate. DEGREES_MAXIMUM_APERTURE = 15 + ; This option affects DEGREES_MAXIMUM_APERTURE for iron sights. If it is set to FALSE ; the basic aperture will grow linearly to the distance to target (old behaviour). ; If TRUE the aperture will use a curve to grow slower over distance making iron sights ; more powerful over long distances. IRON_SIGHTS_MAX_APERTURE_USE_GRADIENT = TRUE + ; If IRON_SIGHTS_MAX_APERTURE_USE_GRADIENT is TRUE the following parameter defines ; how fast the aperture will grow. A lower value will make it grow slower thus making ; iron sights even more powerful. diff --git a/Data-UB/CTHConstants.ini b/Data-UB/CTHConstants.ini index 7af96f9be..21308acb4 100644 --- a/Data-UB/CTHConstants.ini +++ b/Data-UB/CTHConstants.ini @@ -75,6 +75,21 @@ LASER_PERFORMANCE_BONUS_SCOPE = 0.0 ; Decreasing this value causes all shots to be more accurate. DEGREES_MAXIMUM_APERTURE = 11 +; This option affects DEGREES_MAXIMUM_APERTURE for iron sights. If it is set to FALSE +; the basic aperture will grow linearly to the distance to target (old behaviour). +; If TRUE the aperture will use a curve to grow slower over distance making iron sights +; more powerful over long distances. +IRON_SIGHTS_MAX_APERTURE_USE_GRADIENT = FALSE + +; If IRON_SIGHTS_MAX_APERTURE_USE_GRADIENT is TRUE the following parameter defines +; how fast the aperture will grow. A lower value will make it grow slower thus making +; iron sights even more powerful. +; A value of 2.0 will make iron sights almost as powerful as a 2x scope whereas a value +; of 5.0 causes just a little change from the old behaviour. +; Values can go from 2.0 to 5.0 +; The default is 3.0 +IRON_SIGHTS_MAX_APERTURE_MODIFIER = 3.0 + ; The Range Coefficient works with the listed weapon range to determine the weapons ; maximum range. Once a bullet reaches it's maximum range, gravity pulls it towards ; the ground. diff --git a/Data-UB/Skills_Settings.INI b/Data-UB/Skills_Settings.INI index ca78c21f3..000d6fc32 100644 --- a/Data-UB/Skills_Settings.INI +++ b/Data-UB/Skills_Settings.INI @@ -27,7 +27,7 @@ MAX_NUMBER_OF_TRAITS_FOR_IMP = 3 ; Number of Major Trait slots allowed for player mercs. ; Values from 2 to 20 are allowed. -NUMBER_OF_MAJOR_TRAITS_ALLOWED = 5 +NUMBER_OF_MAJOR_TRAITS_ALLOWED = 2 ; Number of Major Trait slots allowed when creating IMP. ; Values from 2 to 20 are allowed. diff --git a/Data-UB/Taunts_Settings.INI b/Data-UB/Taunts_Settings.INI index 3760f3d52..2ae535573 100644 --- a/Data-UB/Taunts_Settings.INI +++ b/Data-UB/Taunts_Settings.INI @@ -27,6 +27,12 @@ TAUNT_ALWAYS_SHOW_POPUP_BOX = FALSE ; If true, popup box will be always shown (only works if TAUNT_MAKE_NOISE is false). TAUNT_ALWAYS_SHOW_IN_LOG = FALSE +; If true, will play sound file instead of showing text. +TAUNT_VOICE = FALSE + +; If true, will show debug info when playing voice taunt. +TAUNT_VOICE_SHOW_INFO = FALSE + ; How loud enemy taunt? (For comparison - Desert Eagle shot = 60) TAUNT_VOLUME = 30