MSFS Mission Script - Mission objects

From FSDeveloper Wiki
Revision as of 09:51, 17 October 2021 by Mr LiamT (talk | contribs) (Added mission navbox)
Jump to navigationJump to search


Mission elements define a range of things like mission type, goals, world traffic, camera, and thermals. See MSFS Mission Script for general information about creating a mission script.

Mission Types

There are different types of missions, but all of them have Objectives/Goals that will have to be fulfilled to end the mission.

MissionFreeFlight

The mission type used for freeflight is the freest (allows increasing sim speed), but doesn't have a nice endscreen (just the logbook).

Tutorial

This mission type has an endscreen to evaluate mission preformance.

MissionBushTrip

This mission type allows you to make a mission with multiple legs. Autosaves mission (currently a bit broken).

MissionLandingChallenge

This mission type is used for landing challenges.

MissionDiscovery

This mission type is used for discovery flights.

Other mission types (untested)

  • MissionLowAltitude (Maybe used for reno airraces?)
  • MissionRaceRedBull
  • MissionRefueling
  • MissionSightingFlight


Goals

For a mission to be completed, all active objectives have to be successfully completed. Each mission objective has to be linked to a Goal or SubGoal.

Goal

SubGoal

Other

Camera

A camera object in the world you can position how you want.

LivingWorldExclusion

Useful if you want to get rid of stationary or moving traffic from a road, airport, or water).

PointOfInterest

You can add points of interest to your mission. The points of interest can have an InGameMarker.

Calculator

Calculator

AirportCalculator

Racing / Multiplayer

AllowableContainerList

ConditionRacePoint

GateRacePoint

Player

PylonRacePoint

RaceCourse

RaceInfo

Untested

PictureInPictureViewController

RealismOverrides

RidgeLift

Thermal

VolumeRacePoint

Rope (new in msfs)

Pages relevant to mission creation for MSFS.

Mission structure

Flightplan
Weather definitions
Flight file
Mission script
Triggers
AirportLandingTrigger & AreaLandingTrigger · CounterTrigger · PropertyTrigger · ProximityTrigger · TimerTrigger
Actions
ObjectActivationAction · DialogAction · AdjustPayloadAction · ChangeAssistanceItemAction · FadeToColorAction · RandomAction · RequestTeleportAction · CountAction · ResetTimerAction · TimerAdjustAction · GoalResolutionAction & SubGoalResolutionAction · GrantRewardAction · PointOfInterestActivationAction · ActivateWaypointsAction · AITakeControlsAction · SendMessageToAIAction
Mission objects
Mission definition · Goal · LivingWorldExclusion · Camera
Calculator
Flow states
Events
Areas
Rectangle Area · Cylinder Area · Polygon Area · Corridor Area · InGameMarker
Library objects
Sim objects
RTC

Mission tools

MSFS Script Editor · BushTripInjector · BushMissionGen · MSFSLocalizer · SPB2XML · Little Navmap

Other

Example mission files
Porting FSX Missions to MSFS
Localisation
Click the links to access the topic pages (Default - Opens in same window).