Author Topic: Feature request - disable crew boarding  (Read 3711 times)

Th3Scop3DJ

  • Newbie
  • *
  • Posts: 4
Feature request - disable crew boarding
« on: February 18, 2022, 08:12:46 pm »
Hello everyone,

I was just wondering if there will be an option in the future to disable the crew boarding?

I'm sitting in the cockpit preparing the aircraft. After that boarding begins but it's of course always caption and first officer followed by the rest of the flight crew.

It would be amazing if we had the option to disable crew boardi so if we start the boarding process it would start with pax straight away.

Hope to see that in an future updates.


Keep up the amazing work! :)

All the best
Kevin

ngxboeing

  • Newbie
  • *
  • Posts: 13
Re: Feature request - disable crew boarding
« Reply #1 on: February 18, 2022, 09:04:41 pm »
Hi

I agree with the above suggestion would be more realistic

disco79stu

  • Sr. Member
  • ****
  • Posts: 339
Re: Feature request - disable crew boarding
« Reply #2 on: February 19, 2022, 04:24:57 pm »
This has been requested so many times, I really would like to have this option too!

While the flight crew won't board in the FSLabs (maybe the somehow stop them from doing so), I find it also a bit unrealistic to have even the cabin crew boarding just a minute before the passengers.
Usually they all arrive way before the pax to prepare everything (flight deck/cabin).

It would be so nice if those two could be a separate call/action.


Fragtality

  • Jr. Member
  • **
  • Posts: 94
Re: Feature request - disable crew boarding
« Reply #3 on: February 19, 2022, 06:45:31 pm »
Given the latest Questions about this, I would also recommend making the Crew Boarding a Central Option in the Settings GUI.
(And maybe in the long-term making it a separate Operation/Service - the Crew does Board the Plane, but that does happen as very first "Stept" - not together with the Passengers^^)

BUT: That doesn't mean it can't be disabled!
Put the following Lines in a Lua-Script (registered Copy of FSUIPC required) and bind it to a Key/Button with FSUIPC.
Then just press the Button/Key before (De)Boarding but after GSX is activated on the Stand (Vehicles showing up).

Code: [Select]
ipc.writeLvar("FSDT_GSX_PILOTS_NOT_BOARDING", 1)
ipc.writeLvar("FSDT_GSX_CREW_NOT_BOARDING", 1)
ipc.writeLvar("FSDT_GSX_PILOTS_NOT_DEBOARDING", 1)
ipc.writeLvar("FSDT_GSX_CREW_NOT_DEBOARDING", 1)
ipc.writeLvar("FSDT_GSX_NUMCREW", 0)
ipc.writeLvar("FSDT_GSX_NUMPILOTS", 0)

disco79stu

  • Sr. Member
  • ****
  • Posts: 339
Re: Feature request - disable crew boarding
« Reply #4 on: February 20, 2022, 03:04:25 pm »
Given the latest Questions about this, I would also recommend making the Crew Boarding a Central Option in the Settings GUI.
(And maybe in the long-term making it a separate Operation/Service - the Crew does Board the Plane, but that does happen as very first "Stept" - not together with the Passengers^^)

BUT: That doesn't mean it can't be disabled!
Put the following Lines in a Lua-Script (registered Copy of FSUIPC required) and bind it to a Key/Button with FSUIPC.
Then just press the Button/Key before (De)Boarding but after GSX is activated on the Stand (Vehicles showing up).

Code: [Select]
ipc.writeLvar("FSDT_GSX_PILOTS_NOT_BOARDING", 1)
ipc.writeLvar("FSDT_GSX_CREW_NOT_BOARDING", 1)
ipc.writeLvar("FSDT_GSX_PILOTS_NOT_DEBOARDING", 1)
ipc.writeLvar("FSDT_GSX_CREW_NOT_DEBOARDING", 1)
ipc.writeLvar("FSDT_GSX_NUMCREW", 0)
ipc.writeLvar("FSDT_GSX_NUMPILOTS", 0)

Doesn't seem to work for me.
I successfully implemented and bind the lua script to a key, I hit the key before calling for boarding (after stairs are attached) and I still get the cabin crew boarding first....
Any advice?


LukeK

  • Full Member
  • ***
  • Posts: 108
Re: Feature request - disable crew boarding
« Reply #5 on: February 20, 2022, 05:08:11 pm »
Have you checked that the LVAR is actually getting set correctly?

Cheers!

Luke

disco79stu

  • Sr. Member
  • ****
  • Posts: 339
Re: Feature request - disable crew boarding
« Reply #6 on: February 20, 2022, 05:13:23 pm »
Have you checked that the LVAR is actually getting set correctly?

Cheers!

Luke

Are you asking me?
I just did what Fragtality suggested, I have no idea how to check anything. I just see that it is not working as intended...

Fragtality

  • Jr. Member
  • **
  • Posts: 94
Re: Feature request - disable crew boarding
« Reply #7 on: February 20, 2022, 08:04:12 pm »
Hmm strange.
Have you checked the FSUIPC Log if any script-errors show up?
You could add a ipc.log("ping") at the end of the script to verify in the Log if the Script was actually executed.

I'll also test it on my side.

disco79stu

  • Sr. Member
  • ****
  • Posts: 339
Re: Feature request - disable crew boarding
« Reply #8 on: February 20, 2022, 09:02:36 pm »
Hmm strange.
Have you checked the FSUIPC Log if any script-errors show up?
You could add a ipc.log("ping") at the end of the script to verify in the Log if the Script was actually executed.

I'll also test it on my side.

Here's the lua-log that is created the moment I hit the resp. key:

********* LUA: "gsx_crew" Log [from FSUIPC version 6.1.6] *********
   198860 System time = 20/02/2022 21:01:25, Simulator time = 08:39:21 (07:39Z)
   198860 LUA: beginning "C:\Users\xxx\Documents\Prepar3D v5 Add-ons\FSUIPC6\gsx_crew.lua"
   199016 >>> Thread forced exit (ipc.exit or os.exit) <<<
   199016 System time = 20/02/2022 21:01:25, Simulator time = 08:39:21 (07:39Z)
********* LUA execution terminated: Log Closed *********

Fragtality

  • Jr. Member
  • **
  • Posts: 94
Re: Feature request - disable crew boarding
« Reply #9 on: February 20, 2022, 09:47:08 pm »
Yeah got it, should have test my suggestion first  ;D

- it has to be called *before* the parking spot has activated (vehicles are in place)
- you *must* also set the "FSDT_GSX_NUMPASSENGERS" Variable

disco79stu

  • Sr. Member
  • ****
  • Posts: 339
Re: Feature request - disable crew boarding
« Reply #10 on: February 20, 2022, 10:14:14 pm »
Yeah got it, should have test my suggestion first  ;D

- it has to be called *before* the parking spot has activated (vehicles are in place)
- you *must* also set the "FSDT_GSX_NUMPASSENGERS" Variable

Sorry, and thanks for the effort, but I still can't get this to work, tried every combination.
I'll just wait for an official solution, maybe they'll give us the option some day :)

Fragtality

  • Jr. Member
  • **
  • Posts: 94
Re: Feature request - disable crew boarding
« Reply #11 on: February 20, 2022, 10:35:28 pm »
There's only one combination^^

All of this, before you call anything:
Quote
ipc.writeLvar("FSDT_GSX_NUMPASSENGERS", NUMPAX)
ipc.writeLvar("FSDT_GSX_PILOTS_NOT_BOARDING", 1)
ipc.writeLvar("FSDT_GSX_CREW_NOT_BOARDING", 1)
ipc.writeLvar("FSDT_GSX_PILOTS_NOT_DEBOARDING", 1)
ipc.writeLvar("FSDT_GSX_CREW_NOT_DEBOARDING", 1)
ipc.writeLvar("FSDT_GSX_NUMCREW", 0)
ipc.writeLvar("FSDT_GSX_NUMPILOTS", 0)
(replace NUMPAX with the number of passengers to board)

Could be that any Central or Aircraft Configuration Option within GSX could interfere with that. I've tested it on my QW787 like described and it worked :/

RYR16961

  • Newbie
  • *
  • Posts: 2
Re: Feature request - disable crew boarding
« Reply #12 on: March 21, 2022, 06:10:19 pm »
Thank you so much for this.  it works perfectly! Spread the word!  ;D