Author Topic: Dark Lights  (Read 7226 times)

I think some people made these, but I remade them.


Download: https://blocklandglass.com/addon.php?id=220
« Last Edit: November 26, 2015, 12:03:41 PM by Sp0nge80b »

I get that the emission is dark, but why would you not make the actual flare bitmap dark?

It would make more sense to not even have a flare.
« Last Edit: November 26, 2015, 10:04:18 AM by Mr.Noßody »

Did you even test these? I can already see from the code that most of these lights won't actually be dark: (issues/comments highlighted with bold)

Quote from: Light_Dark.cs
datablock fxLightData(RedLightDrk) //UI name and DB names are misspelled, but that isn't the real issue
{
   uiName = "Red Light Drk";

   LightOn = true;
   radius = 15;
   brightness = -1;
   color = "1 0 0 1";

   flareOn = true;
   flarebitmap = "base/lighting/corona";
   NearSize   = 2;
   FarSize = 1;
};

datablock fxLightData(OrangeLightDark : RedLight) //ok this is the real forget up; the datablock inherits properties from RedLight meaning the nonnegative brightness of the RedLight will be inherited by this and the following datablocks as well, and since only the color and uiname is being changed, it will not be a dark light, same case with the rest of them
{
   uiName = "Orange Light Dark";
   color = "1 0.5 0 1";
};
datablock fxLightData(YellowLightDark : RedLight)
{
   uiName = "Yellow Light Dark";
   color = "1 1 0 1";
};
datablock fxLightData(GreenLightDark : RedLight)
{
   uiName = "Green Light Dark";
   color = "0 1 0 1";
};
datablock fxLightData(CyanLightDark : RedLight)
{
   uiName = "Cyan Light Dark";
   color = "0 1 1 1";
};
datablock fxLightData(BlueLightDark : RedLight)
{   
   uiName = "Blue Light Dark";
   color = "0 0 1 1";
};
datablock fxLightData(PurpleLightark : RedLight)
{   
   uiName = "Purple Light ark";
   color = "0.5 0 1 1";
};

Please go through each of these datablocks and change "ColorLightDark : RedLight)" to "ColorLightDark : RedLightDark)", and fix the UI and datablock names to not be "Drk" and "DARRK"

Lastly, on Blockland Glass, you put these lights in the "Events" section which these lights obviously aren't.
« Last Edit: November 26, 2015, 03:15:00 AM by QuadStorm »

Just because the flare is on the shadowy side of a brick does not mean that it makes it darker.  Nice try.




No, really.
This is why you ask for help before releasing something.

No, really.
How could you showcase the addon if you don't even know where to put it.

This is why you ask for help before releasing something.

I did.

I think he removed something or copied it.

No, I didn't.

I copied Lights_Basic, then edited them.

You should stare at your drama topic for a while more

You should stare at your drama topic for a while more

Oh yes, that was about changing simple files.

If some people made this aleredy why are you making it again?