Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: tracer colors?  (Read 2117 times)

0 Members and 1 Guest are viewing this topic.

waldo

  • Guest
tracer colors?
« 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?

PunkerSXDX

  • Guest
Re:tracer colors?
« Reply #1 on: 09 Oct 2002, 01:10:08 »
Try asking some one from the Taiwan Workshop, one of the Old SAWs had Red Tracers, then they Upgraded it >:( Oh well ;)

Baphomet

  • Guest
Re:tracer colors?
« Reply #2 on: 09 Oct 2002, 05:15:10 »



     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.


Bobcat

  • Guest
Re:tracer colors?
« Reply #3 on: 09 Oct 2002, 09:09:34 »
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!