I am creating a new race in StarCraft II and would like to adapt the UI to it. I managed to change the whole UI appearence except the command card buttons whose color remains protoss blue no matter what I try to change this. Has anyone any idea how to tint those buttons green (or in any other color)?
@Sanktoras: Go There is a file called Assets.txt that controls which files are used for UI. In this file you can set the 'neutral' ui elements, whic are used when a race isn't one of the standard 3. You can also add new entries for your race, using the abbreviation you set in the Race data tab.
Thanks for your reply. I know the Assets.txt and I have already created new entries for my race in there. This works fine in many places, e. g. dialog borders, ressource icons, minimap buttons. Similarly I added new font styles for my race. I also found an SC2Layout file full of color constants in UI/Common and changed them accordingly. Now everything works perfectly well, except for those damn (sorry for the swearword) command card buttons. They remain blue whatever I try ...
BTW, I think this post belongs to the UI section, not to triggers. Not sure what was in my mind when I put it here ... Sorry for that.
@Sanktoras: Go If adding your race doesn't work try changing the files used by the neutral entries. I know its possible to add buttons for new races because I've done it before, but changing the neutral entries may be faster and simpler.
I don't want to override the "neutral" buttons, as I intend to add other races later on.
So it seems that there is no list/file/option where I can just register the command card color for my race? This is strange, as I could find every other race-dependend UI option either in Assets.txt, FontStyles.SC2Style or the SC2Layout files.
@Sanktoras: Go Of course there is... Here, I had to go and fetch it for you, the file I used to modify UI for a new race. Race abbreviations use Xel (for XelNaga) but you can change it to what you need.
Oh my god, I missed the fact that there is another Assets.txt in Mods/Liberty.SC2Mod (FAIL!!), I just used the data in Core.SC2Mod. Thank you very much, SoulFilcher!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
I am creating a new race in StarCraft II and would like to adapt the UI to it. I managed to change the whole UI appearence except the command card buttons whose color remains protoss blue no matter what I try to change this. Has anyone any idea how to tint those buttons green (or in any other color)?
@Sanktoras: Go There is a file called Assets.txt that controls which files are used for UI. In this file you can set the 'neutral' ui elements, whic are used when a race isn't one of the standard 3. You can also add new entries for your race, using the abbreviation you set in the Race data tab.
@SoulFilcher: Go
Thanks for your reply. I know the Assets.txt and I have already created new entries for my race in there. This works fine in many places, e. g. dialog borders, ressource icons, minimap buttons. Similarly I added new font styles for my race. I also found an SC2Layout file full of color constants in UI/Common and changed them accordingly. Now everything works perfectly well, except for those damn (sorry for the swearword) command card buttons. They remain blue whatever I try ...
BTW, I think this post belongs to the UI section, not to triggers. Not sure what was in my mind when I put it here ... Sorry for that.
@Sanktoras: Go If adding your race doesn't work try changing the files used by the neutral entries. I know its possible to add buttons for new races because I've done it before, but changing the neutral entries may be faster and simpler.
@Sanktoras: Go
you could just export them and photoshop them then import them back in if that doesn't work
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Bilxor: Go I'm not sure that's an option. If I remember it right neutral uses protoss files for command buttons, so that could override protoss too.
Hookup a panel from standard items called what ever the path is for the command card panel, then just change it;s color.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
I've thought about this one, but it seems like hacking to me, so I'd rather find another solution.
@SoulFilcher: Go
I don't want to override the "neutral" buttons, as I intend to add other races later on.
So it seems that there is no list/file/option where I can just register the command card color for my race? This is strange, as I could find every other race-dependend UI option either in Assets.txt, FontStyles.SC2Style or the SC2Layout files.
@Sanktoras: Go Of course there is... Here, I had to go and fetch it for you, the file I used to modify UI for a new race. Race abbreviations use Xel (for XelNaga) but you can change it to what you need.
Oh my god, I missed the fact that there is another Assets.txt in Mods/Liberty.SC2Mod (FAIL!!), I just used the data in Core.SC2Mod. Thank you very much, SoulFilcher!