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

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Mon Jul 04, 2022 3:33 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
YR Player Color Totally Broken
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Missile Trooper


Joined: 07 Mar 2013

PostPosted: Sat Jun 18, 2022 3:33 am    Post subject:  YR Player Color Totally Broken Reply with quote  Mark this post and the followings unread

Why is the game reading the wrong RGB color settings ?
I'm using MS Paint to pick the new colors and never had this problem with Generals or KW.

Whatever RGB color I picked, that was the exact player color that would appear in those games.


APPLE GREEN INSTEAD OF BLUE.png
 Description:
I went to change the blue player color a bit lighter, so I used this,
DarkBlue=55,153,234
But instead I get this really cool Apple Green.
 Filesize:  281.67 KB
 Viewed:  190 Time(s)

APPLE GREEN INSTEAD OF BLUE.png



John Deere Tractor Green.png
 Description:
So then I go over to change the Red to a slightly different shade of light blue, DarkRed=86,156,233

But I now get this bright John Deere Tractor Green.
 Filesize:  147.15 KB
 Viewed:  190 Time(s)

John Deere Tractor Green.png



Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat Jun 18, 2022 3:46 am    Post subject: Reply with quote  Mark this post and the followings unread

It uses HSL not RGB.
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Tue Jun 21, 2022 2:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

You've been told this several times before lol...
_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
adamstrange
Missile Trooper


Joined: 07 Mar 2013

PostPosted: Tue Jun 28, 2022 4:06 am    Post subject: Reply with quote  Mark this post and the followings unread

If I have been told, I don't remember.


2022-06-27_235027.png
 Description:
It still doesn't work because I used the HSL settings to get this light purple color only to get this dark purple color.
 Filesize:  552.76 KB
 Viewed:  83 Time(s)

2022-06-27_235027.png



gamemd 2022-06-27 23-30-59-92.png
 Description:
And the same settings in RGB produces this.
So what is the correct system to get the exact color ?
 Filesize:  225.78 KB
 Viewed:  83 Time(s)

gamemd 2022-06-27 23-30-59-92.png



Back to top
View user's profile Send private message
adamstrange
Missile Trooper


Joined: 07 Mar 2013

PostPosted: Tue Jun 28, 2022 5:08 am    Post subject:   Reply with quote  Mark this post and the followings unread

Found this RGB to HSL converter to change the yellow and this is the result of using HSL


2022-06-28_005741.png
 Description:
 Filesize:  249.75 KB
 Viewed:  76 Time(s)

2022-06-28_005741.png



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


Joined: 11 Jun 2016

PostPosted: Wed Jun 29, 2022 9:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Umm, the [Colors] section uses HSV, not HSL.

V=255 represents the the color (decided by H and S), when 'shone upon' by a bright light.
L=255 is white, regardless of H and S.

Back to the [Colors] section; Use a _Value_ like 210 to get a very good remap range that's colorful, but not too bright. You can use the same value for all your remaps, unless you want shades of grey.

Example: use the template Color = H,255,210;
Cycling through H = H + 21 will give you 11 different colors that don't overlap too much.
H = H+32 will give you 8.

Color = 0,0,V; will give you shades of grey based on V.

Hope this helps.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Fri Jul 01, 2022 2:05 am    Post subject: Reply with quote  Mark this post and the followings unread

It doesn't use percentage, it uses 0-255 values, but otherwise operates the same. Just like voxel direction on a map is not in degrees.

Adam your colour as you defined it will be modified by the remap shade on the artwork. they added this to allow darkening your colour for the purposes of shading.

Rather than obsessing over the numbers, perhaps you need to spend time examining, making and testing voxels with various remap shades, and seeing how they darken when rotating.
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
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.1427s ][ Queries: 18 (0.0134s) ][ Debug on ]