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 08-18-2002, 09:45 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
light jello - eye candy -

The basic math in this script is by Sern
i just tweaked with it and make it shimmer...
Too laggy or bright to be practically used online
but in fulll screen mode
its like light on jello... gaze into the refleciton of
your soul as it shimmers in imagination, striggles for order, and collapses into an etheral glob agian...
Attached Files
File Type: nw light_jello.nw (22.3 KB, 488 views)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #2  
Old 08-18-2002, 10:03 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Nice looking, however the overall "pretty" of the npc is based on the placement of the numerous NPCs in certain patterns. You might find this one apetizing aswell (However, it does generate more lag).
Attached Files
File Type: nw light_jello.nw (41.5 KB, 468 views)
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 08-18-2002, 10:20 AM
Jinx Jinx is offline
Radioactive Cow
Jinx's Avatar
Join Date: Sep 2001
Location: I duno...
Posts: 1,217
Jinx is on a distinguished road
Send a message via AIM to Jinx
Neat =)

-Jinx
__________________
Confucious2002: Cynical passed it's 2nd review! <3
InsaneFishP0sse: Yea =) Now if only Nemesis weren't dead
Confucious2002: *pokes nem*
InsaneFishP0sse: He got a severe paper cut last week and died of blood loss, very sad
Confucious2002: so unix took over his body?
InsaneFishP0sse: No, actually it was the NPC Server,
InsaneFishP0sse: Now if you PM Nemesis, he will go "I am Nemesis, the PW Admin, I handle almost all Playerworlds currently online"
Reply With Quote
  #4  
Old 08-18-2002, 10:53 AM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
Uh

Cool guys.. Try using diffrent colors though x.x
Reply With Quote
  #5  
Old 08-18-2002, 01:25 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Nice
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #6  
Old 08-19-2002, 04:34 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
colors!

Here it is using colors - they alternate when
the max or minimum radius is reached. cool color aura on a bundle, also nice by itself. play around with the sin and cos funcitons... post cool results here
Attached Files
File Type: nw light_jello-alternate.nw (19.4 KB, 367 views)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #7  
Old 08-19-2002, 04:37 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
psycadelic

ooh the random function in the timeout...
i bet there is a substance you can smoke that
when you look at this it oculd waro to a 3-d thing...
but dont smoke kiddies! bad for ya!

ever-changinc colors with a Tan funciton for
the horisontal x axis line to give it a spiral galaxy effect...
heh get it it spirals flat like the keyboard is flat on your desk and it spirals up and down, clockwise and counterclockwise on your screen.. heheh ..
Attached Files
File Type: nw light_jello-random.nw (29.6 KB, 410 views)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #8  
Old 08-19-2002, 06:57 AM
IAMNOTAFREAK IAMNOTAFREAK is offline
Registered User
Join Date: May 2002
Location: IBM Stellar Sphere
Posts: 118
IAMNOTAFREAK is on a distinguished road
Send a message via ICQ to IAMNOTAFREAK Send a message via AIM to IAMNOTAFREAK

ooooo, pretty...

light effects are so much fun
__________________
Crimson


Nocturne...it's coming.
Reply With Quote
  #9  
Old 08-19-2002, 07:25 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
Re: psycadelic

Quote:
Originally posted by prozac424242
ooh the random function in the timeout...
i bet there is a substance you can smoke that
when you look at this it oculd waro to a 3-d thing...
but dont smoke kiddies! bad for ya!

ever-changinc colors with a Tan funciton for
the horisontal x axis line to give it a spiral galaxy effect...
heh get it it spirals flat like the keyboard is flat on your desk and it spirals up and down, clockwise and counterclockwise on your screen.. heheh ..
AaAah Seizures!
__________________
Reply With Quote
  #10  
Old 08-19-2002, 08:11 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
watch the pendulum...

after some research i find that Tan() is not a graal function so i dont know what the line-thing worked. just sin/cos pattern on x and no change in y i think. yep thats it.

Here's another dandy, arctan() can be fun!
After a couple seconds watch the pendulums drop
and swing, back and forth...
watch them become two, three, eight, back to three, two, one..

and as you watch this for a few minutes say ..

i will send prozac money....
i will send prozac money....
i will send prozac money....
i will send prozac money....

i mean take a look. its psycadelic and got they
pattern for a hynosis state kinda maybe sotra?
Attached Files
File Type: nw light_pendulum.nw (28.1 KB, 386 views)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #11  
Old 08-19-2002, 10:41 AM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
Woah... o.0 I got hipnotized for maybe 15 minutes on the two first versions of the level 0.o

I'm a bad scripter, in fAct my knowledge in scripting does not go further than those showimg andd things newasy..

Whats this.angle for? I know its for angle, but since graal can't rotate images (it maybe can, no scripter ever tryed that on graal)
I don'T understand what angle could be for? its for rotating around a point???? liek a clokc?
Reply With Quote
  #12  
Old 08-19-2002, 10:57 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
goodie

bingo, this.angle helps rotate the point around the circle.

you got hypnotised?

now U R B IN MY POWERRRR

you will send prozac money
you will vote prozac is cool (On left see only one little vote!)
you will send prozac more money (form pm)

muuuuahahahaHAHA!!!

eeevil prozac!

thats right boys and girls 20 years experince..
enought for a doctorace..
a doctorare in .. eeevil?
nah i got more hair on my head than dr. evil.

SOMEBODY play with the script and make a fun cool pattern!
then post it here please, ok?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #13  
Old 08-19-2002, 11:01 AM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
OMg, gimme a hint on how i could do a fun pattern with what i got right now on these levels and I'll do one
Reply With Quote
  #14  
Old 08-19-2002, 11:13 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by TLG_WL_mechman
Woah... o.0 I got hipnotized for maybe 15 minutes on the two first versions of the level 0.o

I'm a bad scripter, in fAct my knowledge in scripting does not go further than those showimg andd things newasy..

Whats this.angle for? I know its for angle, but since graal can't rotate images (it maybe can, no scripter ever tryed that on graal)
I don'T understand what angle could be for? its for rotating around a point???? liek a clokc?
this.angle is a radian (i believe) in the script, radians are used for a few things in scripts but mostly for things that require an angle, such as shoot
NPC Code:

if(weaponfired){
for(i=0;i<6.28;i+=.05){
shoot playerx,playery,0,i,0,0,hatnpc,1;
}
}


is an example of how a radians could be used
Reply With Quote
  #15  
Old 08-19-2002, 11:17 AM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
and hwats a radiant?
I dont se why shoot could need an angle... I would make it work with the playerdir and tada...
Reply With Quote
  #16  
Old 08-19-2002, 12:29 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Radients are circles. In my opinion i think thy are a more realistic movement then just 4 directions.
Well, anyways THAT shoot command doesn't use true radients... i dunno how stefan has it set up but there not real radients. I think he should make those radients match true radients.
__________________
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
  #17  
Old 08-19-2002, 03:39 PM
archaonTCN archaonTCN is offline
Registered User
Join Date: Oct 2001
Posts: 239
archaonTCN is on a distinguished road
I find radians impractical; using pi is annoying because there is no set value for it.
Reply With Quote
  #18  
Old 08-19-2002, 07:02 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
pi !

what do you get when you
divide the circumfrence of an apple
by its radius?

apple pi!


hahaha I R B FUNNY!!


omg i am such an experienced NOOB!
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #19  
Old 08-19-2002, 11:39 PM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
Why doesnt Stefan just make an easy command like..

lightcircle=true;

Then it circles without the trouble.. Us bad scriptars
would have lots of fun with that
Reply With Quote
  #20  
Old 08-20-2002, 12:21 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Spectre1337
Why doesnt Stefan just make an easy command like..

lightcircle=true;

Then it circles without the trouble.. Us bad scriptars
would have lots of fun with that
if you can't figure out something like sin/cos just don't script...much easier on your mind and the sanity on those you beg to 'help' you
Reply With Quote
  #21  
Old 08-20-2002, 09:48 AM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
Quote:
Originally posted by Kaimetsu


Yes there is - we just don't/can't know it. In any case, there would be no measurable difference between cos(3.1415926535897932384626433832795) and cos(full_value_of_pi). And even if there were, it's irrelevant; there's an infinite amount of irrational numbers that could be used with degrees too. Besides, radians are a far more logical system of measurement, mathematically speaking. And we all hopefully know how much maths there is in scripting.

Reason upon reason why radians aren't at all inferior to degrees.
SO cos means pi??? omg and cosinus too?
I've been banging my head on the desk cuz I couldnt find what cos meant... All that english math is just too much confusing.
Reply With Quote
  #22  
Old 08-20-2002, 09:54 AM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
Jeez Jagen, I want to learn to script. Just because
I dont know a command or two doesnt mean I
should quit trying.. You could help me
Reply With Quote
  #23  
Old 08-20-2002, 09:57 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by TLG_WL_mechman


SO cos means pi??? omg and cosinus too?
I've been banging my head on the desk cuz I couldnt find what cos meant... All that english math is just too much confusing.
no, cos and sin are more of functions to use when dealing with angles, go to www.math.com to learn how to use it outside of graal script if you are interested
Reply With Quote
  #24  
Old 08-20-2002, 10:05 AM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
Hell yes I wanna learn,... if its gonna help me scripting?
Reply With Quote
  #25  
Old 08-22-2002, 02:02 PM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
Quote:
Originally posted by Kaimetsu
As far as the simple stuff you'll do in Graal is concerned, sin and cos are for taking angles and turning them into x/y vectors.
"As far as the simple stuff you'll do in Graal is concerned" is that an insult? lol

"As far as the simple stuff you'll do in Graal is concerned, sin and cos are for taking angles and turning them into x/y vectors." You mean you could make some super duper thing with sin and cos besides turning angles to x/y (or even z) vectors?

And btw... your sig is showing as a red X.
Reply With Quote
  #26  
Old 08-23-2002, 12:15 AM
TLG_WL_mechman TLG_WL_mechman is offline
Banned
TLG_WL_mechman's Avatar
Join Date: Mar 2002
Location: Québec!
Posts: 661
TLG_WL_mechman is on a distinguished road
Send a message via AIM to TLG_WL_mechman
I know its off topic but I could host your sig;
I got access to mystical marlee's old site's ftp,
Reply With Quote
  #27  
Old 08-23-2002, 12:23 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Quote:
Originally posted by Kaimetsu


I know.
I am able to host your sig. Angel gave me access to her server so I gots unlimited space and stuff (thx a million bazillion times Angel! <3 )
__________________

subliminal message: 1+1=3
Reply With Quote
  #28  
Old 08-23-2002, 07:32 AM
IAMNOTAFREAK IAMNOTAFREAK is offline
Registered User
Join Date: May 2002
Location: IBM Stellar Sphere
Posts: 118
IAMNOTAFREAK is on a distinguished road
Send a message via ICQ to IAMNOTAFREAK Send a message via AIM to IAMNOTAFREAK
up (pi/2)
left (pi) right (2pi)
down (3pi/2)

radians are fun
let me confuse you more, 60 minutes = 1 degree and 3600 seconds does also...
so, 245.5 degrees can be written as 245 degrees and 30 minutes
aren't trigonometry and calculus joyous?
__________________
Crimson


Nocturne...it's coming.
Reply With Quote
  #29  
Old 08-24-2002, 01:21 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
X.x
I wish I could see light effects.
__________________
[signature]insert here[/signature]
Reply With Quote
  #30  
Old 08-24-2002, 01:37 AM
Thript Thript is offline
Registered User
Join Date: Aug 2002
Location: Rimbey, Alberta
Posts: 457
Thript is on a distinguished road
Send a message via ICQ to Thript Send a message via AIM to Thript Send a message via Yahoo to Thript
Why don't you turn them on =\?
__________________

Evolved Studios:
E-mail | Website
Reply With Quote
  #31  
Old 08-24-2002, 03:57 AM
Eban Eban is offline
Registered User
Join Date: Aug 2002
Location: Um, my house?
Posts: 155
Eban is on a distinguished road
Send a message via AIM to Eban Send a message via Yahoo to Eban
Re: watch the pendulum...

Quote:
Originally posted by prozac424242
after some research i find that Tan() is not a graal function so i dont know what the line-thing worked. just sin/cos pattern on x and no change in y i think. yep thats it.

Here's another dandy, arctan() can be fun!
After a couple seconds watch the pendulums drop
and swing, back and forth...
watch them become two, three, eight, back to three, two, one..

and as you watch this for a few minutes say ..

i will send prozac money....
i will send prozac money....
i will send prozac money....
i will send prozac money....

i mean take a look. its psycadelic and got they
pattern for a hynosis state kinda maybe sotra?

Wow, O_o
__________________
Owner of Genesis -Paused till I have a place to host it

Name: Eban
AIM: EbanCK
Email: [email protected]
Reply With Quote
  #32  
Old 08-24-2002, 09:09 AM
Thript Thript is offline
Registered User
Join Date: Aug 2002
Location: Rimbey, Alberta
Posts: 457
Thript is on a distinguished road
Send a message via ICQ to Thript Send a message via AIM to Thript Send a message via Yahoo to Thript
Send a program like that with your voice in the background saying that to eeveryone on your e-mail list ;].
__________________

Evolved Studios:
E-mail | Website
Reply With Quote
  #33  
Old 08-29-2002, 05:38 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
one more

Here is one more.. im still having fun with this!
You may call me lord of the rings (of light)
Attached Files
File Type: nw light-rings.nw (26.4 KB, 215 views)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #34  
Old 09-16-2002, 11:34 PM
Ethic_Sern Ethic_Sern is offline
Banned
Join Date: Aug 2002
Location: NewYork,NY
Posts: 97
Ethic_Sern is on a distinguished road
Send a message via AIM to Ethic_Sern
Yo

Weeeeee everyone likes it =D
Reply With Quote
  #35  
Old 09-17-2002, 01:57 AM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
Lol
__________________
- R0bin
Reply With Quote
  #36  
Old 09-17-2002, 11:50 AM
Knuckles Knuckles is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 580
Knuckles is on a distinguished road
Send a message via AIM to Knuckles
It's pretty cool.. I like it with colors though..
Gray is strange?
__________________
Knuckles
"They say 60% of the time, it works everytime!"
Reply With Quote
  #37  
Old 09-17-2002, 02:56 PM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
Lord of teh lags
__________________
- R0bin
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 02:01 AM.


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