problem about the flying vehicle`s weapon sound and the engine sound
by FanZhang · in Torque Game Engine Advanced · 05/08/2009 (8:43 am) · 2 replies
Now I am using the TGEA 1.7.0,but have some problem about the vehicle`s sound.the first one is
the flying vehicle`s weapon`s problem is:
i set a datablock like this:
datablock SFXProfile(BlasterFireSound)
{
filename = "~/data/sound/Blaster/Blaster";
description = AudioDefault3d;
preload = true;
};
and when the audioDefault3d`s is3D seted to true,the sound not come out,but when i set to false the sound work now but have no any 3d effect,i want this sound has 3D effect.what`s that problem.
And the second one is about the vehicle engine sound,when i set a sfxprofile and add it to a flying engine sound,but it not work,what`s going on?How can i fix it?here is my profile and description datablock
// continous engine sound
datablock SFXProfile(ScoutEngineSound)
{
filename = "~/data/sound/scout/jet_engine";
description = AudioDefaultEngineLooping3d;
minDistance = 10.0;
maxDistance = 140.0;
preload = true;
};
datablock SFXDescription(AudioDefaultEngineLooping3d)
{
volume = 1.0;
isLooping= true;
//mIsStreaming = true;
is3D = true;
ReferenceDistance= 70.0;
MaxDistance= 500.0;
channel = $SimAudioType;
};
And the last question is i set a sound to a jetSound that can do well but when play a while the sound becomes wired,sometime come out sometimes just silent,and sometimes make clouder,what is the way to fix it.
thnx:)
the flying vehicle`s weapon`s problem is:
i set a datablock like this:
datablock SFXProfile(BlasterFireSound)
{
filename = "~/data/sound/Blaster/Blaster";
description = AudioDefault3d;
preload = true;
};
and when the audioDefault3d`s is3D seted to true,the sound not come out,but when i set to false the sound work now but have no any 3d effect,i want this sound has 3D effect.what`s that problem.
And the second one is about the vehicle engine sound,when i set a sfxprofile and add it to a flying engine sound,but it not work,what`s going on?How can i fix it?here is my profile and description datablock
// continous engine sound
datablock SFXProfile(ScoutEngineSound)
{
filename = "~/data/sound/scout/jet_engine";
description = AudioDefaultEngineLooping3d;
minDistance = 10.0;
maxDistance = 140.0;
preload = true;
};
datablock SFXDescription(AudioDefaultEngineLooping3d)
{
volume = 1.0;
isLooping= true;
//mIsStreaming = true;
is3D = true;
ReferenceDistance= 70.0;
MaxDistance= 500.0;
channel = $SimAudioType;
};
And the last question is i set a sound to a jetSound that can do well but when play a while the sound becomes wired,sometime come out sometimes just silent,and sometimes make clouder,what is the way to fix it.
thnx:)
About the author
Torque Owner Gerald Fishel
Development Ninja