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 09-14-2002, 10:57 PM
gokux33 gokux33 is offline
Registered User
gokux33's Avatar
Join Date: Jul 2002
Location: Florida
Posts: 785
gokux33 is on a distinguished road
Send a message via ICQ to gokux33 Send a message via AIM to gokux33 Send a message via Yahoo to gokux33
Was playing around with functions...

NPC Code:
for(this.a=0;this.a<1000;this.a++){
showimg this.a,light2.png,this.x,this.y;
this.x=x+this.a/this.r*sin(this.i-this.h);
this.y=y-this.a/this.r*cos(this.i2+this.h);
this.i--;
this.i2++;
changeimgzoom this.a,random(.01,.2);
changeimgvis this.a,3;
changeimgcolors this.a,0,random(.55,.6),random(.8,1),random(.8,1);
this.rr=random(2,3);
this.r = x-this.a/(this.r*arctan(this.i2)/sin(this.i)*cos(this.i2));
}
this.h+=.05;
showstats;
timeout=0.05;

__________________

Name: Wind Seablaze
E-Mail: [email protected]
10/4/02 My last day on the forums. Don't forget me. <3
Reply With Quote
  #2  
Old 09-14-2002, 11:08 PM
gokux33 gokux33 is offline
Registered User
gokux33's Avatar
Join Date: Jul 2002
Location: Florida
Posts: 785
gokux33 is on a distinguished road
Send a message via ICQ to gokux33 Send a message via AIM to gokux33 Send a message via Yahoo to gokux33
And for all you laaaazy people.
Attached Thumbnails
Click image for larger version

Name:	graallaaazy.png
Views:	286
Size:	66.4 KB
ID:	20601  
__________________

Name: Wind Seablaze
E-Mail: [email protected]
10/4/02 My last day on the forums. Don't forget me. <3
Reply With Quote
  #3  
Old 09-14-2002, 11:22 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Wow that would look great at a servers entrance were it starts with stars flying past and the screen goes down to reveal a movie scene of some sort=)
__________________
V$:CONFL16T
Reply With Quote
  #4  
Old 09-14-2002, 11:23 PM
gokux33 gokux33 is offline
Registered User
gokux33's Avatar
Join Date: Jul 2002
Location: Florida
Posts: 785
gokux33 is on a distinguished road
Send a message via ICQ to gokux33 Send a message via AIM to gokux33 Send a message via Yahoo to gokux33
Quote:
Originally posted by WanDaMan
Wow that would look great at a servers entrance were it starts with stars flying past and the screen goes down to reveal a movie scene of some sort=)
Nah. It looks like a pulsar to me.
__________________

Name: Wind Seablaze
E-Mail: [email protected]
10/4/02 My last day on the forums. Don't forget me. <3
Reply With Quote
  #5  
Old 09-14-2002, 11:24 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by gokux33
Nah. It looks like a pulsar to me.
I love it=)
__________________
V$:CONFL16T
Reply With Quote
  #6  
Old 09-14-2002, 11:26 PM
gokux33 gokux33 is offline
Registered User
gokux33's Avatar
Join Date: Jul 2002
Location: Florida
Posts: 785
gokux33 is on a distinguished road
Send a message via ICQ to gokux33 Send a message via AIM to gokux33 Send a message via Yahoo to gokux33
It's my first script with sin(), cos(), etc.. I've never done circle maths before.
__________________

Name: Wind Seablaze
E-Mail: [email protected]
10/4/02 My last day on the forums. Don't forget me. <3
Reply With Quote
  #7  
Old 09-16-2002, 11:18 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
I do circle maths sometimes, but never do a lot of GFX such as this. Goku, I'm going to PM you
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #8  
Old 09-17-2002, 04:47 AM
RavenTelvecho RavenTelvecho is offline
Registered User
RavenTelvecho's Avatar
Join Date: Apr 2002
Location: Toronto, Ontario, Canada
Posts: 0
RavenTelvecho is on a distinguished road
Send a message via ICQ to RavenTelvecho Send a message via AIM to RavenTelvecho Send a message via Yahoo to RavenTelvecho
RavenTelvecho, is impressed. Good job wind.
__________________

^tuff newbie ;x
RavenTelvecho
!Booj
we are 'brothers'
Reply With Quote
  #9  
Old 09-17-2002, 05:16 AM
gokux33 gokux33 is offline
Registered User
gokux33's Avatar
Join Date: Jul 2002
Location: Florida
Posts: 785
gokux33 is on a distinguished road
Send a message via ICQ to gokux33 Send a message via AIM to gokux33 Send a message via Yahoo to gokux33
Quote:
Originally posted by emortylone
I do circle maths sometimes, but never do a lot of GFX such as this. Goku, I'm going to PM you
---Shifter
Gah. Wind, not Gokuu. x_X
__________________

Name: Wind Seablaze
E-Mail: [email protected]
10/4/02 My last day on the forums. Don't forget me. <3
Reply With Quote
  #10  
Old 09-17-2002, 05:50 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
He he... Wind sounds familliar...
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #11  
Old 09-17-2002, 06:27 AM
magicbud3344 magicbud3344 is offline
Banned
Join Date: Mar 2002
Location: mEEP
Posts: 0
magicbud3344 is on a distinguished road
Send a message via AIM to magicbud3344
Quote:
Originally posted by gokux33
Gah. Wind, not Gokuu. x_X
hey goku long time no see
Reply With Quote
  #12  
Old 09-22-2002, 09:04 PM
BladeSpirit BladeSpirit is offline
Registered User
Join Date: Sep 2002
Location: Over there ->
Posts: 22
BladeSpirit is on a distinguished road
Send a message via AIM to BladeSpirit
That's actually very impressive. The script isn't hard, but I never thought of making a nebula like that.

::down with the government!:: They kill visionaries!

=P
__________________
If pro is the opposite of con:

Is Pro gress the opposite
of Con gress ?

Pro Stitution
Con Stitution
aim: cl0ud Drakken
Reply With Quote
  #13  
Old 09-26-2002, 06:22 AM
gokux33 gokux33 is offline
Registered User
gokux33's Avatar
Join Date: Jul 2002
Location: Florida
Posts: 785
gokux33 is on a distinguished road
Send a message via ICQ to gokux33 Send a message via AIM to gokux33 Send a message via Yahoo to gokux33
Quote:
Originally posted by emortylone
He he... Wind sounds familliar...
---Shifter
Duh. I used to be Head Dev on Bab, silly.
__________________

Name: Wind Seablaze
E-Mail: [email protected]
10/4/02 My last day on the forums. Don't forget me. <3
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 03:51 PM.


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