482
edits
Line 431: | Line 431: | ||
===Link the -bombableinclude.xml file to the existing -set.xml file=== | ===Link the -bombableinclude.xml file to the existing -set.xml file=== | ||
Now that we have created the -bombableinclude.xml file, we need to set up the aircraft to load the file on startup. | |||
Load the file F-15E_StrikeEagle-set.xml again. | |||
At the beginning of that file you will find this: | |||
<?xml version="1.0"?> | |||
<PropertyList> | |||
Change it to this: | |||
<?xml version="1.0"?> | |||
<PropertyList include="F-15E_StrikeEagle-bombableinclude.xml"> | |||
Save the file. | |||
==STEP 4. Add to an AI Scenario== | |||
Now we can add the F-15E to an AI scenario. | |||
Create a file named F-15E-demo.xml and save it in your FGDATA/AI directory: | |||
<?xml version="1.0"?> | |||
<PropertyList> | |||
<scenario> | |||
<description>My new F-15E scenario. Starts at KSFO! </description> | |||
<entry> | |||
<type>aircraft</type> | |||
<callsign>Jones</callsign> | |||
<name>F15E Leader</name> | |||
<model type="string">Aircraft/F-15E/F-15E_StrikeEagle-set.xml</model> | |||
<latitude type="double">37.608720</latitude> | |||
<longitude type="double">-122.3076</longitude> | |||
<altitude type="double">309</altitude> | |||
<speed>280.0</speed> | |||
<heading type="double">355</heading> | |||
</entry> | |||
<entry> | |||
<type>aircraft</type> | |||
<callsign>Cooper</callsign> | |||
<name>F15E Wingman</name> | |||
<model type="string">Aircraft/F-15E/F-15E_StrikeEagle-set.xml</model> | |||
<latitude type="double">37.608200</latitude> | |||
<longitude type="double">-122.2988</longitude> | |||
<altitude type="double">309</altitude> | |||
<speed>270.0</speed> | |||
<heading type="double">90</heading> | |||
</entry> | |||
<scenario> | |||
</PropertyList> | |||
==STEP 5. Troubleshooting== | |||
OK, we're done. Time to fly our new aircraft in our new scenario! | |||
==Where your aircraft files are== | ==Where your aircraft files are== |
edits