Jump to content

Archived

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

guenseli

lib fallback (module version 1.2)

Recommended Posts

This is the so called "fallback" library, means all FSX standard plane assignments which should be the base for any further assignments!

 

I have made little improvments over the last month and will update this file regularly from time to time

 

.I do not know all improvements, but an example is the reverser functions "reverser inc/fast" and "reverser off" which allows to get the reversers off not suddenly with THROTTLE_CUT but a bit slower.Just as an example...

 

You can find an replace the current lib-fallback at

 

Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\linda\libs

 

Just replace the current lib-fallback.lua

(you can of course backup the old one)

 

Here's the link:lib-fallback_v1_2.zip

 

 

There is no new assignment necessary.Have fun!

 

 

 

Upd. August 2012

 

added

open door when addon is loaded.

 

Important! read:

This is default deactivated to avoid confusion!

open lib-fallback.lua with LINDA Editor and go down to the "other" section

There you will find the lines for "open door"

Uncomment two lines by removing the --

In the end the code should read

---------------------------------------------------------------------------------
------ open door when loading
OnGround = ipc.readUW("0366") -- plane on ground?
if OnGround == 1 then ipc.writeUW("3367", 1) end -- if on ground, open door
---------------------------------------------------------------------------------

 

(Disclaimer:

this is not like payware like e.g. "FS Realtime" or whatever it is called.

This function is just setting FS to UTC time when you press the button you assigned with.

It DOES NOT keep your FS synced all over the time!)

 

 

 

Added

function Set UTC.

Does, what the functions name will promise :)

 

Start the function, a dialog is opening: just enter "y" [and Enter] and sim time will be set to UTC (sim will reload). If you want to abort, just press "n" or just "enter"


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

function Set UTC.

Does, what the functions name will promise :)

 

Works beautifully for me!

 

Many thanks, Günter! :smile:

 

Cheers,

 

Brian


Brian747-500x105-Avsim.jpg

 

 

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,650.00 of $25,000.00 Donate Now
×
×
  • Create New...