From 32381eabc63301658188f6ad344df34ef00db832 Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 10 Dec 2013 11:06:49 +0000 Subject: [PATCH] Small visual changes (by Sevenfm) see: http://www.bears-pit.com/board/ubbthreads.php/topics/172712/16/Code_Snippets.html 1) ENEMY_HIT_COUNT in ja2_options.ini accepts 2 new parameters: 3 - show damage as white asterisks 4 - show damage as red asterisks Number of asterisks is scaled (maximum 5): >0, >10, >30, >60, >100 2) Suppression tactical tooltip now shows suppression points from last attacks. Previously it was always = 0 because ubSuppressionPoints value is cleared after each attack. 3) It is now possible to show suppression values above soldier, just as hit count. There are new options in ja2_options.ini Possible values: 0 - do not show 1 - show on moving hit counter 2 - show above soldier The values are color coded: Suppression is light gray Shock is yellow AP loss is blue Morale hit is green SHOW_SUPPRESSION_COUNT = 0 SHOW_SHOCK_COUNT = 0 SHOW_AP_COUNT = 0 SHOW_MORALE_COUNT = 0 This option defines if values are shown as numbers or asterisks (1..5, using scale) SHOW_SUPPRESSION_USE_ASTERISK = FALSE This option defines if only 1 asterisk is shown or several (1..5) to represent value SHOW_SUPPRESSION_SCALE_ASTERISK = TRUE Show suppression above soldier during enemy attack. All other values are shown after attack, when HandleSuppressionFire function is calculated. SHOW_SUPPRESSION_COUNT_ALT = TRUE ------------ * Recommended settings for playing * ENEMY_HIT_COUNT = 4 SHOW_SUPPRESSION_COUNT = 2 SHOW_SHOCK_COUNT = 0 SHOW_AP_COUNT = 0 SHOW_MORALE_COUNT = 0 SHOW_SUPPRESSION_USE_ASTERISK = TRUE SHOW_SUPPRESSION_SCALE_ASTERISK = TRUE SHOW_SUPPRESSION_COUNT_ALT = TRUE git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1891 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 24 ++++++++++++++++++++++++ gamedir/Data/Ja2_Options.INI | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 6b5907fd4..d07430a61 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -826,10 +826,34 @@ SHOW_HEALTHBARSOVERHEAD = TRUE ; 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) +; 3 = Show damage as white asterisks (scale is >0, >10, >30, >60, >100) +; 4 = Show damage as red asterisks ;------------------------------------------------------------------------------------------------------------------------------ ENEMY_HIT_COUNT = 0 +;------------------------------------------------------------------------------------------------------------------------------ +; Show additional suppression information above soldier: +; light gray counter - suppression points from attack (they are calculated and shown after attack) +; yellow - shock points from attack +; blue - AP lost from attack +; green - number of morale hit events from attack +; 0 = do not show +; 1 = show after damage counter +; 2 = show above soldier +; if SHOW_SUPPRESSION_COUNT_ALT = TRUE, current suppression points are shown above soldier (this works during attack) +; if SHOW_SUPPRESSION_USE_ASTERISK = TRUE, asterisks are used instead of numbers +; if SHOW_SUPPRESSION_SCALE_ASTERISK = FALSE, only one asterisk will be displayed for each type of suppression effect +;------------------------------------------------------------------------------------------------------------------------------ + +SHOW_SUPPRESSION_COUNT = 0 +SHOW_SHOCK_COUNT = 0 +SHOW_AP_COUNT = 0 +SHOW_MORALE_COUNT = 0 +SHOW_SUPPRESSION_USE_ASTERISK = FALSE +SHOW_SUPPRESSION_SCALE_ASTERISK = FALSE +SHOW_SUPPRESSION_COUNT_ALT = FALSE + ;------------------------------------------------------------------------------------------------------------------------------ ; Default: 10000 ; regulates the bullet hit impact to stamina. The lower is the value, the more stamina is taken out. With the value of 6900 it diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index bf47039e4..8cf7df5e1 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -825,10 +825,34 @@ SHOW_HEALTHBARSOVERHEAD = FALSE ; 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) +; 3 = Show damage as white asterisks (scale is >0, >10, >30, >60, >100) +; 4 = Show damage as red asterisks ;------------------------------------------------------------------------------------------------------------------------------ ENEMY_HIT_COUNT = 0 +;------------------------------------------------------------------------------------------------------------------------------ +; Show additional suppression information above soldier: +; light gray counter - suppression points from attack (they are calculated and shown after attack) +; yellow - shock points from attack +; blue - AP lost from attack +; green - number of morale hit events from attack +; 0 = do not show +; 1 = show after damage counter +; 2 = show above soldier +; if SHOW_SUPPRESSION_COUNT_ALT = TRUE, current suppression points are shown above soldier (this works during attack) +; if SHOW_SUPPRESSION_USE_ASTERISK = TRUE, asterisks are used instead of numbers +; if SHOW_SUPPRESSION_SCALE_ASTERISK = FALSE, only one asterisk will be displayed for each type of suppression effect +;------------------------------------------------------------------------------------------------------------------------------ + +SHOW_SUPPRESSION_COUNT = 0 +SHOW_SHOCK_COUNT = 0 +SHOW_AP_COUNT = 0 +SHOW_MORALE_COUNT = 0 +SHOW_SUPPRESSION_USE_ASTERISK = FALSE +SHOW_SUPPRESSION_SCALE_ASTERISK = FALSE +SHOW_SUPPRESSION_COUNT_ALT = FALSE + ;------------------------------------------------------------------------------------------------------------------------------ ; Default: 10000 ; regulates the bullet hit impact to stamina. The lower is the value, the more stamina is taken out. With the value of 6900 it