Jump to content
The simFlight Network Forums

adnanso

Members
  • Posts

    14
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by adnanso

  1. Hello everyone, 

     

    If you like me, want to remove pilots and crew from the boarding process, GSX offers no direct way to do it, but the manual lists LVARS that can be used by third party devs to achieve the same goal, which means, it can be done through FSUIPC :

    just add the following line to myevents.txt file in FSUIPC folder (create it if it doesn't exist):

    FSDT_GSX_PAX_ONLY#1 (>L:FSDT_GSX_PILOTS_NOT_DEBOARDING) (SLEEP:100) 1 (>L:FSDT_GSX_CREW_NOT_DEBOARDING) (SLEEP:100) 1 (>L:FSDT_GSX_PILOTS_NOT_BOARDING) (SLEEP:100) 1 (>L:FSDT_GSX_CREW_NOT_BOARDING)

    then start fsuipc and assign a button -or a key press- as follows :

    image.png.10520f43ba2e7d30e58fa5f3bfc3087c.png

    now all you have to do is to press that button just before asking for boarding or deboarding and voilà! 

    • Like 2
  2.  

     

    1 hour ago, mtjoeng said:

    How do I/what's the simplest to create PMDG events functions list/file/luas/mcro to assign in Fsuipc (I'm a bit confused and rusty)
    extracting is possible from LINDA PMDG action.lua, the ipc.control parameters for PDMG rotor brake (PMDG_EVT 66587)

    useful f.i.:
    PMDG_GLSD_MCP_AP_VNAV    38601
    PMDG_GLSD_MCP_AP_LVLCHG    39101
    PMDG_GLSD_MCP_AP_HDGSEL    39201
    PMDG_GLSD_MCP_AP_LNAV    39701
    PMDG_GLSD_MCP_AP_VORLOC    39601
    PMDG_GLSD_MCP_AP_APP    39301
    PMDG_GLSD_MCP_AP_ALTHLD    39401
    PMDG_GLSD_MCP_AP_VS    39501
    PMDG_GLSD_MCP_AP_CMDA    40201
    PMDG_GLSD_MCP_AP_CMDB    40301
    PMDG_GLSD_MCP_AP_CWSA    40401
    PMDG_GLSD_MCP_AP_CWSB    40501
    PMDG_GLSD_MCP_AP_TOGA    68401
    PMDG_GLSD_MCP_AP_MASTER_on    40601 (toggle)
    PMDG_PED_ENG1_cutoff    68801
    PMDG_PED_ENG2_cutoff    68901
    etc

    I don't think I have to read the LVar state, just want push the button

     

     

    I'v just checked against the XML file and cofirm that your Rotor Brake control parameters are correct😉

    ie, I took here a snippet from the VNAV part : left click = (386 + 100)  + 1 = 38601

    <!-- 386 - VNAV Switch Collins ############################# -->
    		<Component ID="ngx_switch_386_a" Node="ngx_switch_386_a">
    			<UseTemplate Name="ASOBO_GT_Emissive_Gauge">
    				<EMISSIVE_CODE>(L:switch_3861_73X, number)</EMISSIVE_CODE>
    			</UseTemplate>
    			<UseTemplate Name="ASOBO_GT_Anim_Code">
    				<ANIM_NAME>ngx_switch_386_a</ANIM_NAME>
    				<PART_ID>NGX_SWITCH_386_A</PART_ID>
    				<ANIM_LENGTH>100</ANIM_LENGTH>
    				<ANIM_CODE>
    						(L:switch_386_73X, number)
    				</ANIM_CODE>
    				<ANIM_LAG>0</ANIM_LAG>
    			</UseTemplate>
    			<UseTemplate Name="ASOBO_GT_MouseRect">
    				<TOOLTIPID>VNAV</TOOLTIPID>
    				<MOUSEFLAGS>LeftSingle+RightSingle+Move+LeftRelease+RightRelease+MiddleSingle+WheelUp+WheelDown</MOUSEFLAGS>
    				<CURSOR>Hand</CURSOR>
    				<CALLBACKCODE>
    						386 100 * (&gt;L:SwitchID, number)
    
    						(M:Event) 'LeftSingle' scmp 0 ==
    						if{
    						   (L:SwitchID, number) 1 + (&gt;L:SwitchID, number)
    						}
    						(M:Event) 'RightSingle' scmp 0 ==
    						if{
    						   (L:SwitchID, number) 2 + (&gt;L:SwitchID, number)
    						}
    						(...)

    the advatage here is that you get also the name and type of the lvar that receives the actual state of the switch L:switch_386_73X, number

  3. maybe that can help  (not tested yet) :

    PMDG_B737-7_AUTOBRAKE_INC#46001 (>K:ROTOR_BRAKE)
    PMDG_B737-7_AUTOBRAKE_DEC#46002 (>K:ROTOR_BRAKE)

    then if you want to read the actual autobrake setting , use this LVAR  (L:switch_460_73X, number)

    ps: you can find more info in the included file : ...\pmdg-aircraft-737\Documentation\PMDG\PMDG_NG3_VC_700.xml

  4. Hello @Cuantreau I've added the events you are asking for to the Mobiflight Contribution website  around the same time you created this topic 😉

    PMDG_B737-7_FUEL_CUT_OFF_LEVER1_DN#(L:switch_688_73X) 100 div 0 == if{ 68801 (>K:ROTOR_BRAKE) }
    PMDG_B737-7_FUEL_CUT_OFF_LEVER1_UP#(L:switch_688_73X) 100 div 1 == if{ 68801 (>K:ROTOR_BRAKE) }
    PMDG_B737-7_FUEL_CUT_OFF_LEVER2_DN#(L:switch_689_73X) 100 div 0 == if{ 68901 (>K:ROTOR_BRAKE) }
    PMDG_B737-7_FUEL_CUT_OFF_LEVER2_UP#(L:switch_689_73X) 100 div 1 == if{ 68901 (>K:ROTOR_BRAKE) }

    just add them to your ...\FSUIPC7\events.txt and voilà ! also,  if my undesrtanding is good, they will be automatically included with the next FSUIPC update.

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