Jump to content

Recommended Posts

Posted

Yes, probably broken. Torque3D seemed to use a proprietary sound system before, but it had to be removed for it to be open source and there are still some things left from the old sound system in the code. I think it was called "FMOD" and it was used for all the ambient sound effects including the underwater one, so you need to develop an open source replacement for it or invent some workaround.

Posted

]you might try this . The only thing weird is when I check the object "audioAmbienceUnderWater" , using , audioAmbienceUnderWater.dump() , its soundtrack field was empty so i added the the soundTest track in the Audioambiences file then executed the file in the console , rechecked and it then showed soundTest in the field But , when I exit the game and restart it the field is again empty and I have to exec() the file again . ?? Anyhow this worked for the audioAmbience for a waterPlane usind ver 3.10

 

[code2=BBCODE40_TORQUESCRIPT]//art/datablocks/audioProfiles.cs

 

 

datablock SFXProfile(SoundTest) // ------OOPS edit I'd put in TestSound

{

filename = "art/sound/envrionment/amb.ogg";// ---------or whatever file you have

description = AudioLoop2D;

preload = true;

};

 

 

 

//--------------------------------------------------

 

 

 

//scripts/client/audioambiences.cs

 

 

singleton SFXAmbience( AudioAmbienceUnderwater )

{

environment = AudioEnvUnderwater;

soundtrack = "soundTest";//---------------------------Add a track to this file+++++++++++++++++

states[ 0 ] = AudioLocationUnderwater;

};[/code2

Posted

I think it is the environment sound effects that do not work, because they require FMOD. The environment sound effect are not a file that is played, but they modify how all sounds sound, it is an important thing sometimes in game design to have a cave sound like a cave or a hallway sound like a hallway. But I'm not sure how it works, I only know those from other engines, like Half-Life for example.

Posted

Looks like we had the exact same discussion in the past, but you have to ask him yourself. His last post was about that he made a pull request, so you have to look for it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...