Jump to content
Sign in to follow this  
Beefcak

Lights on a machinge gun?

Recommended Posts

Put this in the M2's init field:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this Setbehaviour "stealth"<span id='postcolor'>

RED

Share this post


Link to post
Share on other sites

Put these lines to the class CfgVehicles in config.cpp file.

class Reflectors

{

class Left

{

color[]={0.00,0.00,0.00,0.00};

ambient[]={0.00,0.00,0.00,0.00};

position="L svetlo";

direction="konec L svetla";

hitpoint="L svetlo";

selection="L svetlo";

size=0.000;

brightness=0.0000;

};

class Right

{

color[]={0.00,0.00,0.00,0.00};

ambient[]={0.00,0.00,0.00,0.00};

position="P svetlo";

direction="konec P svetla";

hitpoint="P svetlo";

selection="P svetlo";

size=0.000;

brightness=0.000;

};

};

Share this post


Link to post
Share on other sites

Other people will have to do that to their config.cpp so it wouldn't be to good to use that method.

RED

Share this post


Link to post
Share on other sites

Are we able to turn of light in Res now ?!?

I mean in 1.46 there is no way with a command in the init line to turn of m2 lights.

Red are you sure this works ?

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (RED @ Oct. 13 2002,10:57)</td></tr><tr><td id="QUOTE">Put this in the M2's init field:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this Setbehaviour  "stealth"<span id='postcolor'>

RED<span id='postcolor'>

I tryed this and it doesn't work for me.

Even if  I'm commander of MG and I order "Stealth" (7-1) lights are still on. And I can not order through radio action (6) to turn off lights.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (RED @ Oct. 13 2002,13:16)</td></tr><tr><td id="QUOTE">Other people will have to do that to their config.cpp so it wouldn't be to good to use that method.

RED<span id='postcolor'>

This is the only way to work. SO if you play sigle missions this config.cpp editing is good.

You can use this for another addons too like OFPfortress' addons - mortar and costalgun -

Share this post


Link to post
Share on other sites

ok, thanks for your help ill go and try it right now.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×