PDA

View Full Version : how do i make lights?


MaximusP2P
11-22-2001, 10:25 AM
ok i am just now able to see lights so can anyone tell me how i can put them in my levels? if so please respond but only respond if you can help otherwise its the ignore list for you!

Python523
11-22-2001, 10:46 AM
you make an npc
you have it use the light2.png grafic
you do
setcoloreffect 1,1,1.,50
I think that's a white light

MaximusP2P
11-22-2001, 10:47 AM
ok so different numbers would be different colors and sizes?

MaximusP2P
11-22-2001, 10:54 AM
Originally posted by Python523
you make an npc
you have it use the light2.png grafic
you do
setcoloreffect 1,1,1.,50
I think that's a white light ive tried it and it doesnt seem to work

Jerom
11-22-2001, 11:19 AM
Originally posted by MaximusP2P
ive tried it and it doesnt seem to work
setcoloreffect 1,1,1,0.9;
That'll make a really bright white light.
To make the light bigger, use:
setzoomeffect 1;
The higher the number, the bigger the image.
If you want to make the image smaller, use decimals, like this:
setzoomeffect 0.25;
That should help ya.

Faheria_LAT1
11-22-2001, 11:22 AM
dont forget to add

//#CLIENTSIDE

at the top of the npc's script

MaximusP2P
11-22-2001, 11:28 AM
and how do i change colors?

SkooL
11-22-2001, 11:41 AM
Originally posted by MaximusP2P
and how do i change colors? setcoloreffect red,blue,green,alpha;
The values can be between 0 and 1.

Python523
11-22-2001, 12:00 PM
Originally posted by SkooL
setcoloreffect red,blue,green,alpha;
The values can be between 0 and 1.
You can have more numbers than 0 and 1 for red, blue, and green

MaximusP2P
11-22-2001, 12:02 PM
ok say i wanted to have about maybe a 3inch diamiter redish-blue light effect. what would the script be for that?

SkooL
11-22-2001, 01:44 PM
Originally posted by Python523

You can have more numbers than 0 and 1 for red, blue, and green You could, but that would be redundant.
Numbers between 0 and 1. Such as 0.4.

Mrmicro
11-25-2001, 07:47 AM
LIGHTS ARE BUILT IN TO LEVEL EDITOR!

MaximusP2P
11-25-2001, 10:13 AM
Originally posted by Mrmicro
LIGHTS ARE BUILT IN TO LEVEL EDITOR! haha! my plan worked! i made micro snap! i win the bet whoopie!

ok now time to delete thread