Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   light jello - eye candy - (https://forums.graalonline.com/forums/showthread.php?t=36172)

prozac424242 08-18-2002 09:45 AM

light jello - eye candy -
 
1 Attachment(s)
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...

Falcor 08-18-2002 10:03 AM

1 Attachment(s)
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).

Jinx 08-18-2002 10:20 AM

Neat =)

-Jinx

Spectre1337 08-18-2002 10:53 AM

Uh
 
Cool guys.. Try using diffrent colors though x.x

osrs 08-18-2002 01:25 PM

Nice

prozac424242 08-19-2002 04:34 AM

colors!
 
1 Attachment(s)
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

prozac424242 08-19-2002 04:37 AM

psycadelic
 
1 Attachment(s)
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 ..

IAMNOTAFREAK 08-19-2002 06:57 AM

:eek:
ooooo, pretty...

light effects are so much fun :D

bigkow44 08-19-2002 07:25 AM

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!

prozac424242 08-19-2002 08:11 AM

watch the pendulum...
 
1 Attachment(s)
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?

TLG_WL_mechman 08-19-2002 10:41 AM

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?

prozac424242 08-19-2002 10:57 AM

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?

TLG_WL_mechman 08-19-2002 11:01 AM

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

Python523 08-19-2002 11:13 AM

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

TLG_WL_mechman 08-19-2002 11:17 AM

and hwats a radiant?
I dont se why shoot could need an angle... I would make it work with the playerdir and tada...


All times are GMT +2. The time now is 09:22 AM.

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