The Black Sheep Wiki
The Black Sheep Wiki
Ued2 | Light Sources

The contents of this tutorial were written by those at

Light in UT comes from light sources.
To add a light source just press right mouse button and
select “Add Light Here”.
You will see a torch looking like this added to your design;

The easiest way to add a light is in the 3D view and then use
the 2D view to move the light around.

Lights (like all stuff in UT) use processing time in-game.
Using lights effective will keep frame rate at best.

Alot of light related info can also be found in my texture/wall

Light properties is explained in the tables below.

bDirectionalMake the light directional (used with spotlights).
DrawScaleAffects light actor size in editor and size of lensflare.
SkinThe texture used for a lens flare and TexturePaletteOnce/Loop effect.
LightBrightnessHow bright the light should be from source and outwards.
LightHueLight color (also affected by LightSaturation)
LightSaturationLight color (also affected by LightHue)
bActorShadowsCreates shadows (bShadowCast).
bCoronaAdds lensflare to the light (needs texture, Skin).
bLensFlareNot used by UT.
bSpecialLitLight only affect walls and items with the Special Lit true.
LightConeSize of specific lights, like spotlights.
LightEffectSelect how the light is supposed to act (Further down for specs.).
LightPeriodSpeed of selected LightType and/or LightEffect.
LightPhaseStart of light animation cycle.
LightRadiusRadius affected by the light and lens flare.
LightTypeWhat kind of light (Further down for specs.).
VolumeBrightBrightness of volumetric light (fog).
VolumeFogThinkness of columetric light (fog).
VolumeRadiusRadius of volumetric light (fog).
Light EffectSpecific
TorchWaverMakes the light shimmer a little.
FireWaverAs the TorchWaver but more “drastic”.
WateryShimmerAlso like the TorchWaver but more wave and glimmer feel.
SearchLightA rotating spotlight (Adjust speed with LightPeriod).
SlowWaveA wave that starts from the middle and flows out.
FastWaveAs SlowWave but at a faster rate.
ShockA small pulsating light, fast up and slowly down.
DiscoWhat can I say, weird looking disco light.
SpotlightSimply a spotlight (set bDirectional).
NonIncidenceMakes the light stronger and reduce the amount of shadow.
ShellOnly lights the actuall lightradius (a hollow sphear).
OmniBumpMapThis a light that only light up actors(players) and not the geometry.
InterferenceLight waves that goes from bottom to the top.
CylinderCreates a light cylinder instead of a standard sphere.
RotorLike Interference but moves sideways instead, like a fan.
Light TypeSpecific
NoneTurns the light off.
SteadyThe light “strength” is constant (Default).
PulseA “heavily” pulsating light.
BlinkRandomly turns light off for a split second.
FlickerRandomly turns light on/off at random intervals.
StrobeFast switching between light on and off.
SubtlePulseAs Pulse but less “deep”.
TexturePaletteOnceWill cycle through the texture palette selected for “Skin”, once.
TexturePaletteLoopAs TexturePaletteOnce but loops (Adjust speed with LightPeriod).

Changing the color:
When you select either LightHue or LightSaturation a button “color” will show.
Press this button and select a color you want.
This will be the color your light radiate.

Adding a Lens Flare (Corona):
To do this you need to set “bCorona” under “Lighting” true.
You also need to add a texture to “Skin” under “Display”.
“DrawScale” under “Display” adjusts the size of the lens flare (0.2–0.5).
Just note that you are not able to see coronas outside the light radius.

LightPeriod and LightPhase:
LightPeriod sets the speed of animated lights, like searchlights and so on.
LightPhase however change the frame which your animated light should start
It can be used to sync two lights with the same light effect,
or the light with a mover to make sure both objects move/animate the same.
(A rotor mover and a light with the rotor light effect).

To do this you need to set “bShadowCast” under “Display” true for the item.
Also set “bActorShadows” under “Lighting” true for the light to create the shadow.
(Almost certain this do not work).

Creating a spotlight:
The spotlight is directional so you need to set this property.
It is found under “Advanced” and “bDirectional”
Then change the “LightEffect” under “Lighting” to “Spotlight”.
You might want to adjust the direction your light is pointing though.

If the “DrawScale” property is not used for a lens flare you should
use it to make your editing easier.
In large outdoor areas you might want to use a draw scale of 5.0.
In small areas with lots of light sources 0.5 is maybe small enough.

TexturePalette Loop and Once:
This is a light type that cycles through the light color using a texture.
Any texture will work, but alot of palette and fading textures can be found
in “palettes.utx” and “genfx.utx”.
The texture must be added to the propery “Skin” under “Display” for the light.
LightPeriod will then adjust the speed to the color cycle.

Alternative lightsources:
Anything that has the properties “+Lightcolor” and “+Lighting” can
radiate light.
You need to change “LightType” from “LT_None” and add values to
“LightBrightness” and “LightRadius”.

Just change the light properties to suit your need.
(Not sure that exactly everything can radiate light though).

Default light levels (zonelight):
You can use zoneinfo actors inside zones, or level properties if
you do not use zones, to give areas or the entire level a default
lighting. (Particulary good for out door areas).
Under “ZoneLight” you can adjust “AmbientBrightness”, “AmbientHue” and
“AmbientSaturation” to adjust the default lighting, much like a normal

Soundeffects and light effects:
If you add ambient sound to a lightsource it will be heard as long
as the light is on.
If the light is “LE_Steady” you can hear the sound all the time
while lights with other effects like “LE_Flicker” will turn on/off the
sound along with the light effect.
This allow you to create more realistic and syncronized lights and sounds.

Triggerable lights:\\ In the actor browser, under “Light” you have “TriggerLight”.
(Two actually, but both are the same).

They work exactly like regular lights with one slight differance.
Regular light cannot be triggered while these can.

bDelayFullOnIf true, the light will wait “ChangeTime” before changing state.
bInitiallyOnIf the light should be on or off.
ChangeTimeTime in seconds to change/fade from on to off (or off to on).
RemainOnTimeIt is connected with “TriggerPound” but I didn’t get it to work.

The “InitalState” of the light determine how the trigger should affect the light.

NoneUseless as the light will not be affected by trigger.
TriggerPoundDon’t know if work
TriggerControlLight will stay on/off as long as player is in trigger radius.
TriggerToggleTurns off the light if it is on, and on if it is off.
TriggerTurnsOffDeactivates the light (nothing happens if light is off).
TriggerTurnsOnActivates the light (nothing happens if light is on).

Volumetric Light (fog):
To create fog you use lights.
The three properties “VolumeBrightness”, “VolumeFog” and “VolumeRadius” set the brightness,
depth and size of the fog.
VolumeRadius is the covered sphear of the fog while VolumeBrightness and VolumeFog
both set the density.

Other light types and decoration:
In the actor browser you will find lots of lights and light decoration.
Most actors under “Light” is just regular lights with pre-defined properties.
“TorchFlame” is a ready to use lightsource unless you want to create your own

Under “Decoration” you will find actors that can aid your level theme.
This includes “LightBox”, “LightCone”, “TubeLight” and so on.

Page last modified on October 03, 2005, at 10:58 PM