Author Topic: Customize pilots and cargo on an aircraft  (Read 888 times)

tuxuera

  • Newbie
  • *
  • Posts: 3
Customize pilots and cargo on an aircraft
« on: October 09, 2022, 01:31:45 pm »
Aircraft can be customized to refuse entry to pilots and crew, and bring less cargo in baggage cars.

Magic Man

  • Newbie
  • *
  • Posts: 38
Re: Customize pilots and cargo on an aircraft
« Reply #1 on: October 09, 2022, 04:18:58 pm »
Would be good to customise pilots to match Asobo avatars and have option to hide pilots in seats from outside.

tuxuera

  • Newbie
  • *
  • Posts: 3
Re: Customize pilots and cargo on an aircraft
« Reply #2 on: October 09, 2022, 04:28:42 pm »
I mean to use these variables, the only thing is that they should not be applied:

Here’s some informations useful to developers wanting to interface their airplanes
or utilities with GSX. Most of the information can be retrieved using L: variables,
which can be read very easily from an XML gauge code, but also in a C/C++ gauge,
using the register _ var _ by _ name(), get _ named _ variable _ value() API
calls from the Panels interface.
Reading the current status of GSX operations

Interfacing with the Cargo loading process
L:FSDT _ GSX _ BOARDING _ CARGO
L:FSDT _ GSX _ DEBOARDING _ CARGO
These variables will be set to 1, if GSX is in the process of loading luggage/cargo,
otherwise they’ll be set at 0. This can be useful if the airplane code requires to synchronize its own progressive cargo load simulation with the GSX visual animations.
L:FSDT _ GSX _ BOARDING _ CARGO _ PERCENT
L:FSDT _ GSX _ DEBOARDING _ CARGO _ PERCENT
These variables will have a value ranging from 0 to 100, indicating the overall
progress of the GSX cargo loading/unloading process. The value is expressed as
an Average of the progress of all the different loaders. For example, if the front
loader has loaded 1 of its 4 carts ( 25%), and the rear loader has loaded 2 of 4
carts (50%), the boarding variable will read as 37.5%, the average of 25% and
50%. This way, when the loading/unloading process ends, the relevant variable
will read 100

Controlling Pilots and Crew
If you set these variables to a number other than 0, you can control the number
of pilots and the number of crew members that will Board/Deboard the airplane.
They must be set before Boarding or Deboarding, usually together with the FSDT _ GSX _ NUMPASSENGERS. Please don’t set them to 0 to stop the crew/pilots
from boarding, there’s another variable for that. 0 it’s just the default value, which
means “let GSX decide” so, right now, it will result in always 2 Pilots and 4 Crew
members on a passenger airplane, and 2 Pilots and 1 Crew member (the loadmaster) on a Cargo airplane.
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 you set these variables to 1, you are telling GSX that either the Pilots or the Crew
(or both) should NOT board/deboard the airplane. This way, you can simulate short
turnarounds, when the pilots/crew stay on board for the next flight.
Note that, if either the Crew or the Pilots are not prevented from boarding, their
Van will be come anyway, carrying just the Crew or just the Pilots. If you set both
variables to 1, the Van wouldn’t come (since there’s nobody to carry), and the
Boarding/Deboarding will just handle passengers with their own Bus.
Interfacing with Jetways

Magic Man

  • Newbie
  • *
  • Posts: 38
Re: Customize pilots and cargo on an aircraft
« Reply #3 on: October 15, 2022, 08:59:02 pm »
Thanks for that info. May look at using spad next to set some values, are you using anything specific?