Sorry my mistake .......I really should pay more attention.
Try this:
class CfgNonAIVehicles
{
class Streetlamp{};
class bluelight: Streetlamp
{
scope=protected;
model = "\LarsenOBJ\bluelight.p3d";
destrType=DestructTree;
simulation=StreetLamp;
colorDiffuse[] = {0, 0, 1, 0};
colorAmbient[] = {0, 0, .02, 0.0};
brightness = .07;
armorBulb = .5;
};
class whitelight: Streetlamp
{
scope=protected;
model = "\LarsenOBJ\whitelight.p3d";
destrType=DestructTree;
simulation=StreetLamp;
colorDiffuse[] = {1, 1, 1, 0};
colorAmbient[] = {0.02, 0.02, 0.02, 0.0};
brightness = .07;
armorBulb = .5;
};
};
Once again sorry.............. I forgot the color[] bit.
Also.......class Streetlamp doesn't use color[] and Ambient[]........it uses colordiffuse and colorambient
Hope it works ok this time
Planck