Custom Colors for Dotmap

Oblivionyx

Warlord
Joined
Sep 10, 2018
Messages
173
Is there a way to add custom colors to the dotmap in BUG? I changed the colors of some civs with custom colors, and I wanted to do the same to the dotmap. I found the "Strategy Overlay" file that defines opacity/brightness of the dotmaps, but not where it defines the colors...
 
Strategy Overlay.XML defines the colors in the <init> section of the file. Specifically this:

Code:
<init>
       <arg name="paletteWidth" type="int" value="3"/>
       <arg name="paletteColors" type="tuple">
           "COLOR_PLAYER_BROWN",
           "COLOR_PLAYER_PEACH",
           "COLOR_PLAYER_PEACH_TEXT",
          
           "COLOR_PLAYER_PALE_RED",
           "COLOR_RED",
           "COLOR_PLAYER_PINK",

           "COLOR_PLAYER_PALE_ORANGE",
           "COLOR_PLAYER_ORANGE",
           "COLOR_PLAYER_DARK_YELLOW",
          
           "COLOR_GREAT_PEOPLE_RATE",
           "COLOR_YELLOW",
           "COLOR_PLAYER_LIGHT_YELLOW",
          
           "COLOR_PLAYER_DARK_GREEN",
           "COLOR_PLAYER_GREEN",
           "COLOR_PLAYER_LIGHT_GREEN",
          
           "COLOR_PLAYER_DARK_CYAN",
           "COLOR_PLAYER_MIDDLE_CYAN",
           "COLOR_PLAYER_CYAN",
          
           "COLOR_PLAYER_DARK_BLUE",
           "COLOR_PLAYER_BLUE",
           "COLOR_PLAYER_LIGHT_BLUE",
          
           "COLOR_PLAYER_DARK_PURPLE",
           "COLOR_MAGENTA",
           "COLOR_PLAYER_PURPLE_TEXT",
          
           "COLOR_BLACK",
           "COLOR_LIGHT_GREY",
           "COLOR_WHITE"
       </arg>
   </init>

Change these colors appropriately to whatever you want, as long as they conform to BTS color naming constants.
 
Top Bottom