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 Thu Mar 28, 2024 9:57 pm
All times are UTC + 0
colours issue with ares
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Renu48
Cyborg Soldier


Joined: 11 Nov 2018

PostPosted: Wed Jan 16, 2019 5:26 pm    Post subject:  colours issue with ares Reply with quote  Mark this post and the followings unread

i managed to get the colours into the dropdown menu of the skirmish game and they appeaer right, but once i start the game, they change to white. am i missing something from my code. i added the numbers in display colour as R,G,B order.

the code is in uimd.ini

[Colors]

Count=16

Slot1.DisplayColor=166,0,13
Slot1.ColorScheme=Dark Red
Slot1.Tooltip=stt:darkred

Slot2.DisplayColor=215,0,0
Slot2.ColorScheme=Red
Slot2.Tooltip=stt:red

Slot3.DisplayColor=255,128,0
Slot3.ColorScheme=Orange
Slot3.Tooltip=stt:orange

Slot4.DisplayColor=251,251,0
Slot4.ColorScheme=Yellow
Slot4.Tooltip=stt:yellow

Slot5.DisplayColor=57,132,55
Slot5.ColorScheme=Dark Green
Slot5.Tooltip=stt:darkgreen

Slot6.DisplayColor=0,242,0
Slot6.ColorScheme=Green
Slot6.Tooltip=stt:green

Slot7.DisplayColor=65,243,172
Slot7.ColorScheme=Light Green
Slot7.Tooltip=stt:lightgreen

Slot8.DisplayColor=0,128,192
Slot8.ColorScheme=Blue
Slot8.Tooltip=stt:blue

Slot9.DisplayColor=0,255,255
Slot9.ColorScheme=Cyan
Slot9.Tooltip=stt:cyan

Slot10.DisplayColor=255,0,255
Slot10.ColorScheme=Pink
Slot10.Tooltip=stt:pink

Slot11.DisplayColor=128,0,255
Slot11.ColorScheme=Purple
Slot11.Tooltip=Purple

Slot12.DisplayColor=64,0,128
Slot12.ColorScheme=Dark Purple
Slot12.Tooltip=stt:darkpurple

Slot13.DisplayColor=108,54,0
Slot13.ColorScheme=Brown
Slot13.Tooltip=stt:brown

Slot14.DisplayColor=0,0,0
Slot14.ColorScheme=Black
Slot14.Tooltip=stt:black

Slot15.DisplayColor=139,139,139
Slot15.ColorScheme=Grey
Slot15.Tooltip=stt:grey

Slot16.DisplayColor=255,255,255
Slot16.ColorScheme=White
Slot16.Tooltip=stt:white

Back to top
View user's profile Send private message
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Wed Jan 16, 2019 8:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

SlotX.ColorScheme refers to the [Colors] section in rulesmd.ini. You need to use color names from that list. Generic color names won't always work.

Spoiler (click here to read it):
If you want to expand the color selection list to have the full spectrum, I made a color list with a good number of colors with acceptable overlap.

rulesmd.ini

Code:
[Colors]
;add these after the existing colors
;Color=H16,S16,V16   ;R16,G16,B16
xRed=0,230,210      ;224,13,13
xOrange=21,230,210   ;224,118,13
xYellow=42,230,210   ;224,224,13
xLime=63,230,210   ;118,224,13
xGreen=84,230,210   ;13,224,13
xCyan=112,230,210   ;13,224,154
xBlue=140,230,210   ;13,154,224
xIndigo=168,230,210   ;13,13,224
xViolet=189,230,210   ;118,13,224
xMagenta=210,230,210   ;224,13,224
xPink=231,230,210   ;224,13,118
xSpace=0,0,50      ;51,51,51
xSilver=0,0,200      ;204,204,204   ;Observer


UImd.ini

Code:
[Colors]
Count=12
Slot1.DisplayColor=224,13,13
Slot1.ColorScheme=xRed
Slot1.Tooltip=NOSTR:Red
Slot2.DisplayColor=224,118,13
Slot2.ColorScheme=xOrange
Slot2.Tooltip=NOSTR:Orange
Slot3.DisplayColor=224,224,13
Slot3.ColorScheme=xYellow
Slot3.Tooltip=NOSTR:Yellow
Slot4.DisplayColor=118,224,13
Slot4.ColorScheme=xLime
Slot4.Tooltip=NOSTR:Lime
Slot5.DisplayColor=13,224,13
Slot5.ColorScheme=xGreen
Slot5.Tooltip=NOSTR:Green
Slot6.DisplayColor=13,224,154
Slot6.ColorScheme=xCyan
Slot6.Tooltip=NOSTR:Teal
Slot7.DisplayColor=13,154,224
Slot7.ColorScheme=xBlue
Slot7.Tooltip=NOSTR:Sky Blue
Slot8.DisplayColor=13,13,224
Slot8.ColorScheme=xIndigo
Slot8.Tooltip=NOSTR:Indigo
Slot9.DisplayColor=118,13,224
Slot9.ColorScheme=xViolet
Slot9.Tooltip=NOSTR:Violet
Slot10.DisplayColor=224,13,224
Slot10.ColorScheme=xMagenta
Slot10.Tooltip=NOSTR:Pink
Slot11.DisplayColor=224,13,118
Slot11.ColorScheme=xPink
Slot11.Tooltip=NOSTR:Rose
Slot12.DisplayColor=51,51,51
Slot12.ColorScheme=xSpace
Slot12.Tooltip=NOSTR:Dark
Observer.DisplayColor=204,204,204
Observer.ColorScheme=xSilver
Observer.Tooltip=NOSTR:Silver

Back to top
View user's profile Send private message
Renu48
Cyborg Soldier


Joined: 11 Nov 2018

PostPosted: Wed Jan 16, 2019 8:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok but wouldnt that stop me from getting my own custom colors due to colors schemes already having a set hsv values.

I have also just tried creating my own color scheme but it hasnt seemed to have not changed a thing



DarkRed=252,255,166                                                           ; 1 MP Dark Red
Red=0,255,215                                                                 ; 2 MP Red
Orange=22,255,255                                                             ; 3 MP Orange
Yellow=42,255,251                                                             ; 4 MP Yellow
DarkGreen=84,149,132                                                          ; 5 MP Dark Green
Green=85,255,242                                                              ; 6 MP Green
LightGreen=76,187,243                                                         ; 7 MP Light Green
Blue=142,255,192                                                              ; 8 MP Blue
Cyan=128,255,255                                                              ; 9 MP Cyan
Pink=213,255,255                                                              ; 10 MP Pink
Purple=192,255,255                                                            ; 11 MP Purple
DarkPurple=192,255,128                                                        ; 12 MP Dark Purple
Brown=22,255,108                                                              ; 13 MP Brown
Black=0,0,0                                                                   ; 14 MP Black
Grey=0,0,139                                                                  ; 15 MP Grey
White=0,0,255                                                                 ; 16 MP White

Back to top
View user's profile Send private message
m7
Commander


Joined: 17 Apr 2009

PostPosted: Thu Jan 17, 2019 12:13 am    Post subject: Reply with quote  Mark this post and the followings unread

The spaces in your uimd.ini code are incorrect, there is no such color as "Light Green" but instead "LightGreen" so those colors would not work correctly.

Back to top
View user's profile Send private message
silverwind
Cyborg Firebomber


Joined: 11 Jun 2016

PostPosted: Thu Jan 17, 2019 5:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Try using the code in spoilers of my previous post. That was a working set I used that covers the entire spectrum without overlapping too much.

Back to top
View user's profile Send private message
Renu48
Cyborg Soldier


Joined: 11 Nov 2018

PostPosted: Thu Jan 17, 2019 3:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you all for the help i managed to get it sorted and it did come down to the spaces in the slotx.schemecolor. i matched the scheme colour word for word and it seemed to have worked

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 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.0084s) ][ Debug on ]