diff --git a/gamedir/Data-1.13/CTHConstants.ini b/gamedir/Data-1.13/CTHConstants.ini index 93f0e7e04..3ec4793a1 100644 --- a/gamedir/Data-1.13/CTHConstants.ini +++ b/gamedir/Data-1.13/CTHConstants.ini @@ -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 diff --git a/gamedir/Data-UB/CTHConstants.ini b/gamedir/Data-UB/CTHConstants.ini index 117bbb75c..571904137 100644 --- a/gamedir/Data-UB/CTHConstants.ini +++ b/gamedir/Data-UB/CTHConstants.ini @@ -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] diff --git a/gamedir/Data/CTHConstants.ini b/gamedir/Data/CTHConstants.ini index 93f0e7e04..3ec4793a1 100644 --- a/gamedir/Data/CTHConstants.ini +++ b/gamedir/Data/CTHConstants.ini @@ -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