Lee Elliott:
Fix the AoA intruments to point to /orientation/alpha-deg instead of the old /velocities/alpha-deg
This commit is contained in:
parent
d67cbb2255
commit
5f2d105e3b
3 changed files with 77 additions and 9 deletions
|
@ -40,7 +40,7 @@
|
|||
</texture>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/too-slow-deg</property>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -59,11 +59,11 @@
|
|||
</texture>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/too-slow-deg</property>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/slow-deg</property>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -82,11 +82,11 @@
|
|||
</texture>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/slow-deg</property>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/fast-deg</property>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -105,11 +105,11 @@
|
|||
</texture>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/fast-deg</property>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/too-fast-deg</property>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -128,7 +128,7 @@
|
|||
</texture>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<property>/sim/aoa-indexer/too-fast-deg</property>
|
||||
</less-than>
|
||||
</condition>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<transformations>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property>/velocities/alpha-deg</property>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<scale>-10</scale>
|
||||
<offset>225</offset>
|
||||
</transformation>
|
||||
|
|
68
Aircraft/Instruments/aoaL.xml
Executable file
68
Aircraft/Instruments/aoaL.xml
Executable file
|
@ -0,0 +1,68 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<name>Acceleration (G force) Indicator</name>
|
||||
<w-base>128</w-base>
|
||||
<h-base>128</h-base>
|
||||
<layers>
|
||||
<layer>
|
||||
<name>gauge face</name>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/aoaL.rgb</path>
|
||||
<x1>0</x1>
|
||||
<y1>0</y1>
|
||||
<x2>1</x2>
|
||||
<y2>1</y2>
|
||||
</texture>
|
||||
<w>110</w>
|
||||
<h>110</h>
|
||||
</layer>
|
||||
<layer>
|
||||
<name>needle</name>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||
<x1>0.8</x1>
|
||||
<y1>0.78125</y1>
|
||||
<x2>0.8375</x2>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
<w>6</w>
|
||||
<h>44</h>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property>/orientation/alpha-deg</property>
|
||||
<scale>-10</scale>
|
||||
<offset>225</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>16</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>glare shield</name>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
|
||||
<x1>0.5</x1>
|
||||
<y1>0.0</y1>
|
||||
<x2>1.0</x2>
|
||||
<y2>0.5</y2>
|
||||
</texture>
|
||||
<w>128</w>
|
||||
<h>128</h>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>3</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-3</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
</layers>
|
||||
</PropertyList>
|
||||
|
Loading…
Reference in a new issue