Jump to content
Sign in to follow this  
mick78

Fixed mg lights off???

Recommended Posts

hey, ive done a search and couldnt find anything that helped me much at all!! sad_o.gif

but what im doing is ive got a fixed m2, empty, maned by a marine using the "man1 moveingunner gun1" or whatever.

when its night time, he turns the light on, and the graphic for that is terrible and well, i dont want him to.

ive tried a range of things, but they have all been guesses.

i think this should be really easy, but i cant think of a way to do it!

thanks,

mick

Share this post


Link to post
Share on other sites
Guest

This is a bug if I remember correctly. I think the FDF mod has a fix for it.

Share this post


Link to post
Share on other sites

Try this in your config for the mg:

// 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
class reflectors {};

should do the same, afaik.

Yep you are probably right.  biggrin_o.gif

In the class yourgun:theirgun entry in the class cfgvehicles section. For example place it under:

model="\addonname\yourmodel.p3d";

class reflectors {};

Share this post


Link to post
Share on other sites

WHAT crazy_o.gif that easy@!!! Tight...

Also, can you make the light move around and stuff? You know, if I attached it to the end of a barrel and then wanted it to follow with the guns movements? rock.gif

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  

×