1
0
Fork 0
No description
Find a file
ehofman c4aa3fa661 David Culp:
Here is an update for the submodel system.  This will allow submodels to be
defined for any aircraft, and there are no default submodels.  To use this
submodel system you need to set up a binding (slight change in property name
from last one, but you can use any property name you like, as long as it
matches the name in the submodels.xml file, see below):

 <button n="0">
  <desc>Trigger</desc>
  <binding>
   <command>property-assign</command>
   <property>/systems/submodels/trigger</property>
   <value type="bool">true</value>
  </binding>
  <mod-up>
   <binding>
    <command>property-assign</command>
    <property>/systems/submodels/trigger</property>
    <value type="bool">false</value>
   </binding>
  </mod-up>
 </button>


Then in your *-set.xml file you need to define a path to the configuration
file (similar to the way the electrical system is now done):

<sim>
 ...
  <systems>
   <electrical>
    <path>Aircraft/Generic/generic-electrical.xml</path>
   </electrical>
   <submodels>
    <serviceable type="bool">true</serviceable>
    <path>Aircraft/FW190/submodels.xml</path>
   </submodels>
  </systems>
 ...
</sim>


Then you put the submodel configuration file in your aircraft's directory.
I've attached a file, submodels.xml, that can be used to define a gun that
works just like the former one did.


There are two things remaining to be done.  One is to change the function
SubmodelSystem::transform() to properly position the submodel.  This will
require some complicated matrix code that I might borrow from Yasim.
2004-08-26 08:38:43 +00:00
docs-mini Replave libmk4.so.0 by libopenal.so.0 2004-08-08 11:32:28 +00:00
examples/netfdm Add an example implementation for the NetFDM structure. 2004-04-27 08:55:04 +00:00
man Cameron Moore: 2003-10-23 15:53:32 +00:00
package Incorporate some of the changes from the Linspire diff. 2004-06-06 14:28:45 +00:00
scripts Add a function to do plots with any channel being X and any other channel 2004-02-27 23:28:23 +00:00
src David Culp: 2004-08-26 08:38:43 +00:00
tests Incorporate some of the changes from the Linspire diff. 2004-06-06 14:28:45 +00:00
utils Various tweaks for v0.9.5-pre1. 2004-07-15 18:07:02 +00:00
.cvsignore Ignore generated GPL. 2004-04-04 20:56:26 +00:00
acinclude.m4 Fix a typo. 2002-09-03 04:52:32 +00:00
am2dsp.cfg Updated am2dsp.cfg from Bernie. 2002-04-22 22:42:23 +00:00
AUTHORS Initial revision. 1998-05-23 18:09:09 +00:00
autogen.sh Fixes to better support the native irix compilers. 2002-09-06 17:30:21 +00:00
ChangeLog Updated ... 2001-06-18 22:25:59 +00:00
configure.ac Tweaks for 0.9.5 release. 2004-07-29 21:54:15 +00:00
FlightGear.dsp Various tweaks for v0.9.5-pre1. 2004-07-15 18:07:02 +00:00
FlightGear.dsw Initial revision. 2000-10-16 22:02:10 +00:00
Makefile.am Updates for v0.9.5-pre2. 2004-07-21 21:49:54 +00:00
NEWS Tweaks for 0.9.5 release. 2004-07-29 21:54:15 +00:00
README Updates. 2000-02-15 23:32:26 +00:00
Thanks Add the AIModel based air traffic subsystem from Durk Talsma. 2004-06-03 17:59:14 +00:00

Welcome to the FlightGear Flight Simulator project.
===================================================

The primary web page for this project is: http://www.flightgear.org

For basic installation instructions see the "INSTALL" file.

Before you can run FlightGear you will also need to download and
install the "base" package which is a collection of textures, sounds,
sample scenery, and other data files need by the sim.

For additional install help for specific platforms please browse the
"docs-mini/" subdirectory.

More complete documentation is available from our web page as a
separate distribution.

Please take a look at the "Thanks" file for a list of people who have
contributed to this project.  If you have contributed something but
don't find your name in this file.  Please send a polite reminder to
curt@flightgear.org

For a summary of changes/additions by version see the "NEWS" file.

This project is GPL'd.  For complete details on our licensing please
see the "COPYING" file.

For information on available mailing lists, mailing list archives, and
other available source code and documenation, please visit our web
site.

FlightGear is a product of the collaboration of large international
group of volunteers.  FlightGear is a work in progress.  FlightGear
comes with no warrantee.  We hope you enjoy FlightGear and/or find it
of some value!