View Full Version : Lighting Effects

Geovanie Legend
06-12-2001, 12:13 PM
Ok my NPC scripter has a slight problem, he can't do lighting effects cause the game don't like his voodoo 2 card for some reason so could someone either post the script on here or send me a pm of how to make a lighting effect that makes it look like the light is coming in through the doorway?

06-12-2001, 12:20 PM
put the gif of the npc to


or it might be called


and tell me what color you want it to be (then I will tell you the code)

06-12-2001, 03:11 PM
Can you just post it here KJS? I would like to know too please.

06-12-2001, 09:50 PM
For my pet shop on TOT I made one. Im willing to give the code away. no big secret or nutting. its just common sence really..

if (created) {
this.x = 32 //X position of the light
this.y = 35 // Y position of the light
showimg 0,light2.png,this.x,this.y;
changeimgcolors 0,1,.89,.38,.99;
changeimgvis 0,1;
changeimgpart 0,48,0,32,64;

The only reason I didnt putt he #s directly on the showimg is so you could see where the X and y should go... That basicially it. not much work.

06-12-2001, 10:36 PM
Originally posted by toad1413
Can you just post it here KJS? I would like to know too please.

he pmed me...

and I sent him my way of making it...

I also knew how to make falados way... it is not that hard either way...

but it wasn't what he was looking for...

he wants something like this


I told him he would have to make a gif for that...
humm I am going to test something mabie I can get it to work with light2.png...

I will post it if I get it to work...

06-12-2001, 10:41 PM
here I beleve this will work for what he is talking about

if (created) {
setimgpart light2.png,60,30,32,32;
setcoloreffect .9,.8,0,.9;