OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: RM Snipe on 14 Jan 2004, 17:09:51
-
Hi, How can I modify cpp on a Mortar & MG so there is no light when dark ???????
-
The following code should render your addon lightless:
Goes in the cfgvehicles section of your addon.
// 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;
};
};
-
class Reflectors {};does the same and saves some space ;)
-
or go to the model... in the memory lod delete the start end stop vertrice of the headlight ...