Light and Coronas
Light:
This command makes your object give off light. It should be inserted in the action line of your object:
Create light color=red brightness=40 fx=flicker
Color=red: This changes the color of the light. Simply change the color name to change the color of light given off.
Brightness=40: This changes how bright your light is. All you have to do is change the number to increase or decrease the brightness. The number however, cannot be a negative number. Decimals however do work.
Fx=Flicker: This changes the effect the light has. Flicker, for instance, causes the light to blick on and off at random intervals. Some other effects:
fx=blink: causes the light to alternate equally between on and off
fx=fadein: causes the light to fade in from dark to full brightness
fx=fadeout: causes the light to fade out from full brightness to dark (after which there is no light)
fx=fire: causes the light to flicker randomly like a flame
fx=flash: causes the light to switch on for a brief period at random intervals
fx=pulse: causes the light to fade in and then back out at random intervals
Coronas:
To create a corona, insert the following information into the action line of an object:
create corona flare6 size=50
To make your corona a different color, use this command:
create light color=red, corona flare6 size=50
To make the object your corona is on invisible and not solid (so people dont run into it when they can't see it), use this command:
create light color=red, corona flare6 size=50, solid no, visible no
The name after the corona (i.e. flare6) is the name of the corona. Most coronas begin with c_ in the textures list.
Click Here to return to the action line commands pages.