Define new tags for use with submodels
This commit is contained in:
parent
b2ed067e3a
commit
f8573e32e6
1 changed files with 37 additions and 10 deletions
|
@ -18,6 +18,9 @@
|
||||||
<model> The path to the visual model.
|
<model> The path to the visual model.
|
||||||
<trigger> The property which will act as the trigger.
|
<trigger> The property which will act as the trigger.
|
||||||
<speed> Initial speed, in feet/sec, relative to user aircraft.
|
<speed> Initial speed, in feet/sec, relative to user aircraft.
|
||||||
|
<speed-prop> The property containing the Initial speed, in feet/sec,
|
||||||
|
relative to user aircraft. If this path is found, <speed>
|
||||||
|
will be overwritten.
|
||||||
<repeat> Set "true" if you want multiple releases of this submodel.
|
<repeat> Set "true" if you want multiple releases of this submodel.
|
||||||
<delay> Time, in seconds, between repeated releases.
|
<delay> Time, in seconds, between repeated releases.
|
||||||
<count> Number of submodels available for multiple release.
|
<count> Number of submodels available for multiple release.
|
||||||
|
@ -40,17 +43,18 @@
|
||||||
Default is 0.
|
Default is 0.
|
||||||
<wind> Set to true if you want the submodel to react to the wind.
|
<wind> Set to true if you want the submodel to react to the wind.
|
||||||
Default is "false".
|
Default is "false".
|
||||||
<cd> The Coeffient of Drag. Varies with submodel shape - 0.295 for a bullet,
|
<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.
|
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
|
<random> When this is true the Cd is varied by +- 5%. Useful for smoke or contrails.
|
||||||
submodel normal to the airflow.
|
<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
|
<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.
|
may wish to set this value to 0 by means of key bindings or Nasal script.
|
||||||
Defaults to 0.25.
|
Defaults to 0.25.
|
||||||
<contents> The path to the contents of a submodel. The contents must be in lbs.
|
<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
|
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.
|
to 0 on release of the submodel: do not also set to 0 elsewhere e.g.
|
||||||
in key bindings. Defaults to 0.
|
in key bindings. Defaults to 0.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
@ -124,5 +128,28 @@
|
||||||
<cd>0.045</cd>
|
<cd>0.045</cd>
|
||||||
<contents>consumables/fuel/tank[3]/level-lbs</contents>
|
<contents>consumables/fuel/tank[3]/level-lbs</contents>
|
||||||
</submodel>
|
</submodel>
|
||||||
|
|
||||||
|
<submodel>
|
||||||
|
<name>engine exhaust r</name>
|
||||||
|
<model>Aircraft/seahawk/Models/exhaust_s.xml</model>
|
||||||
|
<trigger>sim/ai/aircraft/exhaust</trigger>
|
||||||
|
<speed-node>engines/engine/n1</speed-node>
|
||||||
|
<speed>10</speed>
|
||||||
|
<repeat>true</repeat>
|
||||||
|
<delay>0.1</delay>
|
||||||
|
<count>-1</count>
|
||||||
|
<x-offset>-3.5</x-offset>
|
||||||
|
<y-offset>2.6768</y-offset>
|
||||||
|
<z-offset>-0.3937</z-offset>
|
||||||
|
<yaw-offset>170</yaw-offset>
|
||||||
|
<life>10</life>
|
||||||
|
<buoyancy>128</buoyancy>
|
||||||
|
<aero-stabilised>0</aero-stabilised>
|
||||||
|
<wind>true</wind>
|
||||||
|
<eda>1</eda>
|
||||||
|
<cd>0.95</cd>
|
||||||
|
<weight>1</weight>
|
||||||
|
<random>1</random>
|
||||||
|
</submodel>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Add table
Reference in a new issue