Add new submodel parameters
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
parent
2742085d69
commit
bf6b525c34
1 changed files with 20 additions and 5 deletions
|
@ -24,6 +24,10 @@
|
||||||
best left at "False". Since the effects of wind on various ballistic objects is
|
best left at "False". Since the effects of wind on various ballistic objects is
|
||||||
uncertain, there is no plan to change this situation.
|
uncertain, there is no plan to change this situation.
|
||||||
|
|
||||||
|
4. Submodels can be ensted to any depth, thus a submodel on expiry or impact etc,
|
||||||
|
can launch a child submodel, which in turn can launch a submodel. and so on. This
|
||||||
|
is the basis for Persistent Contrails, but any use is possible.
|
||||||
|
|
||||||
The initial conditions (IC) define the object's starting point (relative
|
The initial conditions (IC) define the object's starting point (relative
|
||||||
to the user aircraft's "reported position"), and its initial speed and
|
to the user aircraft's "reported position"), and its initial speed and
|
||||||
direction (relative to the user aircraft). If you want to release many
|
direction (relative to the user aircraft). If you want to release many
|
||||||
|
@ -39,14 +43,15 @@
|
||||||
<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.
|
||||||
-1 defines an unlimited number.
|
-1 defines an unlimited number.
|
||||||
<slaved> Not used yet.
|
<slaved> If true, the submodel is slaved to the parent model.
|
||||||
<x-offset> Submodel's initial fore/aft position (in feet), relative to user aircraft. Fore is positive.
|
<x-offset> Submodel's initial fore/aft position (in feet), relative to user aircraft. Fore is positive.
|
||||||
<y-offset> Submodel's initial left/right position (in feet), relative to user aircraft. Right is positive.
|
<y-offset> Submodel's initial left/right position (in feet), relative to user aircraft. Right is positive.
|
||||||
<z-offset> Submodel's initial up/down position (in feet), relative to user aircraft. Up is positive.
|
<z-offset> Submodel's initial up/down position (in feet), relative to user aircraft. Up is positive.
|
||||||
<yaw-offset> Submodel's initial azimuth, in degrees, relative to user
|
<yaw-offset> Submodel's initial azimuth, in degrees, relative to user
|
||||||
aircraft'snose. Right is positive.
|
aircraft'snose. Right is positive.
|
||||||
<pitch-offset> Submodel's initial elevation, in degrees, relative to user aircraft's pitch. Up is positive.
|
<pitch-offset> Submodel's initial elevation, in degrees, relative to user aircraft's pitch. Up is positive.
|
||||||
<life> Life span in seconds. Default is 900.0.
|
<life> Life span in seconds.
|
||||||
|
Default is 900.0.
|
||||||
<buoyancy> In ft/sec/sec. Works opposite acceleration of gravity.
|
<buoyancy> In ft/sec/sec. Works opposite acceleration of gravity.
|
||||||
For example, if set to 32 the submodel will feel no
|
For example, if set to 32 the submodel will feel no
|
||||||
gravity. If greater than 32 the object will rise.
|
gravity. If greater than 32 the object will rise.
|
||||||
|
@ -58,10 +63,20 @@
|
||||||
<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.
|
<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.
|
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.
|
<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.
|
||||||
<random> Varies CD by +- 5%.
|
<random> Varies CD by +- 10%, initial azimuth by +- 10 degs, and life by <randomness>
|
||||||
|
<randomness> If <random> is true, <randomness> is applied to <life>. 0 > Value < 1 are valid.
|
||||||
|
Defaults to 0.5.
|
||||||
<no-roll> If true the submodel does not roll.
|
<no-roll> If true the submodel does not roll.
|
||||||
<impact> If true, the impact location (lat/lon) on the terrain is calculated. The Material (e.g Grass)of the terrain, load resistance, impact velocity and energy are returned. Altitude agl is calculated.
|
<impact> If true, the impact location (lat/lon) on the terrain is calculated. The Material
|
||||||
<impact-reports> Defines a report node. When an impact happens, then the path of the submodel will be written to this node. An attached listener function can evaluate the impact properties. If unset, reports go to /ai/models/model-impact.
|
(e.g Grass)of the terrain, load resistance, and impact velocity. Altitude agl is calculated.
|
||||||
|
<collision> If true, collisions with other objects is tested. If a collision is detected then
|
||||||
|
the position data are written to the "Report Node".
|
||||||
|
<fuze-range> Used in detecting collisions. The distance in feet between an object and a submodel
|
||||||
|
at which a collision is deemed to have occurred.
|
||||||
|
<expiry> If true, the current position of the submodel is written to the "Report Node" when the submodel life expires.
|
||||||
|
<impact-reports> Defines a "Report Node". When an impact happens, then the path of the submodel will be written to this node.
|
||||||
|
An attached listener function can evaluate the impact properties. If unset,
|
||||||
|
reports go to /ai/models/model-impact.
|
||||||
|
|
||||||
***** experimental ****
|
***** experimental ****
|
||||||
<external-force> If true the submodel is subjected to an external force<force-path> A string describing the property where the magnitude, azimuth and elevation of the external force is to be found. The following child properties are instantiated:
|
<external-force> If true the submodel is subjected to an external force<force-path> A string describing the property where the magnitude, azimuth and elevation of the external force is to be found. The following child properties are instantiated:
|
||||||
|
|
Loading…
Reference in a new issue