Visual info feature (by Sevenfm)

New option SHOW_ENEMY_ADDITIONAL_INFO in ja2_options.ini
0 - nothing
1 - show awareness sign above enemy soldier (useful for sneaking and covert operations)
Eye sign means that enemy sees you.
Color shows enemy alert level (green, yellow, orange, red)
2 - show if enemy wears gas mask or nvg
3 - show if enemy has any armour (helmet, vest, leggings)
Note: additional info is shown only at limited range (based on current vision distance and merc's experience), similar to dynamic tooltips.
see: http://www.bears-pit.com/board/ubbthreads.php/topics/172712/17/Code_Snippets.html

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1905 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2013-12-30 17:34:53 +00:00
parent 907afcb241
commit 65cd14b5b4
2 changed files with 22 additions and 1 deletions
+10
View File
@@ -1770,6 +1770,16 @@ CAN_CLIMB_ON_WALLS = TRUE
SHOW_ENEMY_WEAPON = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Show additional enemy info in tactical (awareness, gas mask, nvg, armour)
; 0 - nothing
; 1 - show awareness level
; 2 - show gas mask and NVG
; 3 - show armour
;------------------------------------------------------------------------------------------------------------------------------
SHOW_ENEMY_ADDITIONAL_INFO = 0
;------------------------------------------------------------------------------------------------------------------------------
; Turn this on, and you can set hidden names individually in 'TableData\HiddenNames.xml'.
;------------------------------------------------------------------------------------------------------------------------------
+12 -1
View File
@@ -821,7 +821,8 @@ HIDE_ENEMY_HEALTH_TEXT = FALSE
SHOW_HEALTHBARSOVERHEAD = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; How should the game display the enemy/player hit counter?
; How should the game display the enemy/player hit counter?
; 0 = Show damage inflicted as used to
; 1 = Show "?" as indicator if you scored a hit
; 2 = Do not show anything at all (If you scored a hit you need to tell by target's reaction)
@@ -1755,6 +1756,16 @@ CAN_CLIMB_ON_WALLS = FALSE
SHOW_ENEMY_WEAPON = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Show additional enemy info in tactical (awareness, gas mask, nvg, armour)
; 0 - nothing
; 1 - show awareness level
; 2 - show gas mask and NVG
; 3 - show armour
;------------------------------------------------------------------------------------------------------------------------------
SHOW_ENEMY_ADDITIONAL_INFO = 0
;------------------------------------------------------------------------------------------------------------------------------
; Turn this on, and you can set hidden names individually in 'TableData\HiddenNames.xml'.
;------------------------------------------------------------------------------------------------------------------------------