tjd802

XCOM2 - [WOTC] Unit Flag Extended Config

Sep 6th, 2021
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.84 KB | None | 0 0
  1. ; ===========================================================================================
  2. ; FILE: WOTCLootIndicator_Extended
  3. ;
  4. ; File created by RustyDios 04/11/20 02:20
  5. ; LAST UPDATED 22/08/21 03:30
  6. ;
  7. ; ===========================================================================================
  8.  
  9. [WOTCLootIndicator_Extended.WOTCLootIndicator_Extended]
  10. bRustyUIFlagLog = false ; Toggle any log messages for this mod to aid debugging
  11.  
  12. ; ===========================================================================================
  13. ; ================== STATS & OPTONS ==================
  14. ; ===========================================================================================
  15.  
  16. SHOW_LOOT = true ; Show the loot icon on enemies
  17. REQUIRE_SCANNING = false ; Show the loot icon on enemies ONLY if they have been scanned, or reaper scouted/target defined
  18.  
  19. INFO_FONT_SIZE = 24 ; FONT SIZE FOR STATS
  20. INFO_ICON_SIZE = 26 ; ICON SIZE FOR STATS, LOOT INDICATOR AND HUDHEAD
  21. NAME_FONT_SIZE = 22 ; FONT SIZE FOR THE NAME
  22.  
  23. SIZE_OFPADDING = 28 ; THIS IS THE SIZE OF THE PADDING GIVEN FOR EACH ELEMENT
  24.  
  25. SHOW_STATS_ON_FRIENDLY = true ; Show stats on friendly units as well as enemies
  26.  
  27. ; if set false this will show the same same 'blacked out' bar enemies get by using the game option to hide enemy health
  28. ; !! if set false ALSO hides the stats diplay - ignores SHOW_STATS_ON_FRIENDLY setting !!
  29. ; feature requested by MrGruffle, go check out his xcom youtube vids :) https://www.youtube.com/channel/UCMcC_-Tzw7BtxQ_S8iqsjbg
  30. SHOW_BARS_ON_FRIENDLY = true
  31.  
  32. ;WHAT STATS TO SHOW -- THE CODE SHOULD AUTO-SPACE THE STATS ALONG THE BAR
  33. ;A TUPLE IS GENERATED THAT ALLOWS OTHER MODS TO HIDE DAMAGE, AIM, MOB, WILL, HACK, DODGE AND PSI
  34. ;you can realistically fit around 10 'stat slots' on the health bar, icons count
  35. SHOW_DAMAGE = true ; Show primary weapon damage min-max counts as a 'triple' slot [icon]x-y ;mods can Obfuscate
  36. SHOW_AIM = true ; [icon] + text ;mods can Obfuscate
  37. SHOW_DEF = true ; [icon] + text
  38. SHOW_MOB = true ; [icon] + text ;mods can Obfuscate
  39. SHOW_DODGE = false ; [icon] + text ;mods can Obfuscate
  40. SHOW_HACK = false ; [icon] + text ;mods can Obfuscate
  41. SHOW_WILL = false ; [icon] + text ;mods can Obfuscate
  42. SHOW_PSI = false ; [icon] + text ;mods can Obfuscate
  43. SHOW_HP = true ; can show current/max ... see toggle below ... [icon]x (/y)
  44.  
  45. SHOW_MAX_HP = false ; This will show the units total HP as well as show it's current HP
  46. SHOW_MOB_AS_TILES = false ; This simply divides the mobility stat by 1.5 to convert meters to tiles, it might lie sometimes due to rounding errors
  47.  
  48. SHOW_ARMOR = false ; Show armor AS A TEXT STAT with icon -- IT DOESNT EFFECT PIPS DISPLAY
  49. SHOW_SHIELD = false ; Show shield/ablative AS A TEXT STAT with icon -- IT DOESNT EFFECT BARS DISPLAY
  50.  
  51. SHOW_WILL_BAR = true ; Show the WOTC Will bar if the unit is friendly and uses the will system
  52.  
  53. SHOW_FRIENDLY_NAME = true ;will display nickname or lastname for friendlies
  54. SHOW_ENEMY_NAME = true ;will display 'local friendly name' for enemies
  55.  
  56. SHOW_HUDHEAD = true ;should the target icon appear before the name
  57.  
  58. ; ===========================================================================================
  59. ; ================== COLOURS TEXT ==================
  60. ; ===========================================================================================
  61.  
  62. ; html hex eg "BF1E2E" ; advent red
  63. ;STAT_COLOR = "9ACBCB" ; cyan TEXT DEPRECIATED
  64. NAME_COLOR = "FDCE2B" ; gold TEXT
  65.  
  66. DAMAGE_COLOR = "9ACBCB" ; cyan TEXT
  67. AIM_COLOR = "9ACBCB" ; cyan TEXT
  68. DEF_COLOR = "9ACBCB" ; cyan TEXT
  69. MOB_COLOR = "9ACBCB" ; cyan TEXT
  70. WILL_COLOR = "9ACBCB" ; cyan TEXT
  71. HACK_COLOR = "9ACBCB" ; cyan TEXT
  72. DODGE_COLOR = "9ACBCB" ; cyan TEXT
  73. PSI_COLOR = "9ACBCB" ; cyan TEXT Alternative suggestion "B6B3E3" ; purple TEXT
  74. HP_COLOR = "9ACBCB" ; cyan TEXT Alternative suggestion "53B45E" ; green TEXT
  75.  
  76. ARMOR_COLOR = "9ACBCB" ; cyan TEXT Alternative suggestion "FDCE2B" ; yellow TEXT
  77. SHIELD_COLOR = "9ACBCB" ; cyan TEXT Alternative suggestion "E69831" ; orange TEXT
  78.  
  79. NAME_COLOR_BYTEAM = false ; if true will recolour the name based on the team colour, overwrites the above text colour setting
  80.  
  81. ; ===========================================================================================
  82. ; ================== COLOURED HP BARS ==================
  83. ; ===========================================================================================
  84.  
  85. ; default HP colours are cyan for xcom, red for 'anything not xcom'
  86. ; default ShieldBar colour is yellow/gold
  87.  
  88. HPBAR_COLOR_BYTEAM = true ; if true the HP PIPS will recolour to the team colour, xcom=cyan, advent=red, lost=sickgreen, chosen=purple, faction1 and 2=set by mod that introduces the faction
  89.  
  90. ; the below special cases also require the HPBAR_COLOR_BYTEAM set to true to be valid options, default base game shares the same colour as the lost team, ugh!, ACD373
  91. HPBAR_COLORHEX_RULER_VIPER = "5CC3C1" ; a frosty blue
  92. HPBAR_COLORHEX_RULER_ZERKER = "C66111" ; orange-bronze
  93. HPBAR_COLORHEX_RULER_ARCHON = "BABABA" ; white-silver
  94. HPBAR_COLORHEX_RULER_HIVE = "694269" ; a deep purple
  95.  
  96. ; ===========================================================================================
  97. ; ================== COLOURED SHIELD BARS ==================
  98. ; ===========================================================================================
  99.  
  100. SHIELDBAR_COLOR_BYTEAM_FRIENDLIES = false ; if true the SHIELD/ABLATIVE will recolour to the team colour ... for friendlies ... will make it look like an 'extension' of HP, it will still sit as a second row
  101. SHIELDBAR_COLOR_BYTEAM_ENEMIES = true ; if true the SHIELD/ABLATIVE will recolour to the team colour ... for enemies ... will make it look like an 'extension' of HP, it will still sit as a second row
  102.  
  103. ; the below special cases also require the SHIELDBAR_COLOR_BYTEAM_ENEMIES set to true to be valid options
  104. SHIELDBAR_COLOR_FROSTLEGION = true ; if true the SHIELD/ABLATIVE will recolour to that of below ... for units with frost shields from https://steamcommunity.com/sharedfiles/filedetails/?id=2481645156
  105. SHIELDBAR_COLORHEX_FROSTLEGION = "5CC3C1" ; a frosty blue
  106.  
  107. ; ================== WILL BAR COLOUR CODE OPTIONS ==================
  108. ; !! DO NOT CHANGE THE CODE UNLESS YOU COPY THE EXACT STRING !!
  109. ; eColor_Good GOOD_HTML_COLOR = "53B45E"; // Green
  110. ; eColor_Alien BAD_HTML_COLOR = "BF1E2E"; // Red
  111. ; eColor_TheLost THELOST_HTML_COLOR = "ACD373"; // Vomit
  112. ; eColor_Yellow WARNING_HTML_COLOR = "FDCE2B"; // Yellow
  113. ; eColor_Orange WARNING2_HTML_COLOR = "E69831"; // Orange
  114. ; eColor_Purple PSIONIC_HTML_COLOR = "B6B3E3"; // Purple
  115. ; eColor_Gray DISABLED_HTML_COLOR = "828282"; // Gray
  116. ; eColor_White WHITE_HTML_COLOR = "FFFFFF"; // White
  117. ; eColor_Xcom NORMAL_HTML_COLOR = "9ACBCB"; // Cyan
  118. ; !! DO NOT CHANGE THE CODE UNLESS YOU COPY THE EXACT STRING !!
  119. ; ==================================================================
  120.  
  121. eColour_WillBar = eColor_Good ; this can be used to change the colour of the will bar, see above for options, COPY EXACT CODE !
  122.  
  123. ; ===========================================================================================
  124. ; ================== POSITIONINGS ==================
  125. ; THESE COULD HAVE BEEN HARDCODED, BUT TEST AND ADJUSTING IS EASIER FROM CONFIG
  126. ; ADJUSTMENTS MADE TO THE FONT/ICON SIZES MIGHT NEED ADJUSTMENTS HERE
  127. ; ===========================================================================================
  128.  
  129. ; THE EXTRA BARS FROM SHIELDS AND FOCUS REQUIRE PUSHING THE STATS UP BY THESE VALUES, 'ADDITIVE', NEGATIVE IS UP
  130. SHIELD_SHIFT_Y = -19 ; This is how much all the icons are shifted up for when a unit has shields
  131. ALIENRULER_SHIFT_Y = -18 ; this is how much all the icons are shifted up for each additional health row for the rulers (viper king, berseker queen, archon king, CX hive queen and CX CotK)
  132. WILLBAR_SHIFT_Y = -11 ; In WOTC friendly units need more of a vertical shift for the text due to the built-in will bar. This is the extra shift added to accomodate this
  133. FOCUS_SHIFT_Y = -16 ; In WOTC Templar units have an additional FOCUS bar. NOW INCLUDES CHECK FOR CHL FOCUS BAR. This is the extra shift added to accomodate this
  134. HIDDENBARS_SHIFT_Y = -42 ; If the Health Bars and Stats are hidden this will reduce the gap between the bar and name.
  135.  
  136. ; OFFSETS HELP TO ALIGN THE ICONS
  137. ; 0,0 IS ROUGHLY THE BOTTOM RIGHT PIXEL OF THE HEALTH BAR
  138. LOOT_OFFSET_X = -10 ;NEGATIVE IS LEFT
  139. LOOT_OFFSET_Y = -95 ;NEGATIVE IS UP
  140.  
  141. ; STATS BAR - GETS BUMPED UP BY HEALTH, SHIELD, FOCUS AND WILLBAR AND IS AUTO-SPACING
  142. STAT_OFFSET_X = 25
  143. STAT_OFFSET_Y = -77
  144.  
  145. ; NAME BAR - GETS BUMPED UP BY HEALTH, SHIELD, FOCUS AND WILLBAR AND IS AUTO-SPACING
  146. NAME_OFFSET_X = 27
  147. NAME_OFFSET_Y = -100
  148.  
  149. ; ===========================================================================================
  150. ; ================== RUSTYS BAD UI FLAG 'ASCII' LEGEND ==================
  151. ; ===========================================================================================
  152. ;
  153. ; HH nnnnnnnnnnn
  154. ; LL [i]x-y [i] x [i] x [i] x [i] x [i] x/x [s/s] [a/a]
  155. ; LL [sssss][sssss][ssssss][sssss][sssss]
  156. ; GG [][][][][][][][][][][][][][][][][][] [a][a][a][a]
  157. ; AA ====================================
  158. ; AA [fffffff][fffffff][fffffff][fffffff] C+C
  159. ; ow >> ^^ @@ ## RR V
  160. ;
  161. ;LL = LOOT INDICATOR
  162. ;HH = HUD HEAD ICON
  163. ;nn = NAME
  164. ;[i]x = icon with stats
  165. ;[ssss] = shield pip
  166. ;[s/s] = shield icon with stat
  167. ;GG = Gotcha Again, LoS Indicator, Flank Preview
  168. ;[] = health pip
  169. ;[a] = armour pip
  170. ;[a/a] = armour icon with stat
  171. ;=== = will bar
  172. ;AA = ALIEN RULER HEAD ICON
  173. ;[fff] = focus pips
  174. ;C+C V = cover shield
  175. ;ow = overwatch eye
  176. ;other = various status indicators, move, buff, dazed, mc, ruptured
  177. ; ===========================================================================================
  178.  
Add Comment
Please, Sign In to add comment