Board index FlightGear Development Effects and shaders

Bomb Explosion sound FX for submodels

An exciting "new" option in FlightGear, that includes reflections, lightmaps, the particle system etc.. A lot is yet to be discovered/implemented!

Bomb Explosion sound FX for submodels

Postby Raptor » Wed Aug 29, 2012 10:23 am

i was trying to add sound effect for a bomb explosion using below code in Sound.xml, but i am not getting it

Code: Select all
<crash>
       <name>Bomb Explosion</name>
       <condition>
                <property>sim/ai/aircraft/collision/cannon</property> 
               <!--  Also tried      property  = sim/ai/aircraft/impact/bomb      not working -->
       </condition>
       <path>Aircraft/MiG-21bis/Sounds/bombExplo.wav</path> 
</crash>


is my condition in <property> correct :?:
Raptor
 
Posts: 125
Joined: Fri Apr 15, 2011 4:27 pm
Location: VAGO
Callsign: Raptor
Version: 2019.1.1
OS: Windows 10 64bit

Re: Bomb Explosion sound FX for submodels

Postby erik » Wed Aug 29, 2012 11:30 am

To be honest I'm not entirely sure that sub-models can produce sound at this moment. Actually I don't think so.
I did add it to the AI models and didn't want to stress OpenAL too much yet since some implementation can only handle just a few sources (32 or even 16).

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2248
Joined: Thu Nov 01, 2007 2:41 pm

Re: Bomb Explosion sound FX for submodels

Postby Raptor » Wed Aug 29, 2012 12:04 pm

erik wrote in Wed Aug 29, 2012 11:30 am:To be honest I'm not entirely sure that sub-models can produce sound at this moment
Erik


i have manage to add sound for bomb release & its working

now i want sound FX for explosion after impact
Raptor
 
Posts: 125
Joined: Fri Apr 15, 2011 4:27 pm
Location: VAGO
Callsign: Raptor
Version: 2019.1.1
OS: Windows 10 64bit

Re: Bomb Explosion sound FX for submodels

Postby erik » Wed Aug 29, 2012 3:03 pm

Release sounds are part of the main (or AI) aircraft.
After release it's a sub-model which I don't think can emit sound effects at the moment.

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2248
Joined: Thu Nov 01, 2007 2:41 pm


Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 2 guests