Jump to content
The simFlight Network Forums

ken_f15j

new Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ken_f15j

  1. Hello!

     

    I try to make Lua script that connecting QW787 and VATSIM cliant (vPilot)

    but it does not function.

    Is there any idea ?

    • Using P3Dv4.5, QW787 P3D v1.1.3 and registed FSUIPC5
    • Installed my lua into Prepar3D v4\Scripts folder like that QW787xpnder.lua
    local qw_xpnder = varget("L:QW_AFT_Transponder_Knob", "Enum")
    
    if qw_xpnder == 0 or qw_xpnder == 1 then
    	ipc.writeSB(0x7B91, 1)
    elseif qw_xpnder == 2 or qw_xpnder == 3 or  qw_xpnder == 4 then
    	ipc.writeSB(0x7B91, 0)
    end
    • put "FSUIPC5.ini" in Prepar3D v4\Modules folder as below.
    [Auto]
    1=Lua QW787xpnder
    

     

    made Lua following SquawkBox SDK FSUIPC Offsets, and Qualitywings 787 sim builder kit

    http://www.squawkbox.ca/doc/sdk/fsuipc.php

    http://www.qualitywingssim.com/v.2.0.1.8/Documentation.php

     

×
×
  • 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.