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, 443 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, 356 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, 321 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, 315 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, 335 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
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 04:44 AM.


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