FLIGHT, WEATHER AND EVENT EXAMPLES

This section contains various examples for the *.flt, *.wpr and *.pln files, as well as an example of an event trigger file.

 

 

Complete FLT Example

The example below shows a complete flight definition for a sightseeing mission over London:

[Main]
MissionType=FreeFlight
MissionLocation=London
Title=London XO
Description=London
AppVersion=10.0.282174
FlightVersion=1
 
[Briefing]
BriefingText=$$:London Freeflight
BriefingImage0=./images/Briefing0.png
 
[Options]
Sound=True
Pause=True
Moonlight=True
Save=False
SaveOriginalFlightPlan=False
TextDisplayPage=0
SlewDisplayPage=1
AxisIndicator=Off
Titles=False
 
[Sim.0]
Sim=Cessna Skyhawk G1000 Asobo
 
[ResourcePath]
Path=Missions\Asobo\FreeFlights\FreeFlight\FreeFlight
 
[ObjectFile]
File=Missions\Asobo\FreeFlights\FreeFlight\FreeFlight
 
[Atc_Menu]
Visible=False
 
[FreeFlight]
FirstFlightState=PREFLIGHT_HOLDSHORT
 
[TrafficManager]
disable=False
 
[Multiplayer]
Status=False
 
[AirTraffic]
Status=False
 
[Weather]
UseWeatherFile=True
WeatherCanBeLive=True
WeatherType=0
DynamicWeatherOverride=1
CloudmapPosOverride=True
CloudmapInitialPosX=4692.740
CloudmapInitialPosY=-10913.52
 
[Departure]
ICAO=EGLC
RunwayNumber=27
RunwayDesignator=NONE
GateName=PARKING
GateNumber=1
 
[Loading]
ImageName=./images/Loading0.png
Tips0=TT:LOADING.TIPS.C172_004
 
[Panels]
Panel.On=True
HUD.On=False
 
[Window.1]
Order=255
Active=True
Undocked=False
Maximized=True
ScreenUniCoords=0, 0, 0, 0
UndocCoords=0, 0, 0, 0
 
[ATC_AgentManager]
NumberofAgents=0
 
[ATC_Aircraft.0]
ActiveFlightPlan=False
RequestedFlightPlan=False
AcState=ACSTATE_REQUEST_TAXI_CLEARANCE_OUT_VFR_ATIS
NumberofWaypoints=0
ClearanceFlags=82
CtCur=CLEARANCE_NONE
WaypointNext=0
AltCleared=-1
HdgAssigned=-1
SquawkAssigned=4608
LandingSequence=LANDING_NONE
DepartureRequest=DEPARTURE_VFR_REQUEST_NONE
ParkingRequest=PARKING_NAME_NONE
ParkingTypeRequest=PARKING_TYPE_NONE
PatternLeg=PATTERN_LEG_NONE
ApproachIndex=-1
ApproachTransitionIndex=-1
ApproachRequestIndex=-1
ApproachTransitionRequestIndex=-1
RunwayIndex=-1
RunwayRequestIndex=-1
ParkingIndex=-1
FlightFollowing=FLIGHT_FOLLOWING_NO
AirspaceTransition=AIRSPACE_TRANSITION_NONE
BVAirspaceTransition=BV_TYPE_NONE
BVAirspaceTransitionReq=BV_TYPE_NONE
TakeoffSequence=TAKEOFF_SEQUENCE_NONE
LandingSequenceNumber=-1
TaxiRouteCurrent=-1
CruisingAltitude=-1
RequestedCruisingAltitude=-1
ExpectedAltitude=-1
AircraftSignature=1,0
 
[ATC_AircraftManager]
NumberofAircraft=1
 
[ATC_MessageSystem]
FrequencyNodes=0
 
[DateTimeSeason]
Season=Summer
Year=2019
Day=327
Hours=16
Minutes=00
Seconds=00
UseZuluTime=False
 
[SimVars.0]
Latitude=N51° 30' 17.81"
Longitude=E0° 3' 51.71"
Altitude=+000019.00
Pitch=0
Bank=0
Heading=-87.106811609119191075
PVelBodyAxis=0
BVelBodyAxis=0
HVelBodyAxis=0
XVelBodyAxis=0
YVelBodyAxis=0
ZVelBodyAxis=0
SimOnGround=True
OnPlatformHeight=-9999999999
 
[Avionics.0]
Comm1Active=124.850
Comm1Standby=124.850
Comm2Active=124.850
Comm2Standby=124.850
Comm3Active=124.850
Comm3Standby=124.850
Nav1Active=110.50
Nav1Standby=113.90
OBS1=360
Nav2Active=110.50
Nav2Standby=113.90
OBS2=360
Transponder=1234
ADFActive=890
ADF2Active=890
DMESelected=1
ComTransmit=1
ComReceiveBoth=False
Com1Receive=True
Com2Receive=False
Com3Receive=False
AudioNav1Listen=False
AudioNav2Listen=False
AudioMarkerListen=True
AudioDmeListen=False
AudioAdfListen=False
AudioAdf2Listen=False
AvionicsSwitch=True
 
[Slew.0]
Active=False
 
[Freeze.0]
Location=False
Altitude=False
Attitude=False
 
[Engine Parameters.1.0]
ThrottleLeverPct=0
PropellerLeverPct=0.99993896484375
MixtureLeverPct=0.99993896484375
Pct Engine RPM=0.25
MaxReachedEngineRPM=2018.3370438323020153
LeftMagneto=True
RightMagneto=True
GeneratorSwitch=True
CowlFlapPct=0
FuelPumpSwitch=False
CarbHeat/DeiceSwitch=False
EngineMasterSwitch=True
GlowPlugTemperaturePct=1
 
[Propeller.1.0]
prop_beta=0.34906585039886589561
prop_max_rpm_percent=0
 
[Fuel.0]
TankSelector=All
TankSelector1=All
Center=100
LeftMain=90
RightMain=90
LeftAux=100
RightAux=100
LeftTip=100
RightTip=100
Center 2=100
Center 3=100
External 1=100
External 2=100
 
[Systems.0]
BatterySwitch=True
StructuralDeiceSwitch=False
PropDeiceSwitch=False
Autobrakes=0
StandbyVacuum=False
PropSync=False
AutoFeatherSwitch=False
FlightDirector=False
PanelLights=False
LaunchBarSwitch=False
LaunchBarState=0
TailhookHandle=False
TailhookState=0
FoldingWingsHandle=False
FoldingWingsState=0, 0
 
[Gauges.0]
KollsmanSetting=29.921342849731445313
[BleedAir.0]
BleedAirSource=0
 
[Switches.0]
PitotHeat=False
BeaconLights=True
LandingLights=False
LogoLights=False
NavLights=False
PanelLights=False
RecognitionLights=False
StrobeLights=False
TaxiLights=False
WingLights=False
CabinLights=False
GlareshieldLights=False
PedestalLights=False
 
[AutoPilot.0]
MasterSwitch=False
WingLeveler=False
Nav1Lock=False
HeadingLock=False
HeadingValue=0
AltitudeLock=False
AltitudeValue=0
AttitudeHold=False
AirspeedHold=False
AirspeedValue=0
MachHold=False
MachValue=0
VerticalSpeedHold=False
VerticalSpeedValue=0
RPMHold=False
RPMValue=0
GlideslopeHold=False
ApproachHold=False
BackCourseHold=False
YawDamper=False
ToGa=False
AutoThrottleArm=False
GPSdrivesNAV1=True
IsUsedForLesson=False
ForceDisplayUI=False
 
[Payload.0]
PayloadList= 170.0,   0.0,   0.0,   0.0,   0.0
 
[Controls.0]
SpoilersHandle=000.00
FlapsHandle=033.33
LeftFlap=033.32
RightFlap=033.32
GearsHandle=000.00
Gear1=100.00
Gear2=100.00
Gear3=100.00
YokeY=050.00
YokeX=050.00
Rudder=050.00
LeftBrake=000.00
RightBrake=000.00
ParkingBrake=000.00
ElevatorTrim=050.00
RudderTrimPct=0
AileronTrimPct=0
AileronTrimDisabled=False
ElevatorTrimDisabled=False
RudderTrimDisabled=False
 
[SimScheduler]
SimSpeed=001.00
SimTime=596.82995962224549658

 

 

Complete PLN Example

Below is a complete example of a flight plan definition that would typically be used in a bush-trip mission:

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="AceXML" version="1,0">
    <Descr>AceXML Document</Descr>
    <FlightPlan.FlightPlan>
        <Title>KVNY to KBUR</Title>
        <FPType>VFR</FPType>
        <DepartureID>KVNY</DepartureID>
        <DepartureLLA>N34° 12' 36.57",W118° 29' 24.03",+000775.50</DepartureLLA>
        <DestinationID>KBUR</DestinationID>
        <DestinationLLA>N34° 12' 2.24",W118° 21' 30.61",+000722.50</DestinationLLA>
        <Descr>KVNY to KBUR</Descr>
        <DepartureName>Van Nuys</DepartureName>
        <DestinationName>Bob Hope</DestinationName>
        <AppVersion>
            <AppVersionMajor>11</AppVersionMajor>
            <AppVersionBuild>282174</AppVersionBuild>
        </AppVersion>
        <ATCWaypoint id="KVNY">
            <ATCWaypointType>Airport</ATCWaypointType>
            <WorldPosition>N34° 12' 36.57",W118° 29' 24.03",+000775.50</WorldPosition>
            <ICAO>
                <ICAOIdent>KVNY</ICAOIdent>
            </ICAO>
        </ATCWaypoint>
        <ATCWaypoint id="CUST0">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N34° 13' 16.8",W118° 28' 46",+001000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="CUST1">
            <ATCWaypointType>User</ATCWaypointType>
            <WorldPosition>N34° 13' 10",W118° 24' 14",+001000.00</WorldPosition>
        </ATCWaypoint>
        <ATCWaypoint id="KBUR">
            <ATCWaypointType>Airport</ATCWaypointType>
            <WorldPosition>N34° 12' 2.24",W118° 21' 30.61",+000722.50</WorldPosition>
            <ICAO>
                <ICAOIdent>KBUR</ICAOIdent>
            </ICAO>
        </ATCWaypoint>
    </FlightPlan.FlightPlan>
</SimBase.Document>

 

 

Complete WPR Example

Below is a complete example of a weather definition that could be used as a preset in the simulation:

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="WeatherPreset" version="1,2">
    <Descr>AceXML Document</Descr>
    <WeatherPreset.Preset>
        <Name>Scattered Clouds</Name>
        <IsAltitudeAMGL>False</IsAltitudeAMGL>
        <AerosolDensity Value="8.000" Unit="density factor"></AerosolDensity>
        <Precipitations Value="00.000" Unit="mm/h"></Precipitations>
        <ThunderstormIntensity Value="0.0" Unit="(0 - 1)"></ThunderstormIntensity>
        <CloudLayer>
            <CloudLayerDensity Value="0.200" Unit="(0 - 1)"></CloudLayerDensity>
            <CloudLayerAltitudeBot Value="00600" Unit="m"></CloudLayerAltitudeBot>
            <CloudLayerAltitudeTop Value="00800" Unit="m"></CloudLayerAltitudeTop>
            <CloudLayerScattering Value="0.400" Unit="(0 - 1)"> </CloudLayerScattering>
        </CloudLayer>
        <CloudLayer>
            <CloudLayerDensity Value="0.500" Unit="(0 - 1)"></CloudLayerDensity>
            <CloudLayerAltitudeBot Value="000700" Unit="m"></CloudLayerAltitudeBot>
            <CloudLayerAltitudeTop Value="001300" Unit="m"></CloudLayerAltitudeTop>
            <CloudLayerScattering Value="0.000" Unit="(0 - 1)">
            </CloudLayerScattering>
        </CloudLayer>
        <CloudLayer>
            <CloudLayerDensity Value="0.150" Unit="(0 - 1)"></CloudLayerDensity>
            <CloudLayerAltitudeBot Value="01300" Unit="m"></CloudLayerAltitudeBot>
            <CloudLayerAltitudeTop Value="04500" Unit="m"></CloudLayerAltitudeTop>
            <CloudLayerScattering Value="1.000" Unit="(0 - 1)">
            </CloudLayerScattering>
        </CloudLayer>
        <WindLayer>
            <WindLayerAltitude Value="1905" Unit="m"></WindLayerAltitude>
            <WindLayerAngle Value="290" Unit="degrees"></WindLayerAngle>
            <WindLayerSpeed Value="2" Unit="knts"></WindLayerSpeed>
        </WindLayer>
    </WeatherPreset.Preset>
</SimBase.Document>

 

Complete Event Trigger Example

Below is a complete example of an event trigger definition that would typically be used in a training mission:

<?xml version= "1.0" encoding= "utf-8" ?>
<SimBase.Document Type="EventTriggers" version="1,0">
    <Descr>AceXML Document</Descr>
    <EventTriggers.EventTrigger Name="EVENT_TRIGGER_TUTORIAL_TAKEOFF_PITCH_UP">
        <Source>Copilot</Source>
        <Context>Flight Climb</Context>
        <Condition>
            (A:AIRSPEED INDICATED, Knots) (A:DESIGN SPEED CLIMB, Knots) 15 + &gt;
        </Condition>
        <Type>Piloting</Type>
        <Notification>
            <Text>TT:GAME.EVENTTRIGGER_NOTIF_TUTORIAL_TAKEOFF_PI_UP</Text>
            <Priority>Normal</Priority>
            <Param TextVariable="SIMVAR_DESIGN_SPEED_CLIMB" Simvar="DESIGN SPEED CLIMB" SimvarUnit="Knots" />
            <Delay>5</Delay>
        </Notification>
        <Cooldown>20</Cooldown>
    </EventTriggers.EventTrigger>
    <EventTriggers.EventTrigger Name="EVENT_TRIGGER_TUTORIAL_TAKEOFF_PITCH_DOWN">
        <Source>Copilot</Source>
        <Context>Flight Climb</Context>
        <Condition>
            (A:AIRSPEED INDICATED, Knots) (A:DESIGN SPEED CLIMB, Knots) 15 - &lt;
        </Condition>
        <Type>Piloting</Type>
        <Notification>
            <Text>TT:GAME.EVENTTRIGGER_NOTIF_TUTORIAL_TAKEOFF_PI_DOWN</Text>
            <Priority>Normal</Priority>
            <Param TextVariable="SIMVAR_DESIGN_SPEED_CLIMB" Simvar="DESIGN SPEED CLIMB" SimvarUnit="Knots" />
            <Delay>5</Delay>
        </Notification>      
        <Cooldown>20</Cooldown>
    </EventTriggers.EventTrigger>
</SimBase.Document>