Jump to content
Sign in to follow this  
stefwei

How to get knob sounds of a plane

Recommended Posts

Hello,

I'm trying to set up a new aircraft module for the Carenado SR22T. This helps me to get used to Linda and Lua-script writing.

I asked myself how getting knob sounds is done. It seems to be that these are FSX/P3D internal controls. But I can't figure out  how to set this up even if I saw in other scripts how this is written in a function.

Can anyone help me ?

Example:

function Ice_Protection_On()
	ipc.writeLvar("SR22_Ice_Protection_Knob", 1)
	ipc.control(_?_)	-- What goes here ?
end

 

Share this post


Link to post
Share on other sites

The LINDA function Sounds(“sound-file”) will play the sound-file.wav in the FltSim/sounds folder. You needs to identify a .wav that provides the switch sound you require. 


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

This solution already appeared in other posts I read here. I'll give it a try. Thanks for helping.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...