OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: waldo on 08 Oct 2002, 22:39:43
-
what are all the colors and their numbers? example in cpp: tracerColor[]={0.000000,0.000000,1.200000,2.400000};
tracerColorR[]={1,0,0,5.050000}; (this is no color:( im looking for red. And whats the diference between tracerColor & tracerColorR?
-
Try asking some one from the Taiwan Workshop, one of the Old SAWs had Red Tracers, then they Upgraded it >:( Oh well ;)
-
Its based on an RGB palette I think. 256 being he highest value you can set which makes a difference.
I think the way it works is
Red Green Blue ??
[]={0.000000,0.000000,1.200000,2.400000};
By mixing values of the various types. You can create other funky colors (pink tracers anyone?). It might not be in that particular order {R,G,B,?}. It may however. Fiddle around with them and see what you come up with.
-
Its RGBA format(red,green,blue,alpha). Alpha makes the tracers transparent :o useful for silenced weapons. Im pretty sure it only has a rating of 0 - 1... if you are 1 or over the bullet tracer is totally invisible!