diff --git a/gamedir/Data-1.13/CTHConstants.ini b/gamedir/Data-1.13/CTHConstants.ini index fcf16e2c9..0c710bf12 100644 --- a/gamedir/Data-1.13/CTHConstants.ini +++ b/gamedir/Data-1.13/CTHConstants.ini @@ -356,4 +356,19 @@ RECOIL_COUNTER_INCREMENT_TRACER = 25 NORMAL_RECOIL_DISTANCE = 140 MAX_BULLET_DEV = 5.0 -RANGE_EFFECTS_DEV = TRUE \ No newline at end of file +RANGE_EFFECTS_DEV = TRUE + +;------------------------------------------------------------------------------ +; MAX_EFFECTIVE_RANGE_MULTIPLIER +; Maximum effective range of Gun that AI will still attempt to shoot +; Default: 1.1 which equates to 110% of the gun's effective range +; MAX_EFFECTIVE_RANGE_REDUCTION +; Maximum reduction of chance to hit when exceeding effective range +; Default: 0.5 which equates to 50% reduction +; MAX_EFFECTIVE_USE_GRADIENT +; Whether to apply the reduction as a flat reduction or as gradient +; Default: FALSE which is flat reduction when exceeding range +;------------------------------------------------------------------------------ +MAX_EFFECTIVE_RANGE_MULTIPLIER = 1.1 +MAX_EFFECTIVE_RANGE_REDUCTION = 0.5 +MAX_EFFECTIVE_USE_GRADIENT = FALSE \ No newline at end of file diff --git a/gamedir/Data/CTHConstants.ini b/gamedir/Data/CTHConstants.ini index fcf16e2c9..0c710bf12 100644 --- a/gamedir/Data/CTHConstants.ini +++ b/gamedir/Data/CTHConstants.ini @@ -356,4 +356,19 @@ RECOIL_COUNTER_INCREMENT_TRACER = 25 NORMAL_RECOIL_DISTANCE = 140 MAX_BULLET_DEV = 5.0 -RANGE_EFFECTS_DEV = TRUE \ No newline at end of file +RANGE_EFFECTS_DEV = TRUE + +;------------------------------------------------------------------------------ +; MAX_EFFECTIVE_RANGE_MULTIPLIER +; Maximum effective range of Gun that AI will still attempt to shoot +; Default: 1.1 which equates to 110% of the gun's effective range +; MAX_EFFECTIVE_RANGE_REDUCTION +; Maximum reduction of chance to hit when exceeding effective range +; Default: 0.5 which equates to 50% reduction +; MAX_EFFECTIVE_USE_GRADIENT +; Whether to apply the reduction as a flat reduction or as gradient +; Default: FALSE which is flat reduction when exceeding range +;------------------------------------------------------------------------------ +MAX_EFFECTIVE_RANGE_MULTIPLIER = 1.1 +MAX_EFFECTIVE_RANGE_REDUCTION = 0.5 +MAX_EFFECTIVE_USE_GRADIENT = FALSE \ No newline at end of file