Hi!
I'm playing a BTS scenario on a mod, but I'm not satisfied with the player colors. I know how to change them in the scenario file, but given the rather small amount of existing color schemes in the base game, I decided I want to make my very own player colors. I've kind of figured out what to do by searching the internet and just browsing the files in CIV IV folders. But I haven't done any modding before so I just want to make sure I've understood everything correctly and this is the safest and easiest way to do it. And that I don't break anything...
-----------------------------------------------------------------------------------
Here we go...
1. Copy over CIV4PlayerColorInfos.xml and CIV4ColorVals.xml from ...\Beyond the Sword\Assets\XML\Interface\ to ...\Beyond the Sword\Mods\blahblah\Assets\XML\Interface\. The mod doesn't have those files already.
2. Edit the the new copied CIV4ColorVals.xml in Notepad++ or similar. Make new colors by adding new lines somewhere between <ColorVals> and </ColorVals> tags, and not mess the existing <ColorVal> and </ColorVal> tags and stuff between them. Template:
3. Edit the the new copied CIV4PlayerColorInfos.xml in Notepad++ or similar. Make new color schemes by adding new lines somewhere between <PlayerColorInfos> and </PlayerColorInfos> tags, and not mess the existing <PlayerColorInfo> and </PlayerColorInfo> tags and stuff between them. Template:
4. Edit the scenario file in Notepad++ or similar. The corresponding player's color scheme can be set between BeginPlayer and EndPlayer lines:
Do this for every player you want to change.
-----------------------------------------------------------------------------------
Any comments? I just wanted to keep this simple, so I left out the scenario and mod I'm playing. I guess they don't affect this thing I'm doing.
Also, on the initial test, I ended up with results where two separate Civs had no visible borders. How can I prevent that?
I'm playing a BTS scenario on a mod, but I'm not satisfied with the player colors. I know how to change them in the scenario file, but given the rather small amount of existing color schemes in the base game, I decided I want to make my very own player colors. I've kind of figured out what to do by searching the internet and just browsing the files in CIV IV folders. But I haven't done any modding before so I just want to make sure I've understood everything correctly and this is the safest and easiest way to do it. And that I don't break anything...
-----------------------------------------------------------------------------------
Here we go...
1. Copy over CIV4PlayerColorInfos.xml and CIV4ColorVals.xml from ...\Beyond the Sword\Assets\XML\Interface\ to ...\Beyond the Sword\Mods\blahblah\Assets\XML\Interface\. The mod doesn't have those files already.
2. Edit the the new copied CIV4ColorVals.xml in Notepad++ or similar. Make new colors by adding new lines somewhere between <ColorVals> and </ColorVals> tags, and not mess the existing <ColorVal> and </ColorVal> tags and stuff between them. Template:
Code:
<ColorVal>
<Type>"name of the colour"</Type>
<fRed>"red value 0-1"</fRed>
<fGreen>"green value 0-1"</fGreen>
<fBlue>"red value 0-1"</fBlue>
<fAlpha>"Alpha value, best left to 1.00"</fAlpha>
</ColorVal>
3. Edit the the new copied CIV4PlayerColorInfos.xml in Notepad++ or similar. Make new color schemes by adding new lines somewhere between <PlayerColorInfos> and </PlayerColorInfos> tags, and not mess the existing <PlayerColorInfo> and </PlayerColorInfo> tags and stuff between them. Template:
Code:
<PlayerColorInfo>
<Type>"name of the color scheme"</Type>
<ColorTypePrimary>"name of the primary color from the previously edited file"</ColorTypePrimary>
<ColorTypeSecondary>"name of the secondary color from the previously edited file"</ColorTypeSecondary>
<TextColorType>"name of the color for texts on scoreboard and so on from the previously edited file"</TextColorType>
</PlayerColorInfo>
4. Edit the scenario file in Notepad++ or similar. The corresponding player's color scheme can be set between BeginPlayer and EndPlayer lines:
Code:
Color="name of the color scheme from the previously edited file"
-----------------------------------------------------------------------------------
Any comments? I just wanted to keep this simple, so I left out the scenario and mod I'm playing. I guess they don't affect this thing I'm doing.
Also, on the initial test, I ended up with results where two separate Civs had no visible borders. How can I prevent that?