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/trunk/GameSource/ja2_v1.13/Build@6722 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-12-30 17:34:25 +00:00
parent 536913fd44
commit 224ebe9ba3
3 changed files with 163 additions and 37 deletions
+2
View File
@@ -1171,6 +1171,8 @@ typedef struct
// sevenfm: show enemy weapon above soldier in tactical
BOOLEAN fShowEnemyWeapon;
// show additional info in tactical (awareness, gas mask, nvg, armour)
UINT8 ubShowEnemyAdditionalInfo;
//legion by Jazz
BOOLEAN fIndividualHiddenPersonNames;