Jump to content
Sign in to follow this  
MrSherenai

Question on Streetlamps

Recommended Posts

Hey,

I have a little problem with my streetlamps. They emit light as they should but the bulb/lamp itself is dark. Is there any way to fix it? Here is the config I use:

class CfgNonAIVehicles {
   access = ReadAndWrite;

   class StreetLamp {
   aggregatereflectors[] = {};
   animated = 1;
   armorlights = 1;
   armorstructural = 1;
   brightness = 0.15;
   colorambient[] = {0.02, 0.02, 0.02};
   colordiffuse[] = {0.9, 0.8, 0.6};
   destrtype = "DestructTree";
   model = "";
   simulation = "StreetLamp";
   class HitPoints {
       class HitBulb {
           armor = 1;
           material = 60;
           name = "lampa";
           passthrough = 1;
       };
   };
   class Reflectors {
       class LampLight {
           ambient[] = {0.1, 0.1, 0.1, 1};
           brightness = 0.2;
           color[] = {0.9, 0.8, 0.6, 1};
           direction = "";
           hitpoint = "lampa";
           position = "Light";
           selection = "";
           size = 0.5;
       };
   };
};


   class StreetLamp_BaseWeakYellow  : StreetLamp {
       colorDiffuse[] = {0.500000,0.400000,0.100000,0.000000 };
       colorAmbient[] = {0.200000,0.150000,0.050000,0.000000 };
       brightness = 0.100000;
   };

   class StreetLamp_BaseMediumOrange  : StreetLamp {
       colorDiffuse[] = {0.600000,0.350000,0.000000,0.000000 };
       colorAmbient[] = {0.200000,0.100000,0.000000,0.000000 };
       brightness = 0.200000;
   };

   class StreetLamp_BaseMediumPale  : StreetLamp {
       colorDiffuse[] = {0.600000,0.700000,0.800000,0.000000 };
       colorAmbient[] = {0.060000,0.070000,0.100000,0.000000 };
       brightness = 0.150000;
   };

   class StreetLamp_BaseStrongPale  : StreetLamp {
       colorDiffuse[] = {0.600000,0.700000,0.850000,0.000000 };
       colorAmbient[] = {0.070000,0.100000,0.150000,0.000000 };
       brightness = 0.330000;
   };

   class Land_lampa_sidl  : StreetLamp_BaseMediumOrange {
       scope = 1;
       model = "\ca\buildings\Misc\lampa_sidl";
   };

   class Land_lampa_sidl_2  : StreetLamp_BaseMediumOrange {
       scope = 1;
       model = "\ca\buildings\Misc\lampa_sidl_2";
   };

   class Land_lampa_sidl_3  : StreetLamp_BaseMediumOrange {
       scope = 1;
       model = "\ca\buildings\Misc\lampa_sidl_3";
   };

   class Land_lampa_ind  : StreetLamp_BaseWeakYellow {
       scope = 1;
       model = "\ca\buildings\Misc\lampa_ind";
   };

   class Land_lampa_ind_zebr  : StreetLamp_BaseWeakYellow {
       scope = 1;
       model = "\ca\buildings\Misc\lampa_ind_zebr";
   };
};

And is there a "flicker" value or function that makes the lights flicker random? I cant find any ressource on this.

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  

×