Releasing flares on the f16 did not work anymore. Thanks to Joacim and
vivian we have a cure for this.
Patch attached.
Nine
Index: f16-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/f16/f16-set.xml,v
retrieving revision 1.8
diff -u -3 -p -r1.8 f16-set.xml
--- f16-set.xml 14 Jun 2005 18:04:29 -0000 1.8
+++ f16-set.xml 30 Nov 2005 18:36:45 -0000
@@ -14,12 +14,10 @@
<splash-texture>Aircraft/f16/f16-splash.rgb</splash-texture>
</startup>
- <systems>
<submodels>
<serviceable type="bool">1</serviceable>
<path>Aircraft/f16/f16-submodels.xml</path>
</submodels>
- </systems>
<sound>
<path>Aircraft/f16/f16-sound.xml</path>
@@ -71,13 +69,13 @@
<desc>Trigger flare release</desc>
<binding>
<command>property-assign</command>
- <property>/systems/submodels/submodel[0]/flare-release</property>
+ <property>/ai/submodels/submodel[0]/flare-release</property>
<value type="bool">true</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
- <property>/systems/submodels/submodel[0]/flare-release</property>
+ <property>/ai/submodels/submodel[0]/flare-release</property>
<value type="bool">false</value>
</binding>
</mod-up>
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d