Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Waterfall and circling light effects (https://forums.graalonline.com/forums/showthread.php?t=18326)

Poogle 12-05-2001 06:20 AM

Waterfall and circling light effects
 
How do you make Waterfall and cricling light effects?

AlexH 12-05-2001 06:23 AM

i got the circle light effects somewhere limmie dig them out
and as for the waterfall i have no idea

btedji 12-05-2001 06:24 AM

Re: Waterfall and circling light effects
 
Quote:

Originally posted by Poogle
How do you make Waterfall and cricling light effects?
cricling???

AlexH 12-05-2001 06:28 AM

if(playerenters) {
this.angle=0; //dont touch me
this.radius=3.2; //change this for radii higer number larger circle
this.speed=0.1; //how fast it moves
timeout=.05;
}
if(timeout) {
x=15+cos(this.angle)*this.radius; //change number for placement of x
y=5+sin(this.angle)*this.radius; //change number for placement of y
this.angle=this.angle+this.speed;
timeout=.05;
}

//Light Bit
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 0,1,0,0.5;
drawaslight;
}


and theres your cirlcing light effects
probally not the best or most efficent way to do them
but.............they work

Faheria_GP2 12-05-2001 07:59 AM

the waterfall is just a GIF....you could do addtiledef2 to make the waterfall tiles animated by default

Brad_Elven 12-05-2001 09:48 AM

i wanna know how people make it so it actually pushes you down the waterfall and also how you make it so its very hard to go up

Poogle 12-05-2001 10:46 AM

Quote:

Originally posted by Brad_Elven
i wanna know how people make it so it actually pushes you down the waterfall and also how you make it so its very hard to go up
easy tell me to tell you on Aim and i will :)

Poogle 12-05-2001 10:47 AM

Quote:

Originally posted by Faheria_GP2
the waterfall is just a GIF....you could do addtiledef2 to make the waterfall tiles animated by default
Not the img stupid! theres a light effect for the wather splashes (your sig is right you are dumb)

Poogle 12-05-2001 12:44 PM

Quote:

Originally posted by AlexH
if(playerenters) {
this.angle=0; //dont touch me
this.radius=3.2; //change this for radii higer number larger circle
this.speed=0.1; //how fast it moves
timeout=.05;
}
if(timeout) {
x=15+cos(this.angle)*this.radius; //change number for placement of x
y=5+sin(this.angle)*this.radius; //change number for placement of y
this.angle=this.angle+this.speed;
timeout=.05;
}

//Light Bit
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 0,1,0,0.5;
drawaslight;
}


and theres your cirlcing light effects
probally not the best or most efficent way to do them
but.............they work

thank you :)

Saga2001 12-05-2001 02:42 PM

yay!
 
Quote:

Originally posted by Faheria_GP2
the waterfall is just a GIF....you could do addtiledef2 to make the waterfall tiles animated by default
i am quoted in this ub3r l33t guy's sig!!! :D yay!

Saga2001 12-05-2001 02:44 PM

Quote:

Originally posted by Poogle
Not the img stupid! theres a light effect for the wather splashes (your sig is right you are dumb)
:D he no dumb!
ur dumb!
ahhhhhhhhhh
.....
lol

-_Soulhunter_- 12-05-2001 08:58 PM

In the level i made i used this one (the ugly level, read older thread)...

// NPC made by Ferret
if (created) {
setimg light2.png;
dontblock;
timeout = 0.1;
}
//#CLIENTSIDE
if (timeout) {
setcoloreffect 1,1,1,0.99;
drawaslight;
sleep 0.2;
setzoomeffect 1.1;
sleep 0.2;
setzoomeffect 1.2;
sleep 0.2;
setzoomeffect 1.1;
sleep 0.2;
setzoomeffect 1;
timeout = 0.1;
}


Else i dont know how to do it but this one works pretty well :)

btedji 12-05-2001 11:44 PM

could you even do animated pics1.png like mng?

Poogle 12-06-2001 01:02 AM

Quote:

Originally posted by btedji
could you even do animated pics1.png like mng?
Yeah i did that to make it spin I got dizzy so i made a better one for a spining light effect

Torankusu 12-06-2001 08:04 AM

Quote:

Originally posted by Poogle
Not the img stupid! theres a light effect for the wather splashes (your sig is right you are dumb)
Just shutup.

"Waterfall" means WATERFALL. NOT "SPLASHES BY A WATERFALL."

Saga2001 12-06-2001 12:45 PM

yeah!
 
Quote:

Originally posted by Torankusu
Just shutup.

"Waterfall" means WATERFALL. NOT "SPLASHES BY A WATERFALL."


yeah u go torkans.....tokrans.....torkgpes.....torkansakasau ......torkenaskusu? ....oh screw it, damned spelling errors, you go guy!

Aknts 12-07-2001 07:02 AM

Quote:

Originally posted by Torankusu
Just shutup.

"Waterfall" means WATERFALL. NOT "SPLASHES BY A WATERFALL."

Haven't you learned to just ignore Poggle (**** woops I mean Nick)?

Poogle 12-08-2001 05:39 AM

Quote:

Originally posted by Aknts


Haven't you learned to just ignore Poggle (**** woops I mean Nick)?

Doesnt look like it


All times are GMT +2. The time now is 11:28 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.