Author Topic: Lights that don't go through walls?  (Read 2094 times)

Is it possible to have these torch lights not be in a circle radius? They keep going through bricks.




Reality.

don't believe that's possible with the current engine

it certainly would be cool tho

It's just the way the engine is, nothing you can really do in Torkscript.

what you're essentially asking for is for dynamic lights to cast shadows on objects, which there is no chance in heck blockland can ever support that

I think he wants directional lights instead of circular ones
that way he can aim it away from the wall

It's just the way the engine is, nothing you can really do in Torkscript.
more like dorkscript amirite

I think he wants directional lights instead of circular ones
that way he can aim it away from the wall

Yes, how can we go about doing that?

Code: [Select]
datablock fxLightData(TorchLight)
{
uiName = "Torch Light";

LightOn = true;
radius = 6;
brightness = 9;
color = "0.8 0.7 0.4 1";

FlareOn = false;
// FlareTP = true;
// Flarebitmap = "base/lighting/corona";
// FlareColor = "1 1 1";
// ConstantSizeOn = false;
// ConstantSize = 1;
// NearSize = 3;
// FarSize = 0.5;
// NearDistance = 10.0;
// FarDistance = 30.0;
// FadeTime = 0.1;
// BlendMode = 0;

AnimColor = false;
AnimBrightness = true;
AnimOffsets = false;
AnimRotation = false;
LinkFlare = false;
LinkFlareSize = false;
MinColor = "1 1 0";
MaxColor = "0 0 1";
MinBrightness = 0.0;
MaxBrightness = 5.0;
MinRadius = 0.1;
MaxRadius = 10;
StartOffset = "-5 0 0";
EndOffset = "5 0 0";
MinRotation = 0;
MaxRotation = 359;

SingleColorKeys = false;
RedKeys = "AWTCFAH";
GreenKeys = "AWTCFAH";
BlueKeys = "AWTCFAH";

BrightnessKeys = "DEDEDFGF";
RadiusKeys = "AZAAAAA";
OffsetKeys = "AZAAAAA";
RotationKeys = "AZAAAAA";

ColorTime = 1.0;
BrightnessTime = 1.0;
RadiusTime = 1.0;
OffsetTime = 1.0;
RotationTime = 1.0;

LerpColor = false;
LerpBrightness = false;
LerpRadius = false;
LerpOffset = false;
LerpRotation = false;
};


Directional lights would be awesome.

For some reason I kind of remember there being some kind of directionally light add-on in a pack
Will investigate when I get home

I even recall a spot light that actually moved.

yeah, I think it might've been in that pack
it's either that or i'm thinking of the fancy laser emitters

As far as I remember any spotlight/flashlight mod just used a raycast to find the point the player was aiming at and created/moved a light object there.
Blockland doesn't have any support for non-radius light.

As far as I remember any spotlight/flashlight mod just used a raycast to find the point the player was aiming at and created/moved a light object there.
Blockland doesn't have any support for non-radius light.

You can probably do the same with fire.

found the moving spotlights in Light_MiscellaneousLights
pretty sure I remember some kind of cone light, but it might've been using multiple lights to make the effect

Yea you really cant make a directional light without more than 1 of them (which isnt recommended)