737Andi

Trigger soundfile on touchdown

Recommended Posts

Hello,

 

I would like to have some passengers applauding and clapping hands on touchdown.
Is there any way to implement this into Prepar3d?

Thanks!

Best regards

Andreas

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

5 minutes ago, 737Andi said:

Hello,

 

I would like to have some passengers applauding and clapping hands on touchdown.
Is there any way to implement this into Prepar3d?

Thanks!

Best regards

Andreas

Yes, do you have the sound recorded already as a .WAV file? if so I can tell you how..

Regards,
Simbol

Share this post


Link to post

No..at the moment I don't have such a soundfile.
Can you describe the process of triggering such a file here in the forum?

Share this post


Link to post

I found a suitable file in the meantime :)

Share this post


Link to post
17 minutes ago, 737Andi said:

I found a suitable file in the meantime :)

You will need to open the Aircraft.cfg of the file you want to enable this for, find the [EFFECTS] sections:

[EFFECTS]
wake=fx_wake
water=fx_spray
dirt=fx_tchdrt
concrete=fx_sparks
touchdown=fx_tchdwn, 1

Some of your flyable aircraft will have an effect already, others don't.. for the ones that have one you need to find the effect file to enable sounds pointing at your .WAV sound. If it doesn't have an effect you will need to create one, full information about how to create / modify effects can be found here: http://www.prepar3d.com/SDKv4/LearningCenter.php  but basically you need to add a [sound] section for the effect like this

[sound]
minatteuationdistance=0
filename=xxxxxx.WAV

Have fun..,

Please note you cannot distribute anything you do without the permission of the original airplanes developers.

Regards,
S.

Edited by simbol

Share this post


Link to post

P3d has the following 2 touchdown effects files in the effect Folder:

fx_tchdwn.fx  and fx_tchdwn_s.fx

Where would you recommend to add the lines:

[sound]
minatteuationdistance=0
filename=xxxxxx.WAV

Do I need to add the line touchdown=fx_tchdwn_s, 1 here as well to make the _s file working?-->

[EFFECTS]
wake=fx_wake
water=fx_spray
dirt=fx_tchdrt
concrete=fx_sparks
touchdown=fx_tchdwn, 1
touchdown=fx_tchdwn_s, 1

Edited by 737Andi

Share this post


Link to post

The sound section goes inside the effect file of your preference.

You only need to add 1 touchdown effect.

S.

Share this post


Link to post

Pretty much,

But note these are FSFX Packages effects created by OLDPro and It is protected content, please edit your post and remove the effect source code from public view.

They are also dynamic effects that can change at run time and therefore on this particular case your solution might not work.

Regards,
S.

 

 

Share this post


Link to post

This isn’t totally related but may give someone a laugh.

After a particulary heavy landing in a 737  I heard the Purser remark “was that a landing or were we shot down”

Cracked all of us up who were in earshot.

 

  • Upvote 2

Share this post


Link to post
On 11/2/2018 at 6:17 PM, simbol said:

They are also dynamic effects that can change at run time and therefore on this particular case your solution might not work.

 

Actually you are right...it doesnt work 😞

Do you have any other idea to make this work?

Share this post


Link to post
1 hour ago, 737Andi said:

Actually you are right...it doesnt work 😞

Do you have any other idea to make this work?

You cannot make it work with this method while using FSFX precipitation effects.

The other methods requires SimConnet code, which is more complicated, why you don't suggest to Kevin to add sounds? He might listen to your request. He is very good with customers.

Regards,

Simbol 

Share this post


Link to post

I highly encourage @737Andi to remove the content of our effect files from this forum. Thank you.

Share this post


Link to post
On 11/4/2018 at 8:03 AM, 737Andi said:

Actually you are right...it doesnt work 😞

Do you have any other idea to make this work?

Do you have a registered version FSUIPC?

 

Share this post


Link to post
13 hours ago, Keven Menard said:

I highly encourage @737Andi to remove the content of our effect files from this forum. Thank you.

I would really love to do this but I cannot see an edit button 😞

If possible can an Admin do this for me?

Thx!

Share this post


Link to post

Yes I do have a registered FSUIPC.

Edited by 737Andi

Share this post


Link to post

I think I have pretty much done what you require using a .lua script. Maybe a little simple, but it appears to work OK for me. (Not too much testing done.)

How do you feel about using .lua scripts in FSUIPC?

 

 

Edited by ccb777
speeling
  • Like 1

Share this post


Link to post
15 hours ago, Keven Menard said:

I highly encourage @737Andi to remove the content of our effect files from this forum. Thank you.

Post has been removed.

  • Like 1
  • Upvote 1

Share this post


Link to post

@Jim Young

I understood that I did something wrong and stupid and therefore I politely asked you to remove my post since I did not know how to do this on my own.
 

Quote

 would really love to do this but I cannot see an edit button 😞

If possible can an Admin do this for me?

Therefore I cant understand why it was necessary to additionally ban me from replying in this forum for 2 days ???
 

In the meantime I have found a solution to trigger the sound file by using a lua script, which I found here:

https://www.avsim.com/forums/topic/469334-landing-rate-plugin-for-fsuipc-improve-your-landings-fsxp3d/

Thanks to everyone !

Edited by 737Andi

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now