Jump to content
Sign in to follow this  
The_Oakster

Colours

Recommended Posts

When setting up titles using rsc etc etc, the colour is defined by the 4 numbers (0,0,0,0)

What do these numbers represent and is there a way to test them rather than editing the description.ext and reloading the mission each time.

I have tried the figures for colour ranges like RGB, CMYK and HSL but none of them represent the colour that OFp shows.

Has anyone got a list of the standard colours? rock.gif

Share this post


Link to post
Share on other sites

red drive, green drive, blue drive, alpha

nope no other way as far as i know ;)

Share this post


Link to post
Share on other sites

So if it goes RGB then why doesn't using the RGB values from Paint work rock.gifcrazy_o.gif hmmmm....

What are the expected values for each one, is it 0 - 1 like most other parts of the game, or 0 - 10 etc?

I understand that (1,0,0,1) would be red, and (0,1,0,1) would be green and (0,0,1,1) would be blue. But would (0,0,2,1) be more blue rock.gif

Share this post


Link to post
Share on other sites

the rgb values from paint DO work, you just have to divide them by 255

Share this post


Link to post
Share on other sites

Thank you very much!!

biggrin_o.gif

==== Edit ====

Works perfectly!! And I dont need to keep loading the mission to check the colour!!

Share this post


Link to post
Share on other sites

look in OFPEC for a little program call Numbers 2 Colors.

The numbers in the script only range from 0 -> 1 so u will have to make them for example , If the program gives u the number 224 make it 0.224.

Share this post


Link to post
Share on other sites

Thanks for the heads up but your explanation is incorrect. tounge_o.gif

You still have to work out the percentage of the colours given. So if it did say 224 you would still have to divide it by 255 so the colour would be 0.87.

Anyway it is a good program as it saves having to open paint and go to colours etc etc.

Cheers biggrin_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×