Basically, I'm trying to add custom races. The UI seems okay after adding the 200 line Assets.txt (as I have no idea which of those I actually need, I copied everything with a race identifier), but the command card buttons and the outlines of the weapon and armor displays are still blue. I can't tell if it's a default "Bnet blue" or the Protoss one, especially since some things default to the Terran UI, but the button borders default to Protoss.
In addition to the Assets.txt I've gone through several other files in Base.SC2Data, again copying all lines with a race identifier and importing the files into my map. The files so far are FontStyles.SC2Style, StandardConstants.SC2Layout and StandardFilePanel.SC2Layout, which actually fixed a few other tidbits here and there (the color of tooltip texts mainly). The buttons are STILL BLUE!!!
So, does anyone happen to know the location of this color value? I think I've exhausted all files in Base.SC2Data, but since those files start out with 1500 lines it's not exactly hard to miss a line or two.
Also could someone please explain why setting the Attribute Id field in the Races data tab to an existing preset (Prot/Terr/Zerg) doesn't bring up that race's default UI specs? In fact, that field seems to do nothing.
You mean the Minimap Border Color? Yeah. a) It's set to green, my buttons are blue b) I changed it and it does affect the minimap, but nothing else. I've also checked Glossary Team Color, which does exactly what it says on the tin.
Or is there another color field and my map/editor is bugged?
Well, I think I might at least have discovered the problem: The respective files in the Mods might be outdated. Now all I have to do is go through all patch archives and find the up-to-date versions. Great. Plus this will have to be updated manually whenever a new patch changes something.
If anyone could beat me to automating this (or attacking Blizzard offices with a chainsaw) I'd be very grateful.
Edit: Well, using the most recent patch didn't fix it, but it caused a new error to appear due to the FontStyles file. No idea why that happened, and the errors vanish if I include some of the default lines.
Edit2: Seems StandardConstants isn't even loaded when I import a modified version.
Basically, I'm trying to add custom races. The UI seems okay after adding the 200 line Assets.txt (as I have no idea which of those I actually need, I copied everything with a race identifier), but the command card buttons and the outlines of the weapon and armor displays are still blue. I can't tell if it's a default "Bnet blue" or the Protoss one, especially since some things default to the Terran UI, but the button borders default to Protoss.
In addition to the Assets.txt I've gone through several other files in Base.SC2Data, again copying all lines with a race identifier and importing the files into my map. The files so far are FontStyles.SC2Style, StandardConstants.SC2Layout and StandardFilePanel.SC2Layout, which actually fixed a few other tidbits here and there (the color of tooltip texts mainly). The buttons are STILL BLUE!!!
So, does anyone happen to know the location of this color value? I think I've exhausted all files in Base.SC2Data, but since those files start out with 1500 lines it's not exactly hard to miss a line or two.
Also could someone please explain why setting the Attribute Id field in the Races data tab to an existing preset (Prot/Terr/Zerg) doesn't bring up that race's default UI specs? In fact, that field seems to do nothing.
@Photoloss: Go Have you tried the color field in the Race data tab?
You mean the Minimap Border Color? Yeah. a) It's set to green, my buttons are blue b) I changed it and it does affect the minimap, but nothing else. I've also checked Glossary Team Color, which does exactly what it says on the tin.
Or is there another color field and my map/editor is bugged?
@Photoloss: Go It's been so long I tried to add a race I think I don't remember it clearly. I don't remember how far I went with the UI.
Well, I think I might at least have discovered the problem: The respective files in the Mods might be outdated. Now all I have to do is go through all patch archives and find the up-to-date versions. Great. Plus this will have to be updated manually whenever a new patch changes something.
If anyone could beat me to automating this (or attacking Blizzard offices with a chainsaw) I'd be very grateful.
Edit: Well, using the most recent patch didn't fix it, but it caused a new error to appear due to the FontStyles file. No idea why that happened, and the errors vanish if I include some of the default lines.
Edit2: Seems StandardConstants isn't even loaded when I import a modified version.