SimpleMission (MSFS): Difference between revisions
(Created page as a guide to the SimpleMission sample project) |
|||
Line 36: | Line 36: | ||
Edit SimpleMission asset group: | Edit SimpleMission asset group: | ||
* Change name to your mission name. | * Change name to your mission name. | ||
* Point AssetDir to the renamed folder | * Point AssetDir to the renamed folder: <code>PackageSources/Missions/YourMissionName</code>. | ||
* For the OutputDir, change <code>YourName</code> to your company name and <code>SimpleMission</code> to your mission name. | * For the OutputDir, change <code>YourName</code> to your company name and <code>SimpleMission</code> to your mission name. | ||
Revision as of 03:37, 1 December 2021
This page is a work-in-progress. Generic message - Please note some detail may possibly be missing or incorrect. |
Applicable |
---|
MSFS |
MS Flight |
LM P3D5 |
LM P3D4 |
LM P3D3 |
LM P3D2 |
LM P3D |
FS World |
FSXSE |
FSXA |
FSX |
FS2004 |
FS2002 |
XP11 |
XP10 |
XP9 |
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. Rename the SimpleMission
folder and main .xml
to your mission name.
In PackageSources/Missions
, rename the SimpleMission
folder your mission name.
Step 2: Open the project in MSFS DevMode
Change company name and package name. Click Update package name
.
Change Title and Creator.
Edit SimpleMission asset group:
- Change name to your mission name.
- Point AssetDir to the renamed folder:
PackageSources/Missions/YourMissionName
. - For the OutputDir, change
YourName
to your company name andSimpleMission
to your mission name.
Save the project.
Step 3: Open the project folder
In PackageDefinitions
delete the yourname-mission-simplemission
folder and .xml
file.
In PackageSources\Missions\YourMissionName
:
- Rename the files with SimpleMission in the name to your mission name (don't forget the images).
- Delete the
.PLN
and.WPR
files and replace them with the ones you created for your mission. - Edit the
.FLT
you created like this. You can use the old .FLT as a reference. - Edit the
.loc
with MSFSLocalizer. Change all the GUID's and editing data. - Edit the
.xml
in Notepad++:- Change the document id, Title, and Filename.
- In
SimMission.FlowStateAction
, forTeleportActions
, delete eitherRTC_Flying_Aircraft_Intro
orRTC_Ground_Airport_Aircraft_Intro
, depending on which one you will use. - You can change
SimMission.MissionFreeFlight
to a different mission type (for example changeSimMission.MissionFreeFlight
toSimMission.Tutorial
):
Mission type | Comment |
---|---|
MissionFreeFlight | The mission type used for freeflight is the freest (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. |
Untested | |
MissionLowAltitude | Has properties for a racecourse and racePoints. Maybe used for reno airraces? |
MissionRaceRedBull | |
MissionRefueling | |
MissionSightingFlight |
Step 4: Building the mission
Now you are ready to start building the missions in 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.
- Flightplan
- Weather definitions
- Flight file
- Mission script
- Triggers
- Actions
- ObjectActivationAction · DialogAction · AdjustPayloadAction · ChangeAssistanceItemAction · FadeToColorAction · RandomAction · RequestTeleportAction · CountAction · ResetTimerAction · TimerAdjustAction · GoalResolutionAction & SubGoalResolutionAction · GrantRewardAction · PointOfInterestActivationAction · ActivateWaypointsAction · AITakeControlsAction · SendMessageToAIAction
- Mission objects
- Calculator
- Flow states
- Events
- Areas
- Library objects
- Sim objects
- RTC