Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tones!? (https://forums.graalonline.com/forums/showthread.php?t=11197)

aesquivel 09-05-2001 04:13 AM

Tones!?
 
okay i need a little help i dont wanna know the script for the instuments onG2K1 but i would like ta know how ta make the tones and dot worry every 1 im not trying ta steal the npc so i would appreciate some thelp THANX:D :confused:

joseyisleet 09-05-2001 04:33 AM

hmm.
 
i think it would be something like
if (keydown(1)){playmidi midifile;}

but i may be wrong
=X

General 09-05-2001 05:13 AM

no its

if (keydown(0)) setani sex,1.wav;

ownerofbabylon 09-05-2001 06:26 AM

i think he means the real tones. Umm I was wondering too. I guess from keyboards or websites =/

aesquivel 09-05-2001 07:40 AM

GAAaAAAAAAAAAAAAAAaaaaaaa
 
u ppl are stupid accept whats his face i mean teh real tones used fo the instruments :grrr: :grrr: :grrr:

konidias 09-05-2001 08:43 AM

There are keyboard software programs that have over 200 instruments on them.. you could always look on download.com :)

aesquivel 09-05-2001 09:57 AM

Quote:

Originally posted by konidias
There are keyboard software programs that have over 200 instruments on them.. you could always look on download.com :)




well does any 1 know where i can get this at?:confused:

Yakuna2001 09-05-2001 06:37 PM

Quote:

Originally posted by Kaimetsu
I'm not gonna help you because of the stupidity of your sig.
lol :spam: :p

ownerofbabylon 09-06-2001 02:46 AM

my keyboard doesnt hook up to my comp =..(

Yakuna2001 09-06-2001 03:04 AM

Quote:

Originally posted by ownerofbabylon
my keyboard doesnt hook up to my comp =..(
most modern keyboards that have more than 4 pctaves have a midi port on the back which you can use to hook to your comp. if you have more than 4 octaves and it doesnt have a midi port, it is either 50 years old, or just really ****.

entravial 09-06-2001 03:41 AM

~AlphaFlame~

If you make an instrument script... for the love of god, don't use if (keydown(1)) and if (keydown(2)) and so on x.x

If you want a nice script... ah hell, here...

NPC Code:
if (playertouchsme){
toweapons ¤ Ocarina;
}
if (weaponfired || keydown(4) && strequals(#w,¤ Ocarina)){
this.mode=1-this.mode;
timeout=.05;
}
if (timeout && this.mode=1){
freezeplayer .05;
for (i=0;i<4;i++){
if (keydown(i) && !keydown(5)){play ocarina#v(i+1).wav;}
if (keydown(i) && keydown(5)){play ocarina#v(i+5).wav;}
}
timeout=.05;
}



This is, of course, assuming you have the .wav files of ocarina1 through ocarina8... you can modify the instrument, just make sure they all end in a number from 1-8 :D

And to do instruments, I suggest doing something as simple as getting:
a) Good midi sound card
b) Good sound recording program
And then hooking the in/out sound ports together and recording the midi into a .wav :megaeek:

*sits back and waits for Kaimetsu to point something out that he did wrong or not exactly perfect in script*

aesquivel 09-06-2001 04:47 AM

oaky lets try this again how about des any 1 know the script for any of te instruments to i can do some serious remodleing of it and make it BETTER :)
and does any 1 have a program that generates different kinsd of sounds for different things or does any 1 know where i ca get 1 and i dont mean like www.download.com i mean the website name

thanx:grrr: :asleep:

entravial 09-06-2001 05:23 AM

Quote:

oaky lets try this again how about des any 1 know the script for any of te instruments to i can do some serious remodleing of it and make it BETTER
Look at my last post :-P

Even has a very minor lil buggy in it that you can work out XD

Unless you mean the G2k1 script :megaeek:

SSj_Link 09-06-2001 06:13 AM

Quote:

Originally posted by aesquivel
oaky lets try this again how about des any 1 know the script for any of te instruments to i can do some serious remodleing of it and make it BETTER :)
and does any 1 have a program that generates different kinsd of sounds for different things or does any 1 know where i ca get 1 and i dont mean like www.download.com i mean the website name

thanx:grrr: :asleep:

LoL http://zorgonline.cjb.net has all the instruments I believe :)


FrEaKy CaRnIe

ownerofbabylon 09-06-2001 07:30 AM

Quote:

Originally posted by Yakuna2001

most modern keyboards that have more than 4 pctaves have a midi port on the back which you can use to hook to your comp. if you have more than 4 octaves and it doesnt have a midi port, it is either 50 years old, or just really ****.

whats a...midi port look like? and do u need software?


All times are GMT +2. The time now is 02:34 AM.

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