Is alxPlay part of TGEA1.7.1 - not found
by Andy Hawkins · in Technical Issues · 08/15/2008 (6:15 pm) · 6 replies
When I try to use this command it fails, unable to find the function. Surely alx is built into Torque?
Quote:
scriptsAndAssets/client/init.cs (167): Unable to find function alxPlay
datablock AudioProfile(MusicSoundtrack)
{
fileName = "~/data/sound/fx/RunningPsychoman-Subliminal.ogg";
description = "MusicLooping";
preload = true;
};
function MainMenuGui::onWake(%this)
{
// Play music...
$musicHandle = alxPlay(MusicSoundtrack);
}
#2
08/17/2008 (5:52 pm)
Thanks Tom. I will try it out.
#3
#tom#
I have problems with some ogg. In wav working properly.
Can you tell me the desirable regulation for converting a sound to ogg format please?
I use ogg vorbis in VBR Quality 4 (128kbps/s)
Thanks :)
08/29/2008 (10:55 am)
Hi Andy and tom #tom#
I have problems with some ogg. In wav working properly.
Can you tell me the desirable regulation for converting a sound to ogg format please?
I use ogg vorbis in VBR Quality 4 (128kbps/s)
Thanks :)
#4
08/29/2008 (1:10 pm)
@Dimitris - There is a bug in the 1.7.1 ogg implementation and if your ogg file has embedded comments things will often get screwed up. Check your encoder settings or try another encoder. This will be fixed in the next TGEA release.
#5
09/02/2008 (4:43 am)
Thanks tom :)
#6
09/02/2008 (5:56 am)
Might I recommend Plastic Gem 4 Portability we designed an Audio Manager that handles both ALX and SFX calls
Associate Tom Spilman
Sickhead Games
TGEA 1.7.1 and above uses a new sound system.
Replace AudioProfile with SFXProfile, AudioDescription with SFXDescription, and alxPlay with sfxPlay. In general thats most of all you need to know. Audio and ALX change to SFX.
Not sure where the new sound system docs are, but i'm asking GG about it.