1
0
Fork 0
fgdata/Aircraft/Instruments-3d/ky196/ky196-comm2-hotspots.xml
curt cdfa61f112 Syd Adams:
Here are the latest updates.

- Most of the changes involve moving instruments / animation / hotspot files
  to instruments-3d.

- Some re-texturing.

- Finished Aerostar gear animation.

- I tried adding a LONG variable to the nav radio property tree,
  but the conversion kept coming out wrong. Multiplying frequencies
  by 100 and outputing that to another DOUBLE worked, but I cant find
  the Comm frequencies property updating for the life of me ..... oh
  well Nasal works.
2006-02-23 19:06:03 +00:00

208 lines
No EOL
4.7 KiB
XML

<?xml version="1.0"?>
<!--
KY196 Comm2 radio hotspots
-->
<PropertyList>
<name>comm2 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<actions>
<!-- ************************ COMM 2 *****************-->
<!--
<action>
<name>bezel outline</name>
<button>0</button>
<x>-80</x>
<y>-18</y>
<w>160</w>
<h>36</h>
</action>
-->
<action>
<name>com2 frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/serviceable</property>
<value>true</value>
</equals>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com2 power on</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/serviceable</property>
<value>false</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>com2 volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<greater-than>
<property>/instrumentation/comm[1]/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com2 power off</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>swap com2 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>