Nitram15
Aug 01, 2011, 09:49 AM
I've been creating mods for a while, and always stuck at the color editing.
I know how to create colors, add them to the game etc. but can't get the EXACT color I want.
Probably you don't understand me yet. I mean the colors in civ 4 are not the same RGB values than (ex.) Gimp RGB, the Civ 4 ones are Float values.
Now I have tons of values I want to implant, but all of them are in 0-255 format (tipycal RGB format).
For example I have:
R 9
G 79
B 150
then how can I calculate it to Civ 4 float format?
I know how to create colors, add them to the game etc. but can't get the EXACT color I want.
Probably you don't understand me yet. I mean the colors in civ 4 are not the same RGB values than (ex.) Gimp RGB, the Civ 4 ones are Float values.
Now I have tons of values I want to implant, but all of them are in 0-255 format (tipycal RGB format).
For example I have:
R 9
G 79
B 150
then how can I calculate it to Civ 4 float format?