:: 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 Fri Dec 02, 2022 9:52 am
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 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Stealth Laser 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:  633 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:  633 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
Stealth Laser 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:  526 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:  526 Time(s)

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



Back to top
View user's profile Send private message
adamstrange
Stealth Laser 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:  519 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
Overmind
Grenadier


Joined: 05 May 2022

PostPosted: Thu Jul 07, 2022 11:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Which ones from the [color] section are the multiplayer ones?

From the actual rules notes I assume it's 5 to 11 and 16 (the yellow). is that correct ?

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


Joined: 07 Mar 2013

PostPosted: Wed Nov 16, 2022 6:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
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.
I can't do that since i don't know anything about making voxels.

But what I discovered was that the unmodded game does not use RGB, HSL, HSV or CMYK because I used a RGB Convertor and nether one works so the games some weird system.

I have games that came out the same time as this one and I can change those colors with no problems.


2022-11-16_010947.png
 Description:
 Filesize:  7.95 KB
 Viewed:  129 Time(s)

2022-11-16_010947.png



Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Nov 16, 2022 7:56 am    Post subject: Reply with quote  Mark this post and the followings unread

The game uses HSV but the S & V numbers are converted from a percentage to 8bit code, so 100% is 255, 50% is 128 & 25% 64 etc.

Note that Ares expanded the color system & changed it to RGB to simplify things.
_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
adamstrange
Stealth Laser Trooper


Joined: 07 Mar 2013

PostPosted: Wed Nov 16, 2022 9:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Mig
I will give ares another try.

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