From 9d12563ca11c68a44c45f9daefe4840702a7c27b Mon Sep 17 00:00:00 2001 From: silversurfer Date: Fri, 11 Jul 2014 15:17:40 +0000 Subject: [PATCH] New modifier for NCTH to alter the behaviour of the scope penalty: - AIM_TOO_CLOSE_THRESHOLD = 0.8 This defines the point within scope range where the penalty starts. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2066 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/CTHConstants.ini | 7 ++++++- gamedir/Data/CTHConstants.ini | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gamedir/Data-1.13/CTHConstants.ini b/gamedir/Data-1.13/CTHConstants.ini index 6a79270ff..3d255255d 100644 --- a/gamedir/Data-1.13/CTHConstants.ini +++ b/gamedir/Data-1.13/CTHConstants.ini @@ -323,8 +323,13 @@ AIM_DEX = 2.0 ; actual penalty applied. Setting it too low will make it impossible to use ; scopes within effective range ;------------------------------------------------------------------------------------------------------------------------------ - AIM_TOO_CLOSE_SCOPE = -4.0 +;------------------------------------------------------------------------------------------------------------------------------ +; This value defines at which point below scope range the AIM_TOO_CLOSE_SCOPE based penalty starts. A value of 0.0 removes +; scope penalties. A value of 1.0 means the penalty starts as soon as the target is just a little below +; scope range. 0.5 means penalty starts at half the scope range and so on... +;------------------------------------------------------------------------------------------------------------------------------ +AIM_TOO_CLOSE_THRESHOLD = 0.8 AIM_GUN_CONDITION = -2.0 AIM_LOW_MORALE = -2.0 diff --git a/gamedir/Data/CTHConstants.ini b/gamedir/Data/CTHConstants.ini index 6a79270ff..3d255255d 100644 --- a/gamedir/Data/CTHConstants.ini +++ b/gamedir/Data/CTHConstants.ini @@ -323,8 +323,13 @@ AIM_DEX = 2.0 ; actual penalty applied. Setting it too low will make it impossible to use ; scopes within effective range ;------------------------------------------------------------------------------------------------------------------------------ - AIM_TOO_CLOSE_SCOPE = -4.0 +;------------------------------------------------------------------------------------------------------------------------------ +; This value defines at which point below scope range the AIM_TOO_CLOSE_SCOPE based penalty starts. A value of 0.0 removes +; scope penalties. A value of 1.0 means the penalty starts as soon as the target is just a little below +; scope range. 0.5 means penalty starts at half the scope range and so on... +;------------------------------------------------------------------------------------------------------------------------------ +AIM_TOO_CLOSE_THRESHOLD = 0.8 AIM_GUN_CONDITION = -2.0 AIM_LOW_MORALE = -2.0