]> git.mxchange.org Git - flightgear.git/blobdiff - docs-mini/README.submodels
Tidy new_gui header
[flightgear.git] / docs-mini / README.submodels
index 67d9fd376b3178a4eb28b146434d600c7115e0e1..9f26ca531477073f0d415a1031380f379a65f5e9 100644 (file)
@@ -21,6 +21,7 @@
       <repeat>       Set "true" if you want multiple releases of this submodel.
       <delay>        Time, in seconds, between repeated releases.
       <count>        Number of submodels available for multiple release.
+                     -1 defines an unlimited number.
       <slaved>       Not used yet.
       <x-offset>     Submodel's initial fore/aft position relative to user
                      aircraft.   Fore is positive.
                      aircraft'snose.   Right is positive.
       <pitch-offset> Submodel's initial elevation, in degrees, relative to user
                      aircraft's pitch.    Up is positive.
-      <eda>          Equivalent Drag Area in ft squared.  The object is assumed
-                     to have a  mass of 0.03 slugs and a drag coefficient of
-                     0.295, and sea-level air density is assumed.  Adjust the
-                     EDA to give the model the ballistics you need.
-                     The default value is 0.007.
       <life>         Life span in seconds.  Default is 900.0.
       <buoyancy>     In ft/sec/sec.  Works opposite acceleration of gravity.
                      For example, if set to 32 the submodel will feel no 
                      Default is 0.
       <wind>         Set to true if you want the submodel to react to the wind.
                      Default is "false". 
+         <cd>           The Coeffient of Drag. Varies with submodel shape - 0.295 for a bullet, 
+                        0.045 for an airfoil. Enter an appropriate value. Defaults to 0.295.
+         <eda>          Effective drag area (sq ft). Usually the cross-sectional area of the
+                        submodel normal to the airflow.
+      <weight>       The weight of the submodel (lbs). NOT set to 0 on submodel release.You 
+                        may wish to set this value to 0 by means of key bindings or Nasal script.
+                                        Defaults to 0.25.
+         <contents>     The path to the contents of a submodel. The contents must be in lbs.
+                                        Intended for use with drop tanks. The property value will be set 
+                                        to 0 on release of the submodel: do not also set to 0 elsewhere e.g.
+                                        in key bindings. Defaults to 0.
 -->  
  
 <PropertyList>
@@ -51,7 +58,7 @@
   <submodel>
     <name>left gun</name>
     <model>Models/Geometry/tracer.ac</model>
-    <trigger>systems/submodels/submodel[0]/trigger</trigger>
+    <trigger>ai/submodels/submodel[0]/trigger</trigger>
     <speed>2750.0</speed>
     <repeat>true</repeat>
     <delay>0.25</delay>
@@ -67,7 +74,7 @@
   <submodel>
     <name>right gun</name>
     <model>Models/Geometry/tracer.ac</model>
-    <trigger>systems/submodels/submodel[0]/trigger</trigger>
+    <trigger>ai/submodels/submodel[0]/trigger</trigger>
     <speed>2750.0</speed>
     <repeat>true</repeat>
     <delay>0.25</delay>
     <pitch-offset>1.8</pitch-offset>
     <life>2.0</life>
   </submodel>
+  
+  <submodel> 
+      <name>droptank-l</name>
+      <model>Aircraft/Hunter/Models/droptank-100gal.ac</model>
+      <trigger>controls/armament/station[0]/jettison-all</trigger>
+      <speed>0</speed>
+      <repeat>false</repeat>
+      <count>1</count>
+      <x-offset>0.820</x-offset>
+      <y-offset>-9.61</y-offset>
+      <z-offset>-2.39</z-offset>
+      <yaw-offset>0</yaw-offset>
+      <pitch-offset>0</pitch-offset>
+      <wind>false</wind>
+      <eda>2.11348887</eda>
+         <weight>170</weight>
+         <cd>0.045</cd>
+         <contents>consumables/fuel/tank[2]/level-lbs</contents>
+    </submodel>
+       
+    <submodel> 
+      <name>droptank-r</name>
+      <model>Aircraft/Hunter/Models/droptank-100gal.ac</model>
+      <trigger>controls/armament/station[1]/jettison-all</trigger>
+      <speed>0</speed>
+      <repeat>false</repeat>
+      <count>1</count>
+      <x-offset>0.820</x-offset>
+      <y-offset>9.61</y-offset>
+      <z-offset>-2.39</z-offset>
+      <yaw-offset>0</yaw-offset>
+      <pitch-offset>0</pitch-offset>
+      <wind>false</wind>
+         <eda>2.11348887</eda>
+         <weight>170</weight>
+         <cd>0.045</cd>
+         <contents>consumables/fuel/tank[3]/level-lbs</contents>
+    </submodel>
 
 </PropertyList>