SimpleMission (MSFS)

From FSDeveloper Wiki
Jump to: navigation, search


This guide will go over the process of creating a mission with the SimpleMission sample project. See MSFS Mission Script for general information about creating a mission script.

Step 1: Download the SimpleMission project

Unpack the .zip.

Step 2: Open the project in MSFS DevMode

  • Change company name and package name.
  • Change Title and Creator.
  • Edit SimpleMission asset group, change name to your mission name.
  • Save the project, then close it.

Step 3: Open the project folder

In PackageSources\Missions\PackageName\YourMissionName\:

  • Rename the files with SimpleMission to your mission name. The files should now have the same name as their parent folder.
  • Edit the .xml in Notepad++:
    • In SimMission.FlowStateAction, for TeleportActions, you can choose an intro cinematic:
      • id="RTC_Flying_Airport_Aircraft_Intro" InstanceId="{55ACAAD8-951B-4821-8D70-4CFC800D1AFD}"
      • id="RTC_Ground_Airport_Aircraft_Intro" InstanceId="{306B2AE4-06BA-48C3-93A0-BD5569E6EF5B}"
      • id="RTC_Ground_Airport_Aircraft_Intro_GATE" InstanceId="{EE18C69D-5C95-4C75-8194-425360D6798E}"
    • You can change SimMission.MissionFreeFlight to a different mission type (for example change SimMission.MissionFreeFlight to SimMission.Tutorial):
Mission type Comment
MissionFreeFlight The mission type used for freeflight gives the most freedom (e.g., allows increasing sim speed), but doesn't have a nice endscreen (just the logbook).
Tutorial This mission type has an endscreen to evaluate mission performance.
MissionBushTrip This mission type allows you to make a mission with multiple legs. If you use this mission type, the sim autosaves mission (currently a bit broken). This mission type also has flight legs and a variable that tracks if it was completed without assistance.
MissionLandingChallenge This mission type is used for landing challenges. It has an endscreen that displays the score. It also has a landingzone with a location, heading, width, and length.
MissionDiscovery This mission type is used for discovery flights.
MissionLowAltitude This mission type is used for the top-gun low altitude challenges.
Untested
MissionRaceRedBull
MissionRefueling
MissionSightingFlight

Step 4: Building the mission

Now you are ready to start building the missions with the script editor. First, create your flight file (.FLT), flightplan (.PLN), and weather file (.WPR), then start developing your mission with the script editor.

Step 5: Images

At some point, you want to take some beautiful screenshots of your mission for the widget thumbnail, briefing, loading, ending, and content manager thumbnail.


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).