Page 1 of 2 12 LastLast
Results 1 to 20 of 27

Thread: where are the faction colours? (for the units)

  1. #1
    Ftmch's Avatar Senator
    Join Date
    Mar 2008
    Location
    Sweden
    Posts
    1,229

    Default where are the faction colours? (for the units)

    Well, I wanted to edit the faction colours, without having to add it to every single unit texture, it seems like the colors are in a separate file and are applied to the units ingame? (since the textures are white where the colour should be). Does anyone know how to find these faction colour-textures?

  2. #2

    Default Re: where are the faction colours? (for the units)

    Hi,

    Im not realy sure, but i assume its in the factions_tables

    There are colums called R1 G1 B1 - R6 G6 B6

    I assume this are the color codes for the factions, but im not sure whats the differents between the 6 RGB´s are.

  3. #3
    Ftmch's Avatar Senator
    Join Date
    Mar 2008
    Location
    Sweden
    Posts
    1,229

    Default Re: where are the faction colours? (for the units)

    Quote Originally Posted by Steinig View Post
    Hi,

    Im not realy sure, but i assume its in the factions_tables

    There are colums called R1 G1 B1 - R6 G6 B6

    I assume this are the color codes for the factions, but im not sure whats the differents between the 6 RGB´s are.
    Ah, so it's not just a textures? That's a bit annoying, oh well. Thanks though!

  4. #4

    Default Re: where are the faction colours? (for the units)

    As i said im not realy sure, so please dont take my writing as strict fact.

    But if its true that this codes are the color codes it should be much easier to alter them as alter a texture.

    Just use the package manager to open the main.pack, alter the codes in your opinion, save the pack as a new mod.pack and thats it.

  5. #5
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: where are the faction colours? (for the units)

    There are R, G, B for 6 sections. I'd reckon the 1st and 2nd are for the campaign map primary and secondary faction colours as in previous TWs. So probably the last 4 has got something to do with the skin textures? Anyone tried testing it out?
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  6. #6
    Miles
    Join Date
    Mar 2009
    Location
    Lille, France
    Posts
    325

    Default Re: where are the faction colours? (for the units)

    The RGB from the faction tab are the ones ruling faction color in game.
    (from UI to battle map). There's an alpha channel in the gloss map that works like a mask for faction color.
    Edit, you can read the textures tutorial and the posts that follow where all this has been discovered (see the sticky thread).

  7. #7

    Default Re: where are the faction colours? (for the units)

    Not yet, the only thing i have done is to translate the assumed colors for austria and you seem to be right about the 1st and 2nd color.

  8. #8
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: where are the faction colours? (for the units)

    So that leaves the 4 colours. RGB 3,4,5 and 6.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  9. #9
    Miles
    Join Date
    Mar 2009
    Location
    Lille, France
    Posts
    325

    Default Re: where are the faction colours? (for the units)

    This isn't the two last either (if I remember correctly), since a lot of factions seems to share them.

  10. #10
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: where are the faction colours? (for the units)

    Then that narrows it down to 3 and 4. I'll go try it out.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  11. #11
    Ftmch's Avatar Senator
    Join Date
    Mar 2008
    Location
    Sweden
    Posts
    1,229

    Default Re: where are the faction colours? (for the units)

    Quote Originally Posted by MrThib View Post
    The RGB from the faction tab are the ones ruling faction color in game.
    (from UI to battle map). There's an alpha channel in the gloss map that works like a mask for faction color.
    Edit, you can read the textures tutorial and the posts that follow where all this has been discovered (see the sticky thread).
    Yeah, I know about those gloss-files, but there aren't unique gloss-files for every unit/nation, so that can't be where you change the colour itself. :/

  12. #12
    Miles
    Join Date
    Mar 2009
    Location
    Lille, France
    Posts
    325

    Default Re: where are the faction colours? (for the units)

    No, like it has been said in this post, the factions color comes from the db files.
    The gloss map alpha act like a mask for wich part has to be recolored.
    And actually the game works like this considering texture:
    I need a euro_lineinfantry texture for venice:
    So I look for euro_lineinfantry_venice. If there's no such texture it will use the default one euro_lineinfantry.
    What that meens is that you can create your own specific euro_lineinfantry_venice textures and the game will use them.

  13. #13
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: where are the faction colours? (for the units)

    Nope, I tested it out, the RGB colours doesn't seem to relate to the unit textures. Only the campaign map colour will change, that's all.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  14. #14
    Miles
    Join Date
    Mar 2009
    Location
    Lille, France
    Posts
    325

    Default Re: where are the faction colours? (for the units)

    Try copying the whole rgb value from one faction to anothe and you'll see that's works.
    I was perhaps wrong about the two last RGB through, I not sure about those.

  15. #15
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: where are the faction colours? (for the units)

    Quote Originally Posted by MrThib View Post
    Try copying the whole rgb value from one faction to anothe and you'll see that's works.
    I was perhaps wrong about the two last RGB through, I not sure about those.
    I tried changing the values one by one to match another faction but it didn't work. Which RGB sections do I use? There are 6, the 1st and 2nd of which I'm quite certain is used for campaign faction colours.
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  16. #16
    Miles
    Join Date
    Mar 2009
    Location
    Lille, France
    Posts
    325

    Default Re: where are the faction colours? (for the units)

    Try changing them all first, then see if it works.
    What file are you working on BTW?

  17. #17
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: where are the faction colours? (for the units)

    Quote Originally Posted by MrThib View Post
    Try changing them all first, then see if it works.
    What file are you working on BTW?
    Right my apologies. It does work, on other nations except the playable ones. I attempted to change the unit colours of italian states to that of westphalia and it worked, but when I tried it on USA, the changes didn't apply. Am I doing something wrongly?
    Baird: "Hey! Stop shooting it, you're pissing it off!"

    Cole: "You're telling me what not to shoot in here? Look at this ****!"
    _____________
    Carmine: "Landown? I heard there's a ****load of grubs down there..."

    Marcus: "More like 10 ****loads"
    _____________
    Dom: "Marcus, ya ever seen them feed on imulsion?"

    Marcus: "Hmph, they can eat **** and die for all I care..."

  18. #18
    Miles
    Join Date
    Mar 2009
    Location
    Lille, France
    Posts
    325

    Default Re: where are the faction colours? (for the units)

    Are you using some mods? If yes they may be overwriting your modifs.
    But what file are you modding?

  19. #19

    Default Re: where are the faction colours? (for the units)

    http://www.twcenter.net/forums/showt...20#post4699420
    In the startpos.esf are 6 more colors per faction, I suspect those are for the campaign map. I'm nearly done with an editor for those files.
    Last edited by just; March 24, 2009 at 12:04 PM.

  20. #20

    Default Re: where are the faction colours? (for the units)

    The R5, B5, and G5 colors in factions_tables control unit colors in combat. I am 110% certain.

    They all, in fact, relate to combat mode rather than campaign mode, with the exception of RGB1, which controls your map color. RGB2 controls the color used for unit mouseovers in battle mode, and the rest do other things related to battle mode.

    So you're looking for 5. I'm positive about that, because I have changed it many times.

    That thread that just linked above contains more info about that.

Page 1 of 2 12 LastLast

Posting Permissions

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