Jump to content

Archived

This topic is now archived and is closed to further replies.

Stefan01

Help needed, failed to change actions.lua for PMDG 777

Recommended Posts

Hi all,

I am not a expert. I tried to change the actions.lua for the PMDG 777.

To change Min Radio Alt needs a lot of rotations of the knob. That is why I added the following lines:

 

 

function EFIS_CPT_MINIMUMS_incfast ()
                local i
                for i = 1, 5 do ipc.control(PMDGBaseVariable +182, 256) end
    DspShow ("MIN", "inc", "EFAS MIN", "inc")
end

function EFIS_CPT_MINIMUMS_decfast ()
local i
    for i = 1, 5 do ipc.control(PMDGBaseVariable +182, 128) end
                DspShow ("MIN", "dec", "EFAS MIN", "dec")
end

 

 

I have written "EFAS MIN" instead of "EFIS MIN" to see if the function is drawn when rotating the knob fast.

But this does not speed up the change of minimum altitude as expected.

Can anyone give me a hint what I did wrong?

 

Thanks a lot

Stefan


regards
Stefan Liebe

Share this post


Link to post
Share on other sites

Hmmm ....

 

The 777 rotaries are very custom from PMDGs side.

But have you tried to change the setting in the FMC:

there is an option to make rotaries behave in two ways (can't remember the naming now)

If you change that, you can dial them with the normal function and they would speed up as far as I remember ...


Guenter Steiner
--------------------------------------------------------------------------------------
LINDA Lua Integrated Non-complex Device Assigning

Betatester for: A2A, Hifi, Simstarter, AivlaSoft 
--------------------------------------------------------------------------------------

Share this post


Link to post
Share on other sites

  • 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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    34%
    $8,560.00 of $25,000.00 Donate Now
×
×
  • Create New...