Forums Index >> Modding >> Calculating Emitter/Fog Color
Page : <1> :
Hehe, no, if you want to get the TT's numbers from a 0 - 255 scale, divide the number by 255.
?? 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.
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. ;)
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
Oh ya, forgot you were the one who told me that. Lol. Sorry. Kudos to monkeyman.
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