Jump to content
Sign in to follow this  
Uziyahu--IDF

Fixed m2 .50 mg addon?

Recommended Posts

Can someone modify the M2 .50 MG's in GFX707's ( www.fortress-ofp.com ) MG Pack so that stupid light doesn't come on when A.I. are manning it, since there is no scripting work-around for this, that I (and this forum) seems to know of?

If couldn't override the inherited attributes of the default M2, maybe you could put a script in it, activated by an init entry, that would ... ah, hell, I dunno.

What about modding the model so that the light isn't there?

The light is fine for a base, but not good for a unit in the field.

Share this post


Link to post
Share on other sites

I used the following to extinguish the lights on a Hawk missile launcher:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

// 0 or "" entries turns off night lights

class Reflectors

{

class Left

{

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

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

position = "";

direction = "";

hitpoint = "";

selection = "";

size = 0.0;

brightness = 0.0;

};

class Right

{

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

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

position = "";

direction = "";

hitpoint = "";

selection = "";

size = 0.0;

brightness = 0.0;

};

};

Share this post


Link to post
Share on other sites

Thanks!

I'll give it a try.

turn off light on M2

turn off M2 light

turning off light on M2

turning off M2 light

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  

×