Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-30-2004, 03:43 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
New Script Commands For Music

I thought up some fairly good ideas for some new commands:

Command 1:
play2 index,filename,x,y;
syntax: play2 var,string,var,var;

Description:
This could allow for more then one music file to be played (I don't no if you can or not with play at once. The filename would only be able to be mp3 or wav files. You could also do the following commands because of the index.



Command 2:
changemusicequil index,bass,tenor,midtone,alto,treble;
syntax: changemusicequil var,var,var,var,var,var;

Description:
(I think tenor is lower then alto right?)
This will make it so you can set the equilize for a sound or music file to allow for more bass or what not. You could maybe make a speaker system using this . This would also allow you to make sounds more radio style using radio npcs? (By making it most or all midtone). The defualt numbers for the bass,tenor,midtone,alto and tredle would be 0.5 and 1 would be the max and 0 would be the min.



Command 3:
changemusiceffect index,decay,echodecay,echolength;
syntax: changemusiceffect var,var,var,var;

Description:
This will allow you to set the envoroment and such for sounds like if you want it to carry far and echo in a stone corridor. The decay would be 1 by default (0 min, no max) and would set how much the sound decays over a distance. For example: If you made it 0.2 or so it would sound really loud (if the volume was high) up close but really quiet 10 tiles away. Same goes the other way around: If you had the decay at a high number like 10, it would sound almost the same volume for a very far distance. Echo decay is at 1 by default and would set how much lower the volume goes down for each echo. Example: A high number would make a very noticable echo that would last a long time because it would take forever to fade away. Vice-versa, a small number would make it sound very dull and flat like i the middle of some plains. Echo length determins the time it takes between each echo. 1 is the default. Ex: Low length would be like a small inclosed, indoor place that would make the echo very short but still have quality. A high number would be like a valley or a canyon, where the echo travels a far distance before coming back to you.



Command 4:
changemusicvolume index,left,right;
syntax: changemusicvolume var,var,var;

Description:
This would just ajust the volume of the music for either/or speaker.



Variable 1:
musicpos(index);
syntax: musicpos(var);

Description:
Would find the position in the song in seconds. You can also change the position of the song (You select the song from the index) by doing: musicpos(i)=var;
This would work for sounds too.


Tell me what you think of these ideas please!
I plan to update this top post more so keep checking back =)
__________________
Do it with a DON!

Last edited by zokemon; 03-30-2004 at 06:17 AM..
Reply With Quote
 


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


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