The_Oakster 0 Posted July 29, 2004 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? Share this post Link to post Share on other sites
nephilim 0 Posted July 29, 2004 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
The_Oakster 0 Posted July 29, 2004 So if it goes RGB then why doesn't using the RGB values from Paint work 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 Share this post Link to post Share on other sites
korax 4 Posted July 29, 2004 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
The_Oakster 0 Posted July 29, 2004 Thank you very much!! ==== 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
Junker 0 Posted July 30, 2004 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
The_Oakster 0 Posted July 30, 2004 Thanks for the heads up but your explanation is incorrect. 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 Share this post Link to post Share on other sites