- Externalized a 3 properties where the user can set how the AI reacts when shooting. This should fix the bug, that AI acts strange when playing with NCTH system (by tazpn)

o MAX_EFFECTIVE_RANGE_MULTIPLIER, MAX_EFFECTIVE_RANGE_REDUCTION, MAX_EFFECTIVE_USE_GRADIENT
o Bears Pit discussion: http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=291742&page=3


git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1338 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2011-10-15 20:01:05 +00:00
parent 512e17c07c
commit 55dc27d356
2 changed files with 32 additions and 2 deletions
+16 -1
View File
@@ -356,4 +356,19 @@ RECOIL_COUNTER_INCREMENT_TRACER = 25
NORMAL_RECOIL_DISTANCE = 140
MAX_BULLET_DEV = 5.0
RANGE_EFFECTS_DEV = TRUE
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
+16 -1
View File
@@ -356,4 +356,19 @@ RECOIL_COUNTER_INCREMENT_TRACER = 25
NORMAL_RECOIL_DISTANCE = 140
MAX_BULLET_DEV = 5.0
RANGE_EFFECTS_DEV = TRUE
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