home *** CD-ROM | disk | FTP | other *** search
- // Channel assignments (channel 0 is unused in-game).
- $GuiAudioType = 1;
- $SimAudioType = 2;
- $MessageAudioType = 3;
- new AudioDescription(AudioMusic)
- {
- volume = 0.8;
- isLooping= false;
- is3D = false;
- type = $MusicAudioType;
- };
-
- new AudioProfile(AudioIntroMusicProfile)
- {
- filename = "control/data/sound/twlogo.wav";
- description = "AudioMusic";
- preload = true;
- };
- function PlayMusic(%handle)
- {
- if (!alxIsPlaying(%handle))
- alxPlay(%handle);
- }
-
- function StopMusic()
- {
- alxStopAll();
- }
-
-
- new AudioDescription(AudioGui)
- {
- volume = 1.0;
- isLooping= false;
- is3D = false;
- type = $GuiAudioType;
- };
-
- new AudioDescription(AudioMessage)
- {
- volume = 1.0;
- isLooping= false;
- is3D = false;
- type = $MessageAudioType;
- };
-
- new AudioProfile(AudioButtonOver)
- {
- filename = "~/data/sound/buttonOver.wav";
- description = "AudioGui";
- preload = true;
- };
-