Posted: Wed Dec 07, 2022 5:17 am Post subject:
Changing Player Colors in Ares Not Working
I got ares on a test mod just to change the colors but when I start ares up the colors that I changed don't appear in the drop down menu and I cannot change the grey color at all.
Both of these I changed to a bluish grey but it still stays dark grey.
LightGrey=146,69,146
Grey=146,69,146
Also what the hell does this mean in the documentation ?
Replace X by the numbers from 1 to Count (without leading zeros) [Colors]Count= (integer)
And there is no SlotX or Slot ID in the rules so what is this talking about ? Last edited by adamstrange on Wed Dec 07, 2022 6:26 am; edited 1 time in total QUICK_EDIT
Also which of the colors in ares work and which don't work because using both R,G,B & H,S,L does not change the menu or in game color to anything that I changed.
I change these 3 green colors, Green, LightGreen and DarkGreen to all have this same apple green color setting that you see in this picture and all using both RGB & HSL and after running the ares.BAT it does nothing
And the Magenta [Pink]definitely does NOT work because I changed that to a dark purple using both RGB & HSL settings and it stays the same pink color.
This is what the third or fourth time trying to explain this to you now..?
The [Colors] section in the rulesmd.ini uses the HSL colour system, normally the H value can be between 0-360 & the S & L values are from 0-100. To use them in RA2 though you need to convert the values to an 8bit range of 0-255. You can use this to convert the H value form 0-360 degrees to 0-100 percent. Now that all three HSL values are 0-100 you can use this converter to change all three values into 0-255 8bit code. To use it copy each of the the 0-100 HSL values into the percent box & then copy the RGB values it gives you into the rules ini.
The game has a total of 19 colours but is hardcoded to only uses 8 of them for the player colours, the others are used for menu text & loading screens etc. Ares adds the ability to double the number of player colours from 8 to 16, to use them you need to add a new [Colors] section to the uimd.ini (& not the rulesmd.ini). The code used in the [Colors] section is all new, you wont find any examples to edit so you'll have to write it all out yourself.
Ares added 6 new default colours, to enable them simply add this to the uimd.ini.
[Colors]
Count=14
If you want to add 2 more or change any of the colours then you'll need to add code for each colour slot in the menu.
SlotX.DisplayColor= This is the colour shown in the skirmish menu screen & uses RGB values.
SlotX.ColorScheme= This is the colour used ingame & links to the colours used in the rules.ini [Colors] section.
SlotX.Tooltip= This the the name that appears when hovering the mouse over the colours in the skirmish menu.
Quote:
Also what the hell does this mean in the documentation ?
Replace the "X" within the SlotX.DisplayColor=, SlotX.ColorScheme= & SlotX.Tooltip= code with a number between 1-16 for each of the colour slots in the menu's colour selector. To try & make it as clear as possible here is an example of how the code in the uimd.ini should be written.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum