New parameters in CTHConstants.ini:

IRON_SIGHT_PERFORMANCE_BONUS
This makes the base aperture in NCTH smaller by x percent when using Iron Sights or other 1x sights.

LASER_PERFORMANCE_BONUS_HIP
LASER_PERFORMANCE_BONUS_IRON
LASER_PERFORMANCE_BONUS_SCOPE
These also make the base aperture in NCTH smaller by x percent when a laser is used with the respective sight. This replaces the old Projection Factor if one of the values is != 0. To continue using Projection Factor leave these three parameters at 0.




git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1759 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
silversurfer
2013-09-07 11:58:13 +00:00
parent 4f0173345c
commit 33a0080de1
3 changed files with 69 additions and 0 deletions
+20
View File
@@ -45,6 +45,26 @@
; measured in METERS, not tiles, so 100 means 10 tiles.
NORMAL_SHOOTING_DISTANCE = 70
;------------------------------------------------------------------------------------------------------------------------------
; The following parameters in this block are used only if USE_NEW_CTH_CALCULATION = TRUE in your Ja2_Options.ini
; Be aware that IRON_SIGHT_PERFORMANCE_BONUS and LASER_PERFORMANCE_BONUS_IRON are cumulative!
;
; IRON_SIGHT_PERFORMANCE_BONUS affects the size of the base shooting aperture for iron sights by x percent.
; Values can go from -50.0 (penalty) to 50.0 (bonus of 50 percent will make the aperture half as large)
; The default is 0.0
IRON_SIGHT_PERFORMANCE_BONUS = 0.0
; LASER_PERFORMANCE_BONUS_XXX also affects the size of the base shooting aperture by x percent but is used for lasers.
; The bonus only applies if the target is in laser range and the given sight is used.
; The bonus is also influenced by the light level at the target spot. The darker the spot the better the laser dot
; can be seen and the higher the resulting bonus will be.
; The defaults are 0.0 If all values are 0.0 the old NCTH laser behaviour is used.
; Values can go from 0.0 to 50.0
LASER_PERFORMANCE_BONUS_HIP = 0.0
LASER_PERFORMANCE_BONUS_IRON = 0.0
LASER_PERFORMANCE_BONUS_SCOPE = 0.0
;------------------------------------------------------------------------------------------------------------------------------
; This is the maximum angle, to either side of the shooter, that a bullet may fly.
; The CTH system works by shooting bullets randomly inside this angle. Increasing
; your aim will make the angle smaller, thus making rounds more likely to hit the