Results 1 to 4 of 4

Thread: Changing unit icon colours

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Changing unit icon colours

    Does anyone know how to change the colour/shading on the unit icons? All unit icons have three colours - black, white, and finally a faction-specific colour (which corresponds to the white shading on the unit_mask). It's this last one that I want to change. Any help would be really appreciated.

  2. #2

    Default Re: Changing unit icon colours

    Quote Originally Posted by crawe1 View Post
    Does anyone know how to change the colour/shading on the unit icons? All unit icons have three colours - black, white, and finally a faction-specific colour (which corresponds to the white shading on the unit_mask). It's this last one that I want to change. Any help would be really appreciated.
    I've been editing the unit card icons and actually I count a lot of greyscale shades... over a dozen. I also thought white (RGB 255,255,255) would be the faction color but it just appears as white in-game.

    I can't find where the mask is either.

  3. #3

    Default Re: Changing unit icon colours

    Under UI->Units->Mask there is a .png file that is effectively the alpha channel for faction coloring.

  4. #4

    Default Re: Changing unit icon colours

    Thanks JasonFJ. Yes, but the .png mask file just ensures WHERE the colouring appears, not what shade it is. What I want to do is change the faction's default colouring for its unit icons. For instance, how do I make it so that all Roman units icons appear, say, with green shading rather than red shading?

    In factions_tables/factions there are a lot of columns referencing colours. For instance, you can change the units' uniform colours on the battlemap, etc. At the far end of this table, there are three columns for card_colour, but these seem to have no effect on the unit icons. I'm sure the answer must be somewhere in this table, but so far I've tried various things with no luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •