Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-03-2007, 05:05 AM
Kyranki Kyranki is offline
Freelance Coder
Join Date: Aug 2007
Location: At the end of the rainbow, in the pot of gold.
Posts: 202
Kyranki is on a distinguished road
Send a message via AIM to Kyranki Send a message via MSN to Kyranki
Key-Utilizing Spell System

* Quick Note
I've only made a base version of this system, which would be the key-detection, and such. I've left quite alot of comments, and if you find them bad (I know they're bad) or not-understandable. Feel free to contact me any way you need.

Ok, this spell system was created around the premise of starting a spell activation by pressing the space bar, pressing a number of keys in combination in a specific order and then pressing the space bar to end the spell all in a set time limit. Seeing as this has only been done maybe twice (to my knowledge) on Graal, I figured it was somewhat unique.

This script only contains the key-detection, casting countdown, a real time visual representation of the countdown, and a boatload of comments.

Any questions? Contact me.
Attached Files
File Type: txt KeyPressedSpells.txt (5.2 KB, 555 views)
__________________
Stan.
Reply With Quote
  #2  
Old 09-03-2007, 07:43 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by Kyranki View Post
Seeing as this has only been done maybe twice (to my knowledge) on Graal, I figured it was somewhat unique.
Why ruin something unique by releasing it to the world? D:
Reply With Quote
  #3  
Old 09-03-2007, 08:10 AM
Kyranki Kyranki is offline
Freelance Coder
Join Date: Aug 2007
Location: At the end of the rainbow, in the pot of gold.
Posts: 202
Kyranki is on a distinguished road
Send a message via AIM to Kyranki Send a message via MSN to Kyranki
Typo Error:

This is a "Key-Utilizing Spell Casting System"
__________________
Stan.
Reply With Quote
  #4  
Old 09-03-2007, 05:31 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Did I get any credits?
I gave you the idea for the keys ;o
__________________
Reply With Quote
  #5  
Old 09-03-2007, 05:46 PM
Kyranki Kyranki is offline
Freelance Coder
Join Date: Aug 2007
Location: At the end of the rainbow, in the pot of gold.
Posts: 202
Kyranki is on a distinguished road
Send a message via AIM to Kyranki Send a message via MSN to Kyranki
Quote:
Originally Posted by Chompy View Post
Did I get any credits?
I gave you the idea for the keys ;o
Actually Konidias did when I read the Oasis thread long ago.
__________________
Stan.
Reply With Quote
  #6  
Old 09-03-2007, 06:04 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Kyranki View Post
Actually Konidias did when I read the Oasis thread long ago.
bah, I reminded you
__________________
Reply With Quote
  #7  
Old 09-03-2007, 06:23 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
hu? is this from kingdoms or something?

whats with the:
if (this.iscasting == true) {
// Checks if you are currently casting a spell.
__________________
**FLIP OUT**
Reply With Quote
  #8  
Old 09-03-2007, 06:28 PM
Kyranki Kyranki is offline
Freelance Coder
Join Date: Aug 2007
Location: At the end of the rainbow, in the pot of gold.
Posts: 202
Kyranki is on a distinguished road
Send a message via AIM to Kyranki Send a message via MSN to Kyranki
Quote:
Originally Posted by Chompy View Post
bah, I reminded you
<3 Log on to DevDeCeaseD

Quote:
Originally Posted by theHAWKER View Post
hu? is this from kingdoms or something?

whats with the:
if (this.iscasting == true) {
// Checks if you are currently casting a spell.

No it isn't from Kingdoms, I made it myself. o_O And it explains what it does below that. It's a bit obvious because it SAYS what the line does UNDER it. o_O
__________________
Stan.
Reply With Quote
  #9  
Old 09-03-2007, 06:35 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by theHAWKER View Post
hu? is this from kingdoms or something?

whats with the:
if (this.iscasting == true) {
// Checks if you are currently casting a spell.
How does that one line make you think of kingdoms?

Quote:
Originally Posted by Kyranki View Post
<3 Log on to DevDeCeaseD
Staff only -_-
Reply With Quote
  #10  
Old 09-03-2007, 07:02 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Horrified View Post
Why ruin something unique by releasing it to the world? D:
What makes you think anything you or another person makes is too good for the community? That's arrogance.
__________________
Reply With Quote
  #11  
Old 09-03-2007, 08:06 PM
Kyranki Kyranki is offline
Freelance Coder
Join Date: Aug 2007
Location: At the end of the rainbow, in the pot of gold.
Posts: 202
Kyranki is on a distinguished road
Send a message via AIM to Kyranki Send a message via MSN to Kyranki
Quote:
Originally Posted by Twinny View Post
Staff only -_-
I was talking to Chompy >:O

Quote:
Originally Posted by Inverness View Post
What makes you think anything you or another person makes is too good for the community? That's arrogance.
No comment?
__________________
Stan.
Reply With Quote
  #12  
Old 09-07-2007, 01:41 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by Inverness View Post
What makes you think anything you or another person makes is too good for the community? That's arrogance.
No, if something is unique it's something different.

I can go and re-make mining for you like every other playerworld does it or I can make a new one, but release it and then leave it to be used by every single playerworld owner that logs on.

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


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