Jump to content
The simFlight Network Forums
Emile B.

Reload LUA plug-in after editing

Recommended Posts

Is it possible to refresh a lua plug-in without having to reload the aircraft that uses it ?  I am editing a lua plug-in that I wrote for the PMDG NGX to use it with the PMDG NGXu.  Testing modifications currently requires me to restart P3DV4.5 as PMDG aircraft can't be loaded over the top of one another, which is rather time-consuming.  Sorry if this has already been asked, but I did search the forum to begin with, to no avail.  Any help much appreciated.

Thanks,
Emile Bax.

Share this post


Link to post
Share on other sites

Hi,

as soon you have a Lua file in your ..\Modules\ folder you can define Keys or Buttons to different functions to it. Just i.e. define a Key and search for your Lua file, then you will find all sorts of functions you can choose from (Kill / Start / Set / Toggle / ... ). This will do what you are looking for.

Thomas

Share this post


Link to post
Share on other sites

Hi Emile,

in addition to what Thomas has said, you can also reload your assignments by using the 'Reload all assignments' button in the Axis Assignment tab, or the 'Reload all buttons' button in the Buttons & Switches tab.

Cheers,

John

Share this post


Link to post
Share on other sites
10 hours ago, John Dowson said:

Hi Emile,

in addition to what Thomas has said, you can also reload your assignments by using the 'Reload all assignments' button in the Axis Assignment tab, or the 'Reload all buttons' button in the Buttons & Switches tab.

Cheers,

John

Thanks a lot, John !

Regards,
Emile.

Share this post


Link to post
Share on other sites
11 hours ago, Thomas Richter said:

Hi,

as soon you have a Lua file in your ..\Modules\ folder you can define Keys or Buttons to different functions to it. Just i.e. define a Key and search for your Lua file, then you will find all sorts of functions you can choose from (Kill / Start / Set / Toggle / ... ). This will do what you are looking for.

Thomas

Thanks a lot, Thomas !

Regards,
Emile.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.