Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-27-2003, 08:20 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Look I can move fast!

Fast like a rocket ship!

hehe, just a refurbished old script.
Attached Thumbnails
Click image for larger version

Name:	i_am_really_fast.png
Views:	470
Size:	148.4 KB
ID:	25224  
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #2  
Old 08-27-2003, 10:54 AM
Judge_S Judge_S is offline
A Logic Bot
Judge_S's Avatar
Join Date: Mar 2003
Location: Kelowna, BC, Canada
Posts: 3,953
Judge_S is on a distinguished road
Send a message via ICQ to Judge_S Send a message via AIM to Judge_S Send a message via MSN to Judge_S
Looks like something Angel might use on 2k1, for those who know what I'm talking about.
__________________
Reply With Quote
  #3  
Old 09-01-2003, 12:34 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
geez, if I don't get praise enough for a screenshot I better further my ego and try to get praise by posting script.

Press the up arrow to move forward.

Press the left and right arrows to change direction.


Don't bother if you can't see lights.

If your a decent scripters you can find the variable to control the number of particle thing-im-a-bobs used. Lessen for faster speed. increase for greater detail. (to a point)


The particle script can really be used in nearly unlimited ways. from waterfall things, to fountains. to fires. to rain. to snow. Or the included very dynamic fireball script.
Attached Files
File Type: nw particle_fountain.nw (11.8 KB, 362 views)
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #4  
Old 09-01-2003, 12:43 AM
Deek2 Deek2 is offline
Registered User
Join Date: May 2002
Location: Springfield, Missouri
Posts: 1,578
Deek2 is on a distinguished road
Neato. Even though I don't even script, finding that variable was quite easy.
Reply With Quote
  #5  
Old 09-01-2003, 12:44 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Deek2
Neato. Even though I don't even script, finding that variable was quite easy.
Yes, I figured it would be.

It's just so fun to see. There are so many variables for those particles. You can really do a lot with it.



geez, what do I have to do to get you guys to post comments!!!


POST REPLIES, WONDERS, IDEA'S. FUN FACTS. TRIVIA.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly

Last edited by adam; 09-01-2003 at 05:18 AM..
Reply With Quote
  #6  
Old 09-01-2003, 09:05 AM
Nick1988 Nick1988 is offline
gimped
Join Date: Jun 2003
Location: Key Biscayne, FL
Posts: 1,417
Nick1988 is on a distinguished road
Send a message via AIM to Nick1988
Quote:
Originally posted by adam


Yes, I figured it would be.

It's just so fun to see. There are so many variables for those particles. You can really do a lot with it.



geez, what do I have to do to get you guys to post comments!!!


POST REPLIES, WONDERS, IDEA'S. FUN FACTS. TRIVIA.
Heh, it's cool.
__________________
Back in black.
Damn...One post a day.

AIM: Nick10e
Reply With Quote
  #7  
Old 09-01-2003, 09:28 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Particle effects are always pretty cool. Suggestions:

1) Interpolate between start and end headings when the player is turning, so that the particles are sent out evenly.
2) Increase the variability on the tail when it's moving quickly. It looks more like a blowtorch than a fireball.
3) Don't use so much trigonometry! This could easily be handled with vectors alone.
__________________
Reply With Quote
  #8  
Old 09-01-2003, 10:54 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally posted by Kaimetsu
vectors

*grumbles @ physics teacher* HURRY UP!
__________________

Reply With Quote
  #9  
Old 09-02-2003, 05:54 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
1) Interpolate between start and end headings when the player is turning, so that the particles are sent out evenly.
I think I know what you mean, But not really...

Quote:
2) Increase the variability on the tail when it's moving quickly. It looks more like a blowtorch than a fireball.
Yes, it does constrict the spread upon reaching maximum speed, easily changed.

Quote:
3) Don't use so much trigonometry! This could easily be handled with vectors alone.
Yeah, I could no doubt add another array and use vectors alone. I just wanted to use angles for some reason. I'll prabably change this.

On another note: I learned vectors in trig class?
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #10  
Old 09-02-2003, 06:13 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Uses less trig now, also doesn't constrict to the point of a blow torch when it speeds all the way up.
Attached Files
File Type: nw particle_fountain.nw (12.1 KB, 294 views)
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #11  
Old 09-02-2003, 06:15 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by adam
I think I know what you mean, But not really...
If I constantly rotate the fireball, I should see particles flying out in all directions. Instead they are limited to a few relatively distant angles, making them look more like spokes of a wheel than a smooth, continuous projection. Interpolation could fix that.

Another note: It's often better to use a single array than one for each field, but it'll all change when V3 is released anyway - multidimension arrays rule ^_^
__________________
Reply With Quote
  #12  
Old 09-02-2003, 07:32 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Kaimetsu


If I constantly rotate the fireball, I should see particles flying out in all directions. Instead they are limited to a few relatively distant angles, making them look more like spokes of a wheel than a smooth, continuous projection. Interpolation could fix that.

Another note: It's often better to use a single array than one for each field, but it'll all change when V3 is released anyway - multidimension arrays rule ^_^


Yeah, I used to put everything in one array, but at some point I decided to just use multiple arrays.

I was/am an expert at putting things in one array.

Anyhow, that spokes in a wheel thing kinda goes away after broadening the angle at which they spay at full speed.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #13  
Old 09-02-2003, 03:39 PM
Soul-Blade Soul-Blade is offline
US Marine
Soul-Blade's Avatar
Join Date: Jul 2001
Location: Coeur d'Alene, ID
Posts: 945
Soul-Blade is an unknown quantity at this point
Send a message via AIM to Soul-Blade
Hmm...looks very neat when going slow, but odd at max speed =P. I like it though.

Script also seems rather complicated for the effect shown, but it seems like Kaimetsu has already covered that.
Reply With Quote
  #14  
Old 09-02-2003, 07:16 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Soul-Blade
Hmm...looks very neat when going slow, but odd at max speed =P. I like it though.

Script also seems rather complicated for the effect shown, but it seems like Kaimetsu has already covered that.

The script was made to be dynamic.

You can easily make it do whatever kind of particle effect you want.


Maybe it wouldn't be so complicated if I commented it all better.
Although I did comment the parts that would be changed to vary the effect.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #15  
Old 09-02-2003, 07:32 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Extreme commenting now included.
Attached Files
File Type: nw particle_fountain.nw (14.7 KB, 288 views)
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:48 PM.


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