Hi! I tried to use the alias feature in a 3d instrument config-file:
<PropertyList> <path>fuel_gauge.ac</path> <params> <tank-select>consumables/fuel/tank[0]/level-lbs</tank-select> </params> <animation> <type>rotate</type> <object-name>Needle</object-name> <property alias="../../params/tank-select"/> <interpolation> <entry><ind>0</ind><dep>-216</dep></entry> <entry><ind>700</ind><dep>-90</dep></entry> <entry><ind>1400</ind><dep>36</dep></entry> </interpolation> <axis> <x>-1</x> <y>0</y> <z>0</z> </axis> </animation> </PropertyList> And that worked OK, the gauge showed the contents of tank[0], the default. When I wanted to show the contents of another tank (tank[1]) , I used the same approach as for 2d instruments. I added this to the model config file: <model> <name>FUEL</name> <path>Aircraft/king-air-200/Instruments/fuel_gauge.xml</path> <params> <tank-select>consumables/fuel/tank[1]/level-lbs</tank-select> </params> <offsets> <x-m>2.809</x-m> <y-m>-0.757</y-m> <z-m>0.556</z-m> <pitch-deg>-38</pitch-deg> <heading-deg>90</heading-deg> </offsets> </model> But the gauge still shows the contents of tank[0]. Is the alias feature unavailable for 3d instruments, or have I used the params tag incorrectly in the model config file? I was planning on using the alias feature for a lot of switches, instead of making a lot of 3d-instrument config files. -- Roy Vegard Ovesen _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel