From c9cdc9212140a3591d1cec335e57c63a95ce0eb9 Mon Sep 17 00:00:00 2001 From: Wanne Date: Mon, 30 Dec 2013 17:34:53 +0000 Subject: [PATCH] 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 --- gamedir/Data-1.13/Ja2_Options.INI | 10 ++++++++++ gamedir/Data/Ja2_Options.INI | 13 ++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 4cfa2bb4b..3817ad753 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -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'. ;------------------------------------------------------------------------------------------------------------------------------ diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index ed0aadae4..a0a42ce4d 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -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'. ;------------------------------------------------------------------------------------------------------------------------------