I mean the ones you can apply on bricks
those are datablocks inside add-ons.
look in your add-ons folder, you will see a default add-on named Light_Basic.
in there, you will see a script containing bunch of datablocks, this is one of the datablocks for the Red Light:
Code: Light_Basic.cs (14 lines)
datablock fxLightData(RedLight) { uiName = "Red Light"; // the name you see in the lights list when you wrench a brick.
LightOn = true; radius = 15; brightness = 9; color = "1 0 0 1"; // RGBA floats
flareOn = true; flarebitmap = "base/lighting/corona"; // look in base/lighting for more flare bitmaps NearSize = 2; FarSize = 1; };
|
the member fields are pretty self explanatory, just rename the datablock to something else and modify it to your needs. if you want more control over your lights, just look in Light_Basic.cs. theres a TON of fields in Bright light.
if you want a 'dark' light, then just change the brightness to a negative value.
correct me if i'm wrong on anything.