Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Wed Apr 24, 2024 11:16 pm
All times are UTC + 0
Custom Colors [solved]
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Ich-Henker
Flamethrower


Joined: 06 Aug 2015
Location: Germany

PostPosted: Fri Dec 25, 2015 4:44 pm    Post subject:  Custom Colors [solved] Reply with quote  Mark this post and the followings unread

I created custom display and ingame colors with the help of Ares [before that with NPatch] but complications began quickly.

In uimd.ini i put the following:

Slot2.DisplayColor=152,170,70
Slot2.ColorScheme=DarkRed
Slot2.Tooltip=NOSTR:Military Green

what happens is that the dropdown color is perfect, but the ingame and map preview color is different: a mixture with whatever values i put in the [colors] section of the rulesmd.ini; even if I put the same from uimd.ini in the colors section... any ideas?

Thank You!

Last edited by Ich-Henker on Fri Dec 25, 2015 6:04 pm; edited 1 time in total

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Fri Dec 25, 2015 5:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

[Colors] section uses HSB, SlotxDislplayColor uses RGB. Difference is this.

You can add colors to [Colors] no need to replace orginal ones.

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Petervda87
Civilian


Joined: 15 Feb 2016

PostPosted: Mon Feb 15, 2016 3:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hello, forgive me i did not wanted to open a new treath.

but i have the same problem.

all colors show up as the colors i want in the dropdown box. but ingame it does not use some colors how can this be?

i also use the RGB color codes like mustapha said. but some colors just turn up grey ingame. not any other color just grey. my blue and black has tis problem for example.

my code is :

Black:

Slot2.DisplayColor=0,0,0
Slot2.ColorScheme=Black
Slot2.Tooltip=STT:PlayerColorBlack

Bleu:

Slot6.DisplayColor=0,0,255
Slot6.ColorScheme=Blue
Slot6.Tooltip=STT:PlayerColorBlue

Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Mon Feb 15, 2016 4:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ingame colors uses the colors under [Colors] of Rulesmd.ini. You can add colors to there. Colors in there uses HSB not RGB. In vanilla YR there is no such colors as Black or Blue at there.

As a side note Black has problem with texts on chat and SW timers i recommend you to use a dark gray like 15,15,15 not real black (0,0,0).

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Petervda87
Civilian


Joined: 15 Feb 2016

PostPosted: Mon Feb 15, 2016 5:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

MustaphaTR wrote:
Ingame colors uses the colors under [Colors] of Rulesmd.ini. You can add colors to there. Colors in there uses HSB not RGB. In vanilla YR there is no such colors as Black or Blue at there.

As a side note Black has problem with texts on chat and SW timers i recommend you to use a dark gray like 18,18,18 not real black (0,0,0).


yes thanks. my "black" ( with 18,18,18 )  is working correctly at slot10 now with this code in the rulesmd.ini : Black=18,18,18 ; 10  MP Black

i also tryed to add a "steel blue"

uimd.ini code :

Slot9.DisplayColor=35,107,142"( RGB)
Slot9.ColorScheme=SteelBlue
Slot9.Tooltip=STT:PlayerColorSteelBlue

rulesmd.ini code for the steelblue :
SteelBlue=200,75,56 ( HSB) ; 9 MP Steel Blue

its give's me another strange gray black strange color ingame but shows the right color in the dropdown box

if i use the RGB color code for steelblue in the rulesmd.ini then the color would be gray/neutral ingame.

i also see on the forums people talk about custom color palette's is it possible i might need to have also a custom color palette?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1497s ][ Queries: 11 (0.0077s) ][ Debug on ]