Forums Index >> Modding >> Calculating Emitter/Fog Color



Page : <1> :


Err...

Ok I was just forum browsing and found a few questions involving fog/emitter color. I decided I would just clear this mess up for you people.

The colors are measured on a scale from 1 to 0 making it so you wouldnt be able to use say Photoshop to find out what the colors are.

The solution: To make your 256 number into a number TGE likes multiply the individual numbers by 0.00390625 ( use a calculator duh ) to get the numbers that you need.

Ive tested this, although im not sure that its foolproof its pretty accurate to my experiance.

~jaj jr~

Last edited: Monday, August 02, 2004 at 10:44:24 PM

Monday, August 02, 2004 at 9:09:52 PM

Hehe, no, if you want to get the TT's numbers from a 0 - 255 scale, divide the number by 255.

Monday, August 02, 2004 at 9:38:35 PM

?? Nathan, for 1 its 25 6 and that wont work. Its called multiply-ing ( never could spell that ) im talking about making a 25 6 number into a 1 - 0 scale number.

Monday, August 02, 2004 at 9:42:30 PM

Hehe, you made an error in your first post, it makes sence now.
They call it a 256 scale, but because 0 isn't counted, it's technically 255. Anyway, both of our ways work, my way, you just need to round it off some. ;)

Monday, August 02, 2004 at 11:54:12 PM

Ahem Nate...
http://supra.planetthinktanks2.com/archives/comm-thread.asp?thread=3223&forum=2

Last edited: Tuesday, August 03, 2004 at 11:22:21 PM

Tuesday, August 03, 2004 at 11:19:56 PM

Oh ya, forgot you were the one who told me that. Lol. Sorry. Kudos to monkeyman.

Wednesday, August 04, 2004 at 1:03:54 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald