Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2001, 06:20 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Waterfall and circling light effects

How do you make Waterfall and cricling light effects?
Reply With Quote
  #2  
Old 12-05-2001, 06:23 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
i got the circle light effects somewhere limmie dig them out
and as for the waterfall i have no idea
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #3  
Old 12-05-2001, 06:24 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Re: Waterfall and circling light effects

Quote:
Originally posted by Poogle
How do you make Waterfall and cricling light effects?
cricling???
Reply With Quote
  #4  
Old 12-05-2001, 06:28 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to 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
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #5  
Old 12-05-2001, 07:59 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
the waterfall is just a GIF....you could do addtiledef2 to make the waterfall tiles animated by default
Reply With Quote
  #6  
Old 12-05-2001, 09:48 AM
Brad_Elven Brad_Elven is offline
Registered User
Join Date: Jul 2001
Posts: 0
Brad_Elven is on a distinguished road
Send a message via AIM to 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
Reply With Quote
  #7  
Old 12-05-2001, 10:46 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
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
Reply With Quote
  #8  
Old 12-05-2001, 10:47 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
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)
Reply With Quote
  #9  
Old 12-05-2001, 12:44 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
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
Reply With Quote
  #10  
Old 12-05-2001, 02:42 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
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!!! yay!
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #11  
Old 12-05-2001, 02:44 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Poogle
Not the img stupid! theres a light effect for the wather splashes (your sig is right you are dumb)
he no dumb!
ur dumb!
ahhhhhhhhhh
.....
lol
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #12  
Old 12-05-2001, 08:58 PM
-_Soulhunter_- -_Soulhunter_- is offline
Registered User
Join Date: Nov 2001
Location: Near my computer :D
Posts: 154
-_Soulhunter_- is on a distinguished road
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
__________________
Name on Graal - Ferret
Server - Andor, Babylon
Coolest tag - Events Admin
Reply With Quote
  #13  
Old 12-05-2001, 11:44 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
could you even do animated pics1.png like mng?
Reply With Quote
  #14  
Old 12-06-2001, 01:02 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
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
Reply With Quote
  #15  
Old 12-06-2001, 08:04 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
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."
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #16  
Old 12-06-2001, 12:45 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
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!
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #17  
Old 12-07-2001, 07:02 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
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)?
Reply With Quote
  #18  
Old 12-08-2001, 05:39 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by Aknts


Haven't you learned to just ignore Poggle (**** woops I mean Nick)?
Doesnt look like it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:55 AM.


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