Missions (Scenarios) for P3D

Introduction | Why | Missions | Tutorial | FIP

Introduction | FlightCreate | MissionCreate | MissionExpand | MissionComplete ||||| MissionExpand 1 | 2 | 3 | 4 | 5 | 6
Example flight expand (Part3)

The flight will take longer than originally planned with careful flying, i.e. reducing the RPM, so we extend the mission with a flight plan.

Start Prepar3D and open the "ExampleFlight".

Select "Flight Planer" in the Navigation menu.

Under "Depature: N/A" click Select and in the new window type "LSGS" in the top right input field. Confirm the selection (Sion) with OK.

Under "Destination: N/A" click on Select and type "LSGG" into the input field in the upper right corner of the new window. Confirm the selection (Geneva) with OK.

Under "Flight Plan Details:" activate the items "VFR" and "Direct GPS". At "Cruising Altitude:" enter 8000.


You see, a direct route over all mountains is shown. This is not desired, the flight should follow the valleys and go over Lake Geneva, so additional waypoints must be defined.

Zoom into the map and click on the map border to bring Sion airport into view.

Click on the red GPS line and drag it with pressed mouse button to the valley bend as shown.

Create two more waypoints near Lake Geneva this way.

Click on "Save" at the bottom. In the new window write "ExampleFlight" for Title and File Name. For Description write "ExampleFlight Sion to Geneva.
Confirm with "OK".
If you are asked to close the "Flight Planer", answer with "No".
(Do you want to move your aircraft to the departure airport listed on the flight plan? Loosely translated: Do you want to move your aircraft to the departure airport listed on the flight plan?)

Now the exact coordinates of the waypoints must be noted. These will be used later in SimDirector to accurately place the waypoints in the mission compass.

Open the Flight Planner again, click on the pencil symbol (Edit) at "Waypoint WP1", copy the values of Latitude and Longitude and save them in the "Windows Editor". Click "Cancel" to close the WP1 edit window.

Do the same with "Waypoint WP2" and "Waypoint WP3".

I wrote it down like this:

WP1
46.1060864348739
7.07606869358841

WP2
46.4039793036219
6.89994440866826

WP3
46.4256205164096
6.3919741268829

Now close the "Flight Planner" with a click on OK.
If you are asked, answer with "No".
(Do you want to move your aircraft to the departure airport listed on the flight plan? Loosely translated: Do you want to move your aircraft to the departure airport listed on the flight plan?)

Save the flight with the same name as before (ExampleFlight) and exit Prepared.

Edit flight file:

Now we have to take care of a few entries in the "ExampleFlight.fxml":

1) Open the save directory, by default "C:\Users\USERNAME\Documents\Prepar3D v6 Files" and find the file "ExampleFlight.fxml". Right click on the file and select "Open with".
2) In the new window, be sure to uncheck "Always use this app to open .fxml files".
3) Select the "Editor".
4) Click OK.

Kneeboard:

In the file you just opened, you will find the "Kneeboard" item right at the beginning.
This controls whether the "Kneeboard" is displayed immediately after loading the flight and which side is shown.

- Write in the line <Property Name="Visible" Value="False" /> the word "False" to "True", so the "Kneeboard" will be shown after loading.
Unfortunately, each time the flight is saved, the entry is switched to "False", so it must always be changed to "True" by hand if necessary.

- By the way, in the line <Property Name="PageId" Value="0" /> you determine which page is displayed.
(Value="0" shows the first page with the briefing, Value="6" shows the page with the scenario goals).

I find the briefing useful at the beginning, so leave Value="0" unchanged.

Flightplan:

Now you have to scroll down quite far, to the <Section Name="GPS_Engine"> entry.
Here the line below is problematic, because it contains an "absolute path" instead of a "relative path".

In P3dV4, up to and including P3dV5.3, a "relative path" (to the existing flight plan named "Example Flight.pln") was written at this point.

From P3dV5.4 and in first versions of P3dV6 an "absolute path" is written, furthermore every time the flight is saved a new flight plan file is written with the same name as the flight (so "ExampleFlight.pln").

This newly written flight plan is in the same directory as the flight, so a "relative path" would make sense.
I suspect the P3d makers made a thinking error at this point and will hopefully change that soon.

The problem with absolute path:
- If you test the flight on your own PC, everything works fine, because the "absolute path" ("C:\Users\andi20\Documents\Prepar3D v6 Files\ExampleFlight") is present.
- If you give the flight to another user, the path is not correct, because the user is not called "andi20". So the flightplan can not be loaded and an error message will appear.

Therefore the entry must be corrected at this point: Replace "C:\Users\andi20\Documents\Prepar3D v6 Files\ExampleFlight" with "ExampleFlight".
(Black = Correct, Red = Incorrect)

ResourcePath:

Finally, scroll all the way down to the "ResourcePath".

If a mission is saved after loading, e.g. because the user pauses a "10-hour mission" halfway, saves it and wants to continue the flight later, the previously activated triggers and actions are saved in a separate file with the extension ".spb".
The next time the flight is loaded, this data is loaded from a so-called "HintPath".

Since our example mission was not saved "on the way", but already before the actually planned start, this "HintPath" must be removed.
So remove the blue marked line completely.

Now save the file and exit the editor.

Delete additional file:

Open the Prepar3D memory directory and delete the file "ExampleFlight.spb".
This is the file that was accessed in the "HintPath" mentioned above. As soon as you continue working on the flight in SimDirector, this spb-file can cause problems.

- As long as you don't save the flight again in Prepar3D, the kneeboard stays as set and the ResourcePath doesn't need to be adjusted.

- Unfortunately, every time you save in SimDirector, the flight plan is changed back to "absolute path". But this can be ignored until the mission is finished.

Only before passing it on to other users, you have to enter the path to the flight plan manually in the "Editor" again.
(Don't worry, as soon as this example mission is finished, I'll remind you. Besides, when you have created a few missions, you automatically think of such things, it becomes an automatism, like closing the door when you leave the house).


Not much happened in the mission, but here is the zip with the flight plan. Simply copy the files contained in it into the save directory.

ExampleFlightExpand3.zip

Continue with part4: Example flight expand (Part4)
I hope you enjoy these flights, if so, please give feedback to p3d@andi20.ch.
Also send error messages (spelling mistakes, wrong information, etc.) to me, I appreciate any feedback.
Introduction | FlightCreate | MissionCreate | MissionExpand | MissionComplete ||||| MissionExpand 1 | 2 | 3 | 4 | 5 | 6

Introduction | Why | Missions | Tutorial | FIP