3 <!-- Submodels are objects which can be dropped or launched from the user
4 aircraft. The trigger is a boolean property, which you define, which when
5 "true" causes the submodel to be released/launched.
7 A submodel will create an AIBallistic object which will follow a ballistic
8 path. By default one submodel will be released when the corresponding
11 The initial conditions (IC) define the object's starting point (relative
12 to the user aircraft's "reported position"), and its initial speed and
13 direction (relative to the user aircraft). If you want to release many
14 similar objects with similar IC, then you may use the <repeat>, <delay>
15 and <count> properties to define this. The allowed properties are:
17 <name> The name of the submodel.
18 <model> The path to the visual model.
19 <trigger> The property which will act as the trigger.
20 <speed> Initial speed, in feet/sec, relative to user aircraft.
21 <repeat> Set "true" if you want multiple releases of this submodel.
22 <delay> Time, in seconds, between repeated releases.
23 <count> Number of submodels available for multiple release.
24 -1 defines an unlimited number.
25 <slaved> Not used yet.
26 <x-offset> Submodel's initial fore/aft position relative to user
27 aircraft. Fore is positive.
28 <y-offset> Submodel's initial left/right position relative to user
29 aircraft. Right is positive.
30 <z-offset> Submodel's initial up/down position relative to user
31 aircraft. Up is positive.
32 <yaw-offset> Submodel's initial azimuth, in degrees, relative to user
33 aircraft'snose. Right is positive.
34 <pitch-offset> Submodel's initial elevation, in degrees, relative to user
35 aircraft's pitch. Up is positive.
36 <life> Life span in seconds. Default is 900.0.
37 <buoyancy> In ft/sec/sec. Works opposite acceleration of gravity.
38 For example, if set to 32 the submodel will feel no
39 gravity. If greater than 32 the object will rise.
41 <wind> Set to true if you want the submodel to react to the wind.
43 <cd> The Coeffient of Drag. Varies with submodel shape - 0.295 for a bullet,
44 0.045 for an airfoil. Enter an appropriate value. Defaults to 0.295.
45 <eda> Effective drag area (sq ft). Usually the cross-sectional area of the
46 submodel normal to the airflow.
47 <weight> The weight of the submodel (lbs). NOT set to 0 on submodel release.You
48 may wish to set this value to 0 by means of key bindings or Nasal script.
50 <contents> The path to the contents of a submodel. The contents must be in lbs.
51 Intended for use with drop tanks. The property value will be set
52 to 0 on release of the submodel: do not also set to 0 elsewhere e.g.
53 in key bindings. Defaults to 0.
60 <model>Models/Geometry/tracer.ac</model>
61 <trigger>ai/submodels/submodel[0]/trigger</trigger>
66 <x-offset>1.0</x-offset>
67 <y-offset>-7.0</y-offset>
68 <z-offset>-2.0</z-offset>
69 <yaw-offset>0.4</yaw-offset>
70 <pitch-offset>1.8</pitch-offset>
75 <name>right gun</name>
76 <model>Models/Geometry/tracer.ac</model>
77 <trigger>ai/submodels/submodel[0]/trigger</trigger>
82 <x-offset>1.0</x-offset>
83 <y-offset>7.0</y-offset>
84 <z-offset>-2.0</z-offset>
85 <yaw-offset>-0.4</yaw-offset>
86 <pitch-offset>1.8</pitch-offset>
91 <name>droptank-l</name>
92 <model>Aircraft/Hunter/Models/droptank-100gal.ac</model>
93 <trigger>controls/armament/station[0]/jettison-all</trigger>
95 <repeat>false</repeat>
97 <x-offset>0.820</x-offset>
98 <y-offset>-9.61</y-offset>
99 <z-offset>-2.39</z-offset>
100 <yaw-offset>0</yaw-offset>
101 <pitch-offset>0</pitch-offset>
103 <eda>2.11348887</eda>
106 <contents>consumables/fuel/tank[2]/level-lbs</contents>
110 <name>droptank-r</name>
111 <model>Aircraft/Hunter/Models/droptank-100gal.ac</model>
112 <trigger>controls/armament/station[1]/jettison-all</trigger>
114 <repeat>false</repeat>
116 <x-offset>0.820</x-offset>
117 <y-offset>9.61</y-offset>
118 <z-offset>-2.39</z-offset>
119 <yaw-offset>0</yaw-offset>
120 <pitch-offset>0</pitch-offset>
122 <eda>2.11348887</eda>
125 <contents>consumables/fuel/tank[3]/level-lbs</contents>