From bf6b525c3432094b3fa58ab60927ca05cf589b7e Mon Sep 17 00:00:00 2001 From: Vivian Meazza Date: Thu, 5 Aug 2010 16:41:43 +0100 Subject: [PATCH] Add new submodel parameters Signed-off-by: Vivian Meazza --- Docs/README.submodels | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/Docs/README.submodels b/Docs/README.submodels index 935bfea00..4b447b670 100644 --- a/Docs/README.submodels +++ b/Docs/README.submodels @@ -23,6 +23,10 @@ adequate for smoke effects, etc., for bullets, bombs, droptanks this is probably best left at "False". Since the effects of wind on various ballistic objects is 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 to the user aircraft's "reported position"), and its initial speed and @@ -39,14 +43,15 @@ Time, in seconds, between repeated releases. Number of submodels available for multiple release. -1 defines an unlimited number. - Not used yet. + If true, the submodel is slaved to the parent model. Submodel's initial fore/aft position (in feet), relative to user aircraft. Fore is positive. Submodel's initial left/right position (in feet), relative to user aircraft. Right is positive. Submodel's initial up/down position (in feet), relative to user aircraft. Up is positive. Submodel's initial azimuth, in degrees, relative to user aircraft'snose. Right is positive. Submodel's initial elevation, in degrees, relative to user aircraft's pitch. Up is positive. - Life span in seconds. Default is 900.0. + Life span in seconds. + Default is 900.0. In ft/sec/sec. Works opposite acceleration of gravity. For example, if set to 32 the submodel will feel no gravity. If greater than 32 the object will rise. @@ -58,10 +63,20 @@ 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. 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. - Varies CD by +- 5%. + Varies CD by +- 10%, initial azimuth by +- 10 degs, and life by + If is true, is applied to . 0 > Value < 1 are valid. + Defaults to 0.5. If true the submodel does not roll. - 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. - 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. + If true, the impact location (lat/lon) on the terrain is calculated. The Material + (e.g Grass)of the terrain, load resistance, and impact velocity. Altitude agl is calculated. + If true, collisions with other objects is tested. If a collision is detected then + the position data are written to the "Report Node". + Used in detecting collisions. The distance in feet between an object and a submodel + at which a collision is deemed to have occurred. + If true, the current position of the submodel is written to the "Report Node" when the submodel life expires. + 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 **** If true the submodel is subjected to an external force 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: