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 02-13-2004, 03:16 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Ocarina

NPC Code:

//#CLIENTSIDE
if (weaponfired) {
disabledefmovement;
setani ddocarina,;
setplayerprop #P2,ddocarina.gif;
timeout=.05;
}

if (timeout) {
this.key = -1;
for (this.i=0;this.i<4;this.i++)
if (keydown(this.i))
this.key = this.i;
if (this.key!=-1){
play ocarina#v(this.key+4*keydown(5)).wav;
this.song={this.song[1],this.song[2],this.song[3],this.song[4],this.song[5],this.key+4*keydown(5)};
this.song0={2,2,0,3,2,0};
setstring this.warpsong0,havenspar.graal 30.5 32.5;
this.matchsong = 0;
if (this.song == this.song0){
tokenize #s(this.warpsong0);
enabledefmovement;
setani idle,;
this.song={-1,-1,-1,-1,-1,-1};
triggeraction 0,0,serverwarp,#t(0),#t(1),#t(2);
}
sleep 0.1;
}
if (keydown(6)) {
enabledefmovement;
setani idle,;
}
timeout=.05;
}



Some code I made about threeforths of a year back. Conceptual, but simple. Comments Appreciated.
__________________
- Rance Vicious
Reply With Quote
  #2  
Old 02-13-2004, 06:33 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
needs more songs
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #3  
Old 02-13-2004, 06:58 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
T'was a test. Songs wouldn't regularly be made as such, however, seeing as I wanted just to make it functional, I figured that way would temperarly be useful.

More Songs? Well, I didn't really have any use for it.
__________________
- Rance Vicious
Reply With Quote
  #4  
Old 02-14-2004, 12:05 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Lookin' good :-)
<3
__________________
V$:CONFL16T
Reply With Quote
  #5  
Old 02-14-2004, 07:51 PM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
I thought DK Sizzla made that...
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #6  
Old 02-14-2004, 09:51 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Duwul
I thought DK Sizzla made that...
I doubt Rance would steal, DK probably does though..
__________________
V$:CONFL16T
Reply With Quote
  #7  
Old 02-14-2004, 10:33 PM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
I doubt it too.
Oh well.
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #8  
Old 02-14-2004, 11:08 PM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
*blinks*

Erm... I don't recall ever stealing a script. I made that for Doomsday. Never got used. Ask Tifa, if she's still around, if I made the Ocarina.

*blinks some more*

Ohwell... I didn't think DK steals, at least I hope not... I rather not know if DK steals though! I know for one that he won't be working on my server anyways. My server consists of a Programmer (Me?) and someone who can make Graphics, and I'm not about to hire someone who'll be programming. Only people who can "steal" my codes on it is the graphics person, and I'd trust her with my life.

I'll be viewing the other things on the forums, but surely won't post again for a couple of hours! :P
__________________
- Rance Vicious
Reply With Quote
  #9  
Old 02-15-2004, 01:09 AM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
Rance you talk to much.

I believe I asked Tifa who made it, and I think she said DK made it. BTW I think DK quit. However, this was a while ago, and I'm not 100% sure.
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #10  
Old 02-15-2004, 02:06 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
You believe?

Ask Tifa if I made one.
__________________
- Rance Vicious
Reply With Quote
  #11  
Old 02-15-2004, 11:26 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Has any even heard of DK Sizzla, i'm guessing that's him?
I doubt he can script, that good anyways...
__________________
V$:CONFL16T
Reply With Quote
  #12  
Old 02-15-2004, 07:26 PM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Used to work with him on DD.
__________________
- Rance Vicious
Reply With Quote
  #13  
Old 02-15-2004, 08:04 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Termina_Owner
Used to work with him on DD.
Well now it's obvious if it was used he stole, lol..
__________________
V$:CONFL16T
Reply With Quote
  #14  
Old 02-15-2004, 08:34 PM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
Quote:
Originally posted by Termina_Owner
Used to work with him on DD.
As did I. Rance I'm not accusing you of anything, all I'm saying is that Tifa said DK made it.
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #15  
Old 02-15-2004, 09:29 PM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
GAH!... Tell Tifa I made one! Erm... She prolly wouldn't make the differance between mine and DKs, so... Erm... I didn't know DK had one. Ohwell. I don't care, really. I got a lot more codes on my computer.
__________________
- Rance Vicious
Reply With Quote
  #16  
Old 02-15-2004, 09:31 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Termina_Owner
GAH!... Tell Tifa I made one! Erm... She prolly wouldn't make the differance between mine and DKs, so... Erm... I didn't know DK had one. Ohwell. I don't care, really. I got a lot more codes on my computer.
Even if you did steal, but you didnt, you would post it on the forums LOL
Well you wouldn't, other people would..
__________________
V$:CONFL16T
Reply With Quote
  #17  
Old 02-15-2004, 09:37 PM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
WTH? I wouldn't post it if I stole it...

I mean, what more direct way is there to prove we stole the script then posting it for everyone to see, including the initial programmer? That would be just stupid, and I don't swing that way.
__________________
- Rance Vicious
Reply With Quote
  #18  
Old 02-15-2004, 09:38 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Termina_Owner
WTH? I wouldn't post it if I stole it...

I mean, what more direct way is there to prove we stole the script then posting it for everyone to see, including the initial programmer? That would be just stupid, and I don't swing that way.
So I said, well I thought I said..
__________________
V$:CONFL16T
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 07:31 PM.


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