- You need to copy the data folder for the aircraft you are going to use, and place the copy (with the same name) in the ai/aircraft folder. (The current ai/aircraft folder has a number of aircraft, but only what comes with FG originally) Mine looks like this. As you can see, I deleted all the files in the B-17F folder except "Models", for that is the only data used for formation. You don't need to do this, I just did it to keep the application size down in total.
Picture 16.png
- Then you need to create additional ai wingman_demo scenario files, that are aircraft specific.
- Look again at the file list in the ai folder, and you'll see wingman_demo_B17.xml, along with my other wingman demo aircraft files.
wingman_demo_:aircraft: provides one wingman to fly as a pair.
wingman2_demo_:aircraft: adds 2 additional wingman to fly a diamond pattern.
- You can choose to either either one, or both. (You need both for the diamond pattern)
Here is the text version of that file:
Note : I have not changed any text from Vivian's original, only the paths. Hence you'll see the reference to the Buccaneer.
____________
<?xml version="1.0"?>
<PropertyList>
<scenario>
<description>
Pair - non-tactical
This scenario formates 1 Buccaneer to the
parent ac at the position designated by
the x,y,z ofsets. It is automatically
included with the Bucaneer(wingman).
Note:
1. Setting life = -1 indicates that this ballistic object will
not die
4. Yaw offset should not be used for now
Vivian Meazza
</description>
<entry>
<name>Wingman-Port</name>
<type>wingman</type>
<!--<model>AI/Aircraft/B-17F/Models/B-17F.xml</model>-->
<model>AI/Aircraft/B-17F/Models/B-17F.xml</model>
<!--<model>Aircraft/B-17F/Models/B-17F.xml</model>-->
<trigger>controls/armament/station[1]/jettison-all</trigger>
<speed>0</speed>
<life>-1</life>
<repeat>false</repeat>
<count>1</count>
<x-offset>-100</x-offset>
<y-offset>-100</y-offset>
<z-offset>0</z-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<roll-offset>0</roll-offset>
<formate>true</formate>
</entry>
</scenario>
</PropertyList>
________________
Here is wingman2_demo in text -
_________________
<?xml version="1.0"?>
<PropertyList>
<scenario>
<description>
Diamond 4 - Non-tactical formation
This scenario formates 2 Buccaneers to the
parent ac at the position designated by
the x,y,z ofsets.
Use in conjunction with wingman.demo to give a Diamond 4
Note:
1. Setting life = -1 indicates that this
ballistic object will not die
2. The default value for aero-stabilzed
is false, so this must be explictly set.
3. Yaw offset should not be used for now
Vivian Meazza
</description>
<entry>
<name>Wingman-Stbd</name>
<type>wingman</type>
<model>AI/Aircraft/B-17F/Models/B-17F.xml</model>
<life>-1</life>
<repeat>false</repeat>
<count>1</count>
<x-offset>-75</x-offset>
<y-offset>75</y-offset>
<z-offset>0</z-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<roll-offset>0</roll-offset>
<formate>true</formate>
</entry>
<entry>
<name>Wingman-Centre</name>
<type>wingman</type>
<model>AI/Aircraft/B-17F/Models/B-17F.xml</model>
<life>-1</life>
<repeat>false</repeat>
<count>1</count>
<x-offset>-150</x-offset>
<y-offset>0</y-offset>
<z-offset>0</z-offset>
<ground-offset>1.5</ground-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<roll-offset>0</roll-offset>
<formate>true</formate>
</entry>
</scenario>
</PropertyList>
______________________
- Once these files are created and in place, you simply need to add what I call ai command lines. (Since I have no idea what to call them)
I use a launcher, and in my "command-line options" I add these commands.
--ai-scenario=wingman_demo_B17 --ai-scenario=wingman2_demo_B17
- Use wingman_demo for a pair, or both wingman and wingman2 for the diamond pattern.
Change these for use with other aircraft.
--ai-scenario=wingman_demo_F4 --ai-scenario=wingman2_demo_F4
--ai-scenario=wingman_demo_T2 --ai-scenario=wingman2_demo_T2
etc....
Horsepower is just an illusion. Torque is the true answer.