From 1d3371244ddd4f31edb078c5b4370d1c559fde56 Mon Sep 17 00:00:00 2001 From: silversurfer Date: Tue, 22 Jul 2014 09:56:41 +0000 Subject: [PATCH] New option in CTHConstants.ini: IRON_SIGHTS_MAX_APERTURE_USE_GRADIENT = FALSE/TRUE When activated it will make iron sights more powerful over longer distances. This is an experimental switch. The formula might need to be tweaked. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2077 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/CTHConstants.ini | 5 +++++ gamedir/Data/CTHConstants.ini | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gamedir/Data-1.13/CTHConstants.ini b/gamedir/Data-1.13/CTHConstants.ini index 3d255255d..3be44c68c 100644 --- a/gamedir/Data-1.13/CTHConstants.ini +++ b/gamedir/Data-1.13/CTHConstants.ini @@ -74,6 +74,11 @@ 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 = FALSE ; 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 diff --git a/gamedir/Data/CTHConstants.ini b/gamedir/Data/CTHConstants.ini index 3d255255d..3be44c68c 100644 --- a/gamedir/Data/CTHConstants.ini +++ b/gamedir/Data/CTHConstants.ini @@ -74,6 +74,11 @@ 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 = FALSE ; 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