P1nky
10-16-2008, 09:39 PM
This Tut Will teach you how to use a basic function Scar has.
which is called:
PlaySound(ScriptPath + ' ');
Step 1:
add this where ever you want(Main Loop, which sounds most reasonable).
Step 2:
Now Download the Music you want(Bearshare/Limewire/ect.)
Step 3:
Once you Download the Music you will add the music in the function which would look like this:
PlaySound(ScriptPath + 'JOKER.wav');
---THATS IT HOW TO ADD MUSIC---
-------------------------------------------------------------------------
MOST IMPORTANT:
the file must be .WAV format
there are quite a bit free format converters get the 1 Mp3 to WAV.
I USE:
http://www.nch.com.au/switch/
CLICK TO DOWNLOAD(It Is the Free Version):
http://i36.tinypic.com/kyyxz.gif (http://www.nch.com.au/switch/switchsetup.exe)
NOTE: ALWAYS REMEBER THE FORMAT MUST BE .WAV!!! THATS WHAT IT WILL ACCEPT, NOTHING ELSE!
MORE INFO:
if your song is long, try your best to get a shorter version if not, than get it to overlap by something small, this is what i used in my Powerchopper(AnyWherePowerChopper):
begin
setupsrl;
PlaySound(ScriptPath + 'Whats Love.WAV');//HADDAWAY FTW?
smartSetupex(SmartWorld, True, True, False); PlaySound(ScriptPath + 'Whats Love.WAV');//HADDAWAY FTW?
Wait(10000);
SetTargetDC(SmartGetDC);
PlaySound(ScriptPath +'Spider Pig.WAV'); // I LOVE YOU HOMER LOL!
SRLPlayerForm(True, [], [], [], []);
end;
that should explain all^^^
Whats Love - Aprox. 3 mins long
Spider Pig.WAV- about 10-15 secs long
so i got it to overlap and stops "whats love" and goes to "spider pig", and than it stops.
----------------------------------------------------------------------
How To Release to The Public.
NOTE: i do not know how to download includes/files from site, ask someone who does or post here to tell us thanks.
Step 1) like HTML; you have to save the files in the same folder the script is.
Example:
http://i34.tinypic.com/2mc8206.jpg
Please ignore the txt, imagine that .wav;
okay now, when you get everything in 1 folder(can be anywhere you want).
Step 2)
Now Make a .Rar Symbol should look like:
http://i33.tinypic.com/29f9lq8.jpg
NAME IT WHAT EVER YOU WANT, remember people will be able to see the name you chose!
hope you got downloaded if not heres the website to get it downloaded:
www.rarlab.com/
step 3)
Now drag/or copy all your components(.wav/.txt/.scar)
NOTE: you can put text in there like a READ ME thing , thats what i do:redface:
and Drop/Paste into the .rar you created.
Step 4)
SINCE SRL DOESNT LET YOU ATTACH .RAR (Please Change :) for convienient)
You Must Upload it Use whatever you want i prefer:
www.filefront.com
*Pure Ownage*
Step 5) now your done hope your music file isnt big, if it is try to short it down or people would hate it to wait around 2-4 mins or w/e.
NOW YOUR DONE GUYS
I PRETTY MUCH COVERED MOSTLY EVERYTHING, IF NOT PLEASE TELL ME !
If you want it to pause the script while the sound plays,
wait(GetSoundDuration('sound.wav'));
Thanks For Letting Us KNOW!
REP ME IF YOU LOVE ME!!!! AND READ MY OTHER GUIDES THANKS!
which is called:
PlaySound(ScriptPath + ' ');
Step 1:
add this where ever you want(Main Loop, which sounds most reasonable).
Step 2:
Now Download the Music you want(Bearshare/Limewire/ect.)
Step 3:
Once you Download the Music you will add the music in the function which would look like this:
PlaySound(ScriptPath + 'JOKER.wav');
---THATS IT HOW TO ADD MUSIC---
-------------------------------------------------------------------------
MOST IMPORTANT:
the file must be .WAV format
there are quite a bit free format converters get the 1 Mp3 to WAV.
I USE:
http://www.nch.com.au/switch/
CLICK TO DOWNLOAD(It Is the Free Version):
http://i36.tinypic.com/kyyxz.gif (http://www.nch.com.au/switch/switchsetup.exe)
NOTE: ALWAYS REMEBER THE FORMAT MUST BE .WAV!!! THATS WHAT IT WILL ACCEPT, NOTHING ELSE!
MORE INFO:
if your song is long, try your best to get a shorter version if not, than get it to overlap by something small, this is what i used in my Powerchopper(AnyWherePowerChopper):
begin
setupsrl;
PlaySound(ScriptPath + 'Whats Love.WAV');//HADDAWAY FTW?
smartSetupex(SmartWorld, True, True, False); PlaySound(ScriptPath + 'Whats Love.WAV');//HADDAWAY FTW?
Wait(10000);
SetTargetDC(SmartGetDC);
PlaySound(ScriptPath +'Spider Pig.WAV'); // I LOVE YOU HOMER LOL!
SRLPlayerForm(True, [], [], [], []);
end;
that should explain all^^^
Whats Love - Aprox. 3 mins long
Spider Pig.WAV- about 10-15 secs long
so i got it to overlap and stops "whats love" and goes to "spider pig", and than it stops.
----------------------------------------------------------------------
How To Release to The Public.
NOTE: i do not know how to download includes/files from site, ask someone who does or post here to tell us thanks.
Step 1) like HTML; you have to save the files in the same folder the script is.
Example:
http://i34.tinypic.com/2mc8206.jpg
Please ignore the txt, imagine that .wav;
okay now, when you get everything in 1 folder(can be anywhere you want).
Step 2)
Now Make a .Rar Symbol should look like:
http://i33.tinypic.com/29f9lq8.jpg
NAME IT WHAT EVER YOU WANT, remember people will be able to see the name you chose!
hope you got downloaded if not heres the website to get it downloaded:
www.rarlab.com/
step 3)
Now drag/or copy all your components(.wav/.txt/.scar)
NOTE: you can put text in there like a READ ME thing , thats what i do:redface:
and Drop/Paste into the .rar you created.
Step 4)
SINCE SRL DOESNT LET YOU ATTACH .RAR (Please Change :) for convienient)
You Must Upload it Use whatever you want i prefer:
www.filefront.com
*Pure Ownage*
Step 5) now your done hope your music file isnt big, if it is try to short it down or people would hate it to wait around 2-4 mins or w/e.
NOW YOUR DONE GUYS
I PRETTY MUCH COVERED MOSTLY EVERYTHING, IF NOT PLEASE TELL ME !
If you want it to pause the script while the sound plays,
wait(GetSoundDuration('sound.wav'));
Thanks For Letting Us KNOW!
REP ME IF YOU LOVE ME!!!! AND READ MY OTHER GUIDES THANKS!