GROUNDPOWERUNIT DEFINITION
A Ground Power Unit vehicle has the same parameters as other Ground Vehicles, with some additional properties. It can attach itself to an aircraft, with a cable that is at least partly in the aircraft model (but hidden by default). The GroundPowerUnit has many similarities in its configuration with the FuelTruck.
Sim.cfg
The sim.cfg
file of a GroundPowerUnit must contain the following section:
[GroundPowerUnit]
This section has the following parameter:
Parameter | Description | Type | Required |
---|---|---|---|
hose_end_position_XZ |
This parameter takes one value, which is the coordinate in meters of the point of contact between the end of the cable coming out of the aircraft, and the position on the GroundPowerUnit (or its own cable, if any) where it should be connected. |
Float |
Yes |
hose_end_relative_heading |
This parameter takes one value, which is the angle, in degrees, at which the aircraft cable should attach to the point, relative to the FuelTruck vehicle heading. If the point is in the back of the vehicle, an angle of 180° would mean the cable would plug from behind, aligned with the vehicle. |
Model Behavior Helper
A model behavior helper is available for Ground Power Units, by including "Asobo.
xml
": ASOBO_GroundPowerUnit_Hose_Deployment_Template
. This template takes a single parameter NODE_ID
, which contain the name of the Node of cable on the GroundPowerUnit, if any. This will hide the node by default, and only make it visible when the vehicle is connected to an aircraft.
For more information please see: Ground Vehicle ModelBehavior Helpers
Note on Simvars
The individual values for the assignations of the parameters in the [GroundPowerUnit]
section are reflected in the following simvars:
GROUNDPOWERUNIT HOSE END POSX
GROUNDPOWERUNIT HOSE END POSZ
GROUNDPOWERUNIT HOSE END RELATIVE HEADING