Glowing Teleport
Email :EZkeel
Accompanied files : Telelight.UNR
This tutorial will help you create a pulsating
light that changes colour (I generally use these for teleports).
What you will be doing here is not to take a light
actor and keep changing its colour, but to carefuly place different coloured
lights that turn on and off over each other at specified times giving the
effect of a changing light source.
Tutorials you will need to have read are: Triggers, Lighting
1) Build a test room with a playerstart, an ordinary
light source and set the gameinfo to be a singleplayer game.
Now add a zoneinfo actor into the room, open up
its zoneinfo properties and set "bFogZone" to true. The fog zone is so
that you will actually see a ball of light.
2) From the actor browser choose “trigger light”
from the list of lights (I'm pretty sure either of the two will do).
Add this light to the area where you would like
to put your teleporter. Set it up as shown in the picture:
In its “Object” settings set it up as “Trigger
toggle” in the initial state field.
In its “Trigger Light” settings make the change
time 1.
In its "Light color" properties, set it up so
that it has a red glow. Brightness 64, hue 0, and saturation 0.
In the "lighting" properties under the fog settings,
give it volume brightness = 150, Volume fog = 64 and Volume radius of 4.
Give it a light type of "subtle pulse"
Give it a tag called “L1”.
3) Now, with the trigger light selected press Ctrl-W to duplicate it. (You'll need to adjust its position ever so slightly so that it is in the same place as the first light). Change the setting in this one’s light color property so that it is yellow instead of red. Hue=42, Saturation=127. Give it a tag called “L2”.
4) Once again, use CTRL-W to duplicate it again, and make this one green by changing the light hue to 80 and the trans to 0. Give this one a tag of “L3” and leave the other settings the same as the previous one.
5) Do the same as step 4 but make this one blue
by changing the hue to 170 and the saturation to 127 and giving it a tag
of “L4”
6) Now add a dispatcher trigger. Give it a tag of “go”. In the dispatcher property you have events and delays. Set them up so they look the same as in the example on the far left.
8) Now add a Timed Trigger. Set it to be repeating with a delay time of 1 second. Give it a tag of "Timer" and set its event field to "go" as in the picture on the left.
9) Now rebuild your level and save it. You may see a solid ball of white light where your lights are in the 3d view but that depends on your video board setup. The editor is simply showing you all the lights in a static “on” position regardless whether they start as on or off when the level runs.
10) All you need now is a trigger to set them all off. This could be a mover or just an ordinary trigger. For the purpose of this tutorial just add a normal trigger and set its btriggeronceonly property in its trigger section to “true”. Set its event field to “timer”. Now when a player walks over the trigger, it will start the dispatcher and the lights will give you a cool teleport effect.
Note: Obviously these lights don't actually work as a teleport. You'll need to place a teleport in there in the usual way of course.