Sign in to follow this  
FBENSA

Knobe mode toggle

Recommended Posts

Hi,

 

Could you tell me how to return to the "KNOBE MODE TOGGLE" function when the assignement is "empty"on the line press to have again the mode A and B.

 

Thanks for your answer.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi FBENSA

 

I'm not sure what you are asking. If you are talking about switching between the A and B options on some Knobs then I have not worked out that for myself.

 

What version of LINDA and MCP Combo are you using?

Share this post


Link to post
Share on other sites

Hi

 

I use linda 1.13 with MCp Combo 1. My problem is to get again "KNOB MODE TOGGLE" assignement in front of "Press" after unfortunately delete it.

 

Thanks for your help.

Share this post


Link to post
Share on other sites

Hi FBENSA

 

I understand what you mean now. The function KNOB_MODE_toggle is in common.lua and is not directly selectable. You will need to edit your MCP config file manually.  Care is required.

 

Open the LINDA Editor. Open file FSX\linda-cfg\aircrafts\{your aircraft}\config-mcp.lua.  Find the Knob entry you have incorrectly deleted (eg. EFIS MINS knob). Find the line ["PRESS"] = empty. Replace empty with KNOB_MODE_toggle.  Make sure the line ends with a comma (,). Save file. Go you LINDA and click Reload Lua Engine.  That should have fixed it.

 

Alternatively, edit the User Library (FSX\modules\linda\libs\lib-user) to add the following function:

 

function My_KNOB_MODE_toggle ()

    KNOB_MODE_toggle()

end

 

After saving you can select your new function from the LIB-User.

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