added and adjusted the following features by zwwooooo to help restoring IoV to a pure item mod:

- externalized the brightness vision range modifiers to allow for different ratios of day/night vision range
- added <PercentRangeBonus> as a complement to <Rangebonus>
- added the possibility for LBE vests to function as plate carriers

These were the missing features from IoV previously not in the 1.13 trunk. Thereby, IoV is now fully compatible to the current trunk (by DepressivesBrot)

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1722 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2013-08-08 21:08:44 +00:00
parent fb93c07517
commit eac402f47e
4 changed files with 82 additions and 0 deletions
+27
View File
@@ -1207,6 +1207,33 @@ ASSASSIN_PROPABILITY_MODIFIER = 100
;------------------------------------------------------------------------------------------------------------------------------
BASE_SIGHT_RANGE = 13
;------------------------------------------------------------------------------------------------------------------------------
;Modifiers to the sight range in various light conditions. 0 = brightest, 15 = darkest
;Important points:
;3: normal day
;8: mid dawn
;12: normal night time
;values are in percent
;Range: 1-100
;------------------------------------------------------------------------------------------------------------------------------
BRIGHTNESS_MOD_0 = 80
BRIGHTNESS_MOD_1 = 86
BRIGHTNESS_MOD_2 = 93
BRIGHTNESS_MOD_3 = 100
BRIGHTNESS_MOD_4 = 94
BRIGHTNESS_MOD_5 = 88
BRIGHTNESS_MOD_6 = 82
BRIGHTNESS_MOD_7 = 76
BRIGHTNESS_MOD_8 = 70
BRIGHTNESS_MOD_9 = 64
BRIGHTNESS_MOD_10 = 58
BRIGHTNESS_MOD_11 = 51
BRIGHTNESS_MOD_12 = 43
BRIGHTNESS_MOD_13 = 30
BRIGHTNESS_MOD_14 = 17
BRIGHTNESS_MOD_15 = 9
;------------------------------------------------------------------------------------------------------------------------------
; Enable/disable tunnel vision: characters (friend and foe) cannot see behind, and have limited vision to the sides.
@@ -62,6 +62,7 @@
<HideMuzzleFlash>0</HideMuzzleFlash>
<Bipod>0</Bipod>
<RangeBonus>0</RangeBonus>
<PercentRangeBonus>0</PercentRangeBonus>
<ToHitBonus>0</ToHitBonus>
<BestLaserRange>0</BestLaserRange>
<AimBonus>0</AimBonus>
+27
View File
@@ -1183,6 +1183,33 @@ ASSASSIN_PROPABILITY_MODIFIER = 100
BASE_SIGHT_RANGE = 13
;------------------------------------------------------------------------------------------------------------------------------
;Modifiers to the sight range in various light conditions. 0 = brightest, 15 = darkest
;Important points:
;3: normal day
;8: mid dawn
;12: normal night time
;values are in percent
;Range: 1-100
;------------------------------------------------------------------------------------------------------------------------------
BRIGHTNESS_MOD_0 = 80
BRIGHTNESS_MOD_1 = 86
BRIGHTNESS_MOD_2 = 93
BRIGHTNESS_MOD_3 = 100
BRIGHTNESS_MOD_4 = 94
BRIGHTNESS_MOD_5 = 88
BRIGHTNESS_MOD_6 = 82
BRIGHTNESS_MOD_7 = 76
BRIGHTNESS_MOD_8 = 70
BRIGHTNESS_MOD_9 = 64
BRIGHTNESS_MOD_10 = 58
BRIGHTNESS_MOD_11 = 51
BRIGHTNESS_MOD_12 = 43
BRIGHTNESS_MOD_13 = 30
BRIGHTNESS_MOD_14 = 17
BRIGHTNESS_MOD_15 = 9
;------------------------------------------------------------------------------------------------------------------------------
; Enable/disable tunnel vision: characters (friend and foe) cannot see behind, and have limited vision to the sides.
; Some scopes and headgear may make vision even narrower.
+27
View File
@@ -1205,6 +1205,33 @@ ASSASSIN_PROPABILITY_MODIFIER = 100
BASE_SIGHT_RANGE = 13
;------------------------------------------------------------------------------------------------------------------------------
;Modifiers to the sight range in various light conditions. 0 = brightest, 15 = darkest
;Important points:
;3: normal day
;8: mid dawn
;12: normal night time
;values are in percent
;Range: 1-100
;------------------------------------------------------------------------------------------------------------------------------
BRIGHTNESS_MOD_0 = 80
BRIGHTNESS_MOD_1 = 86
BRIGHTNESS_MOD_2 = 93
BRIGHTNESS_MOD_3 = 100
BRIGHTNESS_MOD_4 = 94
BRIGHTNESS_MOD_5 = 88
BRIGHTNESS_MOD_6 = 82
BRIGHTNESS_MOD_7 = 76
BRIGHTNESS_MOD_8 = 70
BRIGHTNESS_MOD_9 = 64
BRIGHTNESS_MOD_10 = 58
BRIGHTNESS_MOD_11 = 51
BRIGHTNESS_MOD_12 = 43
BRIGHTNESS_MOD_13 = 30
BRIGHTNESS_MOD_14 = 17
BRIGHTNESS_MOD_15 = 9
;------------------------------------------------------------------------------------------------------------------------------
; Enable/disable tunnel vision: characters (friend and foe) cannot see behind, and have limited vision to the sides.
; Some scopes and headgear may make vision even narrower.