Age of Mythology: Extended Edition

Age of Mythology: Extended Edition

103 ratings
Modding Player Colours
By WarriorMario
A quick guide to changing your player colour. Multiplayer compatible!
   
Award
Favorite
Favorited
Unfavorite
Introduction
I just released a player colour mod and I already got a few comments with request. I think it would be quite lame to make a mod for every person that wants a different player colour so that's why I wrote this guide.
Changing Player Colours
First thing you have to do is to find the playercolors.xml in your AoM:EE Folder. Mine is located here:
C:\Program Files (x86)\Steam\steamapps\common\Age of Mythology\data
Open it with a text editor and you will see a few lines of code and the first colour is defined like this:
<player num="0" color1="153 102 0" color2="153 102 0" color3="77 51 0"></player>
This is the "Gaia" player colour or "Mother Nature" The other player colours are the player number 1-12.

If you want to change a player's colour just change the values of the colours defined here.
Now this line of code has 3 colours that are defined in RGB. Every colour has it's own purpose.

Colour 1:
This is the player colour most people see as "The player colour" but it is slightly more complicated than this. This is the player colour of units that are alive. This is not completely true but I think most of you do not need to know more than this.

Colour 2:
This is the player colour on the minimap. Again this is not completely true but you just don't need to know more for now.

Colour 3:
This is the player colour everyone sees but noone notices. When a unit dies it's player colour becomes slightly darker. Thats defined here. Again this is not completely true but it should work just fine for you because you probably did not even know this existed.
RGB System
For the people that are completely new to the RGB System. RGB stands for Red Green Blue and needs a value between 0-255 for each colour. For example 255 0 0 would be Red, 0 255 0 Green and 0 0 255 Blue. For more examples check this[www.rapidtables.com] out!
28 Comments
High Lord Laughter of Canada 27 Mar, 2023 @ 6:04pm 
Everyone just ignoring that Canada also spells it as "Colour" :steamsad:
Sausage 23 Oct, 2022 @ 9:19pm 
[SMACK] hahaha
RealPeterM 10 Jun, 2021 @ 1:53am 
@Nin-Sama Colour is the correct SPELLING in British English. And Americans write it as Color
Nin-Sama 16 Oct, 2019 @ 2:06am 
@samaritan I know it's been over 2 years since you made that comment, but how frickin dense are you LOLOL. "colour" is the correct pronounciation in "british english". In american english people say colour.
Gene-tikkx 24 Jan, 2018 @ 1:34pm 
I changed the color of everyone based on the RGB, i made cool colors and now everyone is white, no one has a color and i dont know why...?
Mr. Eberrich 15 Feb, 2017 @ 10:25pm 
Samaritan, u british??
Samaritan 14 Jan, 2017 @ 10:01am 
Just so you know, color is spelled without a "u".
lmargeno 6 Nov, 2016 @ 9:37am 
So I changed my color to red. 255 0 0, 255 0 0, etc. I now want to change my color to black, but I can no longer edit the playercolors xml file. Why can I no longer edit the file?
[DoD]Mirez 5 Mar, 2016 @ 9:12am 
Hi, I've noticed that the shades of blue and red are slightly different when you enable friend or foe colours. Is there any way to edit those? right now it's player blue, allies yellow, enemies red. I'd prefer player green, allies blue, enemies red.
Nuts 20 Feb, 2016 @ 7:22am 
so do i just like swap the numbers and the codes?