adnanso Posted August 22, 2022 Report Posted August 22, 2022 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 : now all you have to do is to press that button just before asking for boarding or deboarding and voilà! 2
John Dowson Posted August 22, 2022 Report Posted August 22, 2022 Thanks for the contribution. Note that in the next release (v7.3.8) and onwards, presets will be available in a separate drop-down menu available on a new checkbox, and the name will be displayed without the 'Preset:' prefix. There is currently a beta version of this release available from the Announcements sub-forum. 1
adnanso Posted August 22, 2022 Author Report Posted August 22, 2022 Wow nice addition John! thanks for this is a very handy feature. therefore after the upcoming update, the same key assignment will look like this :
Aristomenis Posted September 20, 2022 Report Posted September 20, 2022 Hello. I have tried it and it doesn't work Maybe i am doing something wrong with the timing between pressing the button and requesting boarding I tried single press, i tried continuous.... nothing Please help!
John Dowson Posted September 20, 2022 Report Posted September 20, 2022 4 hours ago, Aristomenis said: I have tried it and it doesn't work Maybe i am doing something wrong with the timing between pressing the button and requesting boarding I tried single press, i tried continuous.... nothing Please supply/attach more information - your FSUIPC7.ini file and an FSUIPC7.log file with relevant logging applied, which un this case would be for Buttons & Keys and Events. John
Cuantreau Posted November 11, 2022 Report Posted November 11, 2022 On 8/22/2022 at 9:06 AM, adnanso said: 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 : now all you have to do is to press that button just before asking for boarding or deboarding and voilà! Thanks so much man, much needed workaround.
737-SimGuy Posted November 17, 2022 Report Posted November 17, 2022 Does this work in P3D as well? James
John Dowson Posted November 17, 2022 Report Posted November 17, 2022 56 minutes ago, 737-SimGuy said: Does this work in P3D as well? No, this will not work as defined here in P3D - there is no such thing as a preset or a way to execute calculator code in P3D. However, if the same (or similar) lvars exist when using GSX in P3D, you could write a lua script to set the lvars (including a short delay) instead of using a preset/calculator code. First, try listing the lvars to see if the following are available: L:FSDT_GSX_PILOTS_NOT_DEBOARDING, L:FSDT_GSX_CREW_NOT_DEBOARDING, L:FSDT_GSX_PILOTS_NOT_BOARDING & L:FSDT_GSX_CREW_NOT_BOARDING If they exist, you can write a short lua script that performs the same actions as the calculator code (i.e. set the value of each of those lvars to 1, with a 100ms delay in between each call) and assign to that. John
737-SimGuy Posted November 17, 2022 Report Posted November 17, 2022 25 minutes ago, John Dowson said: No, this will not work as defined here in P3D - there is no such thing as a preset or a way to execute calculator code in P3D. However, if the same (or similar) lvars exist when using GSX in P3D, you could write a lua script to set the lvars (including a short delay) instead of using a preset/calculator code. First, try listing the lvars to see if the following are available: L:FSDT_GSX_PILOTS_NOT_DEBOARDING, L:FSDT_GSX_CREW_NOT_DEBOARDING, L:FSDT_GSX_PILOTS_NOT_BOARDING & L:FSDT_GSX_CREW_NOT_BOARDING If they exist, you can write a short lua script that performs the same actions as the calculator code (i.e. set the value of each of those lvars to 1, with a 100ms delay in between each call) and assign to that. John Thank you John. They do indeed exist, so I will give the Lua script solution a try! James
737-SimGuy Posted November 17, 2022 Report Posted November 17, 2022 1 hour ago, John Dowson said: If they exist, you can write a short lua script that performs the same actions as the calculator code (i.e. set the value of each of those lvars to 1, with a 100ms delay in between each call) and assign to that. John This indeed works! Great idea John! James 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now