XPETIT 0 Posted March 25, 2004 Hi, I would like to know what is the signification about the four number in the tracercolor command? Because I'm finishing Redwolf chopper and I want to use it to generate a red light... Thank's for your help. Xavier. Share this post Link to post Share on other sites
Canukausiuka 1 Posted March 25, 2004 I believe its just a color array. You know, {red, green, blue, alpha}, all on a scale from 0 (dark & transparent) to 1 (bright and solid). Hope that helps Share this post Link to post Share on other sites
m21man 0 Posted March 25, 2004 There's a nifty little tool that generates the RGB numbers for you. I'd recommend searching the OFPEC Editor's Depot. Share this post Link to post Share on other sites
wizzywig 0 Posted March 26, 2004 add this at top of cpp <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> #define TracerNColor 0,0,0 #define TracerNColorF {TracerNColor,0.00} #define TRACER_N_ALWAYS tracerColor[]=TracerNColorF;tracerColorR[]=TracerNColorF then in your ammo class add <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> tracerColor[]={1.000000,0.000600,0.500000,1.000000}; tracerColorR[]={1.000000,0.006000,0.500000,1.000000}; and in wepon class useing the ammo and this <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">TRACER_N_ALWAYS; hope this helps Share this post Link to post Share on other sites
Taconic 0 Posted March 26, 2004 What is the tracerColorR value specifically for? Share this post Link to post Share on other sites
miles teg 1 Posted March 26, 2004 Yeah. On the section that defines the tracer color, could you list some examples of different colors. I've been trying to figure out how to add brighter tracer rounds to some machine guns for example. Chris G. aka-Miles Teg<GD> Share this post Link to post Share on other sites
m21man 0 Posted March 26, 2004 I'll just give you a link to the tool . Share this post Link to post Share on other sites
XPETIT 0 Posted March 26, 2004 Ok. I have a beautifull red light but it come from the center of the chopper. It is to up. What must I change to put the start in front of the podlaser? Share this post Link to post Share on other sites