Advertisement
tjd802

XCom_WOTCLootIndicator_Extended

Nov 24th, 2020
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. ; ===========================================================================================
  2. ; FILE: WOTCLootIndicator_Extended
  3. ;
  4. ; File created by RustyDios 04/11/20 02:20
  5. ; LAST UPDATED 14/11/20 13: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 = false ; 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 = 25 ; FONT SIZE FOR STATS
  20. INFO_ICON_SIZE = 25 ; 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. ;WHAT STATS TO SHOW -- THE CODE SHOULD AUTO-SPACE THE STATS ALONG THE BAR
  28. ;you can realistically fit around 10 'stat slots' on the health bar, icons count
  29. SHOW_DAMAGE = false ; Show primary weapon damage min-max counts as a 'triple' slot [icon]x-y
  30. SHOW_AIM = false ; [icon] + text
  31. SHOW_DEF = false ; [icon] + text
  32. SHOW_MOB = false ; [icon] + text
  33. SHOW_WILL = false ; [icon] + text
  34. SHOW_HACK = false ; [icon] + text
  35. SHOW_DODGE = false ; [icon] + text
  36. SHOW_PSI = false ; [icon] + text
  37. SHOW_HP = false ; can show current/max ... see toggle below ... [icon]x (/y)
  38.  
  39. SHOW_MAX_HP = false ; This will show the units total HP as well as show it's current HP
  40. 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
  41.  
  42. SHOW_ARMOR = false ; Show armor AS A TEXT STAT with icon -- IT WILL ALWAYS DISPLAY PIPS
  43. SHOW_SHIELD = false ; Show shield/ablative AS A TEXT STAT with icon -- IT WILL ALWAYS DISPLAY BAR
  44.  
  45. SHOW_WILL_BAR = true ; Show the WOTC Will bar if the unit is friendly and uses the will system
  46.  
  47. SHOW_FRIENDLY_NAME = true ;will display nickname for friendlies
  48. SHOW_ENEMY_NAME = true ;will display 'locfriendlyname' for enemies
  49.  
  50. SHOW_HUDHEAD = true ;should the target icon appear before the name
  51.  
  52. ; ===========================================================================================
  53. ; ================== COLOURS ==================
  54. ; ===========================================================================================
  55.  
  56. ; html hex eg "bf1e2e" ; advent red
  57. NAME_COLOR = "fdce2b" ; yellow TEXT
  58. STAT_COLOR = "9acbcb" ; cyan TEXT
  59. ARMOR_COLOR = "e69831" ; orange TEXT
  60. SHIELD_COLOR = "b6b3e3" ; purple TEXT
  61.  
  62. NAME_COLOR_BYTEAM = true ; if true will recolour the name based on the team colour, overwrites the above text colour setting
  63. HPBAR_COLOR_BYTEAM = true ; if true the HP PIPS will recolour to the team colour
  64. 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
  65. SHIELDBAR_COLOR_BYTEAM_ENEMIES = false ; 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
  66.  
  67. eColour_WillBar = eColor_Good ; this can be used to change the colour of the will bar, see below for options, COPY EXACT CODE !
  68.  
  69. ; ================== WILL BAR COLOUR CODE OPTIONS ==================
  70. ; !! DO NOT CHANGE THE CODE UNLESS YOU COPY THE EXACT STRING !!
  71. ; eColor_Good GOOD_HTML_COLOR = "53b45e"; // Green
  72. ; eColor_Alien BAD_HTML_COLOR = "bf1e2e"; // Red
  73. ; eColor_TheLost THELOST_HTML_COLOR = "acd373"; // Vomit
  74. ; eColor_Yellow WARNING_HTML_COLOR = "fdce2b"; // Yellow
  75. ; eColor_Orange WARNING2_HTML_COLOR = "e69831"; // Orange
  76. ; eColor_Purple PSIONIC_HTML_COLOR = "b6b3e3"; // Purple
  77. ; eColor_Gray DISABLED_HTML_COLOR = "828282"; // Gray
  78. ; eColor_White WHITE_HTML_COLOR = "FFFFFF"; // White
  79. ; eColor_Xcom NORMAL_HTML_COLOR = "9acbcb"; // Cyan
  80. ; !! DO NOT CHANGE THE CODE UNLESS YOU COPY THE EXACT STRING !!
  81. ; ==================================================================
  82.  
  83. ; ===========================================================================================
  84. ; ================== POSITIONINGS ==================
  85. ; THESE COULD HAVE BEEN HARDCODED, BUT TEST AND ADJUSTING IS EASIER FROM CONFIG
  86. ; ADJUSTMENTS MADE TO THE FONT/ICON SIZES MIGHT NEED ADJUSTMENTS HERE
  87. ; ===========================================================================================
  88.  
  89. ; THE EXTRA BARS FROM SHIELDS AND FOCUS REQUIRE PUSHING THE STATS UP BY THESE VALUES, 'ADDITIVE', NEGATIVE IS UP
  90. SHIELD_SHIFT_Y = -19 ; This is how much all the icons are shifted up for when a unit has shields
  91. 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)
  92. 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
  93. 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
  94.  
  95. ; OFFSETS HELP TO ALIGN THE ICONS
  96. ; 0,0 IS ROUGHLY THE BOTTOM RIGHT PIXEL OF THE HEALTH BAR
  97. LOOT_OFFSET_X = -10 ;NEGATIVE IS LEFT
  98. LOOT_OFFSET_Y = -95 ;NEGATIVE IS UP
  99.  
  100. ; STATS BAR - GETS BUMPED UP BY HEALTH, SHIELD, FOCUS AND WILLBAR AND IS AUTO-SPACING
  101. STAT_OFFSET_X = 25 ;THIS SHOULD IDEALLY BE THE SAME AS INFO FONT/ICON SIZE
  102. STAT_OFFSET_Y = -77
  103.  
  104. ; NAME BAR - GETS BUMPED UP BY HEALTH, SHIELD, FOCUS AND WILLBAR AND IS AUTO-SPACING
  105. NAME_OFFSET_X = 27
  106. NAME_OFFSET_Y = -80
  107.  
  108. ; ===========================================================================================
  109. ; ================== RUSTYS BAD UI FLAG 'ASCII' LEGEND ==================
  110. ; ===========================================================================================
  111. ;
  112. ; HH zzzzzzzzz
  113. ; LL [i]x-y [i] x [i] x [i] x [i] x [i] x/x
  114. ; LL [sssss][sssss][ssssss][sssss][sssss] [s/s]
  115. ; GG [][][][][][][][][][][][][][][][][][] [a][a][a][a] [a/a]
  116. ; AA ====================================
  117. ; AA [fffffff][fffffff][fffffff][fffffff] C+C
  118. ; ow >> ^^ @@ ## RR V
  119. ;
  120. ;LL = LOOT INDICATOR
  121. ;HH = HUD HEAD ICON
  122. ;zz = NAME
  123. ;[i]x = icon with stats
  124. ;[ssss] = shield pip
  125. ;[s/s] = shield stat
  126. ;GG = Gotcha Again, LoS Indicator, Flank Preview
  127. ;[] = health pip
  128. ;[a] = armour pip
  129. ;[a/a] = armour stat
  130. ;=== = will bar
  131. ;AA = ALIEN RULER HEAD ICON
  132. ;[fff] = focus pips
  133. ;C+C V = cover shield
  134. ;ow = overwatch eye
  135. ;other = various status indicators, move, buff, dazed, mc, ruptured
  136. ; ===========================================================================================
  137.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement