482
edits
Line 430: | Line 430: | ||
Save this file with the name you have chosen ( FGDATA\Aircraft\F-15E\F-15E_StrikeEagle-bombableinclude.xml). | Save this file with the name you have chosen ( FGDATA\Aircraft\F-15E\F-15E_StrikeEagle-bombableinclude.xml). | ||
===Link the -bombableinclude.xml file to the existing - | ===Link the -bombableinclude.xml file to the existing F-15 model file=== | ||
Now that we have created the -bombableinclude.xml file, we need to set up the aircraft to load the file on startup. | Now that we have created the -bombableinclude.xml file, we need to set up the aircraft to load the file on startup. | ||
AI scenarios (and MP aircraft) load the aircraft's model file. So we need to locate that file and include the new -bombableinclude.xml file in it. | |||
Where is the model file? Look in the aircraft's -set.xml file. In that file will be a section called <model>. For the F-15E it looks like this: | |||
<model> | |||
<path>Aircraft/F-15E/Models/F-15E_StrikeEagle.xml</path> | |||
</model> | |||
So Aircraft/F-15E/Models/F-15E_StrikeEagle.xml is our model file. | |||
At the beginning of that file you will find this: | |||
Load Aircraft/F-15E/Models/F-15E_StrikeEagle.xml in a text editor. At the beginning of that file you will find this: | |||
<?xml version="1.0"?> | <?xml version="1.0"?> | ||
Line 448: | Line 458: | ||
Save the file. | Save the file. | ||
Note: include="F-15E_StrikeEagle-bombableinclude.xml" indicates that F-15E_StrikeEagle-bombableinclude.xml will be in the same directory as F-15E_StrikeEagle.xml. That directory is Aircraft/F-15E/Models -- so make sure that the -bombableinclude.xml file is indeed in that directory! | |||
==STEP 4. Add to an AI Scenario== | ==STEP 4. Add to an AI Scenario== |
edits