anachronox-sdk/docs/planet/17.html
2002-01-21 00:00:00 +00:00

46 lines
2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>Anachronox Editing Documentation</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#EFEFEF" LINK="#00FFFF" ALINK="#FFFFFF" VLINK="#05F3D0">
<CENTER>
<P>
<FONT FACE="Helvetica">
<FONT COLOR="#0055DD"><B>Tutorial 17: More Useful cmd Commands - Sound & Music</B>
</FONT>
</CENTER>
<P>
<HR>
<BR>
Level music is set in APE. If you wanna fade it out for a scene use these 2 commands</BR>
<P>
<FONT COLOR="#0055DD">PAUSELEVELMUSIC</FONT></BR>
This will fade out the currently playing music. BUT technically it is still playing in the background with volume set to zero. This is a permanent command so set the music back with:</BR>
<FONT COLOR="#0055DD">RESUMELEVELMUSIC</FONT></BR>
Usually used at the end of the script</BR>
<P>
<FONT COLOR="#0055DD">SOUNDCENTER=[path,volume(0-1)]</FONT></BR>
To play any sound regardless of 3d sound play it on the center channel, using this command. Mp3s can be played as well. These files will continue playing even AFTER the script has ended! Until the sound is finished.</BR>
Use soundcenterstop to stop anox from playing the sound.</BR>
Ex.</BR>
Soundcenter=cine\krapton\kraptonexplosion.wav,.7</BR>
soundcenter=sound\dialog\boots\mp3\boots_flash3_l13p_nomagpie.mp3,.6</BR>
<P>
<FONT COLOR="#0055DD">SOUNDCENTERLOOP=[path, volume(0-1)]</FONT></BR>
To Loop any sound regardless of 3d sound play it on the center channel, using this command. Mp3s can be played as well. These files will continue playing even AFTER the script has ended! These sound will NEVER Stop playing until soundcenterstop is used. USE with caution.
<P>
<FONT COLOR="#0055DD">SOUNDCENTERSTOP=[path]</FONT></BR>
Ex.</BR>
Soundcenter=cine\krapton\kraptonexplosion.wav</BR>
<P>
<FONT COLOR="#0055DD">MASTERFADE=[?]</FONT></BR>
I forgot how this worked, but it would fade out ALL sound, including ambients. You MUST remember to bring back sounds.
<P>
<P>
<P>&nbsp;<P>
</BODY>
</HTML>