Results 1 to 3 of 3

Thread: Faction Colours Documentation

  1. #1
    Jokern's Avatar Mowbray of Nottingham
    Join Date
    May 2011
    Location
    14th Century England
    Posts
    6,900

    Default Faction Colours Documentation

    I have researched and tested which parts of the DB that is responsible for the colours of a faction and how it works. What I've found is this:


    1. Location

    The necessary columns that affect the colours of all factions are in the factions_table. Here we have a lot of information for all factions, but the important rows here are 18 rows:

    RGB
    R1
    G1
    B1
    (RGB1)

    R2
    G2
    B2
    (RGB2)

    R3
    G3
    B3
    (RGB3)

    R4
    G4
    B4
    (RGB4)

    R5
    G5
    B5
    (RGB5)

    R6
    G6
    B6
    (RGB6)


    As you can see, the colouring in the game follows the RGB format.

    Spoiler Alert, click show to read: 


    2. Use

    After testing these by filling in different colours for the each version, there seem to be pairs among the RGB's.

    Pairs
    RGB1 and RGB2 are responsible for the colours of the faction on the campaign mini map, the armies and navies and the deployment zone border on battle maps.
    Spoiler Alert, click show to read: 




    RGB3 and RGB4 doesn't seem to do anything. I'd apreciate it of someone had more info on these two.

    RGB5 and RGB6 are the colours of the units, both for unit cards and icons and in battle.
    Spoiler Alert, click show to read: 








    I have also discovered that:

    Also Important
    RGB1, RGB3 and RGB5 are for the starting colours of a faction in the campaign and for custom battles.

    RGB2, RGB4 and RGB6 are for when your faction gets a revolution. The revolutionary army that spawns in your home province gets these colours. If you decide to go revolutionary and wins, everything will switch to these colours (except on the campaign mini map.)
    Spoiler Alert, click show to read: 


    Even though this is the basis, you have to know some more:

    If you decide to mod the colours, you must know that you'll have to mod the startpos too.

    Startpos In [CAMPAIGN_ENV/CAMPAIGN_MODEL/WORLD/FACTION_ARRAY/FACTION_ARRAY/FACTION/FACTION_FLAG_AND_COLOURS]
    there are 9 rows with numbers. These are:

    R1
    G1
    B1
    R3
    G3
    B3
    R5
    G5
    B5


    Needs to be edited so your factions doesn't have a lot of colours when the campaign starts.

    The other [FACTION_FLAG_AND_COLOURS] is for the revoltutionary part of your faction.

    R2
    G2
    B2
    R4
    G4
    B4
    R6
    G6
    B6


    Spoiler Alert, click show to read: 


    NOTE: I tested this by altering the colours of Sweden.
    Last edited by Jokern; January 10, 2013 at 11:15 AM.

  2. #2
    General Brewster's Avatar The Flying Dutchman
    Join Date
    Jul 2011
    Location
    Kingdom of The Netherlands
    Posts
    13,988
    Blog Entries
    10

    Default Re: Faction Colours Documentation

    Very nicely done

  3. #3

    Default Re: Faction Colours Documentation

    Awesome! Thank you for this!
    Quote Originally Posted by beckyolt View Post
    So the game sucks because you don't like moving around your screen. Yeah okay.


    Funny G.I.F made by me.

Posting Permissions

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