mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -89,6 +109,15 @@ SCOPE_RANGE_MULTIPLIER = 0.7
|
||||
; to hit a target from the side as from head on, just set this value to 1.0
|
||||
SIDE_FACING_DIVISOR = 2.0
|
||||
|
||||
; This is the basic chance PER SHOT to lose 1 point of weapon condition with each
|
||||
; bullet fired. The formula for this chance is 1 in BASE_DEPRECIATE_CHANCE, so higher
|
||||
; values result in slower degradation.
|
||||
; The default value for OCTH is 15, but NCTH requires a **much** higher
|
||||
; expenditure of bullets, resulting in severely-reduced weapon condition after every
|
||||
; battle. Therefore, the default for NCTH is currently 150.
|
||||
; Valid range is 0-10000.
|
||||
BASIC_RELIABILITY_ODDS = 45
|
||||
|
||||
|
||||
[Base CTH]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user