1
0
Fork 0

Minor FDM update ...elevators too touchy...

Updated electrical system ...instrument light output normalized
Added OSG hotspots to most instruments ... more to go yet
PLIB hotspots temporarily broken ..need to resize panel to avoid whiteouts...
(a waste of time ) but some still use PLIB , so needs to be fixed ... ;)
This commit is contained in:
sydadams 2007-04-09 19:33:41 +00:00
parent d75dde7ce5
commit bc002ff33f
16 changed files with 2610 additions and 1537 deletions

View file

@ -12,39 +12,11 @@
<object-name>needle10000</object-name>
<object-name>inhg</object-name>
<object-name>InhgKnob</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>ALTface</object-name>
<object-name>needle100</object-name>
<object-name>needle1000</object-name>
<object-name>needle10000</object-name>
<object-name>inhg</object-name>
<object-name>InhgKnob</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>1</value>
</less-than>
</condition>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>

View file

@ -1,5 +1,8 @@
<?xml version="1.0"?>
<!--
Airspeed Indicator (300 kt)
Syd Adams
-->
<PropertyList>
<path>asi300.ac</path>
@ -8,39 +11,14 @@
<type>material</type>
<object-name>ASIneedle</object-name>
<object-name>ASIface</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>ASIneedle</object-name>
<object-name>ASIface</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>1</value>
</less-than>
</condition>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>ASIneedle</object-name>

View file

@ -11,35 +11,12 @@ Syd Adams
<animation>
<type>material</type>
<object-name>FDannunciator</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<object-name>FD-annun</object-name>
<emission>
<red>0.5</red>
<green>0.4</green>
<red>0.7</red>
<green>0.5</green>
<blue>0.3</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>FDannunciator</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</less-than>
</condition>
<emission>
<red>0.5</red>
<green>0.4</green>
<blue>0.3</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
@ -198,4 +175,20 @@ Syd Adams
</condition>
</animation>
<animation>
<type>select</type>
<object-name>A-ON</object-name>
<condition>
<property>/instrumentation/kfc200/alert</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>TRIM-ON</object-name>
<condition>
<property>/instrumentation/kfc200/trim-fail</property>
</condition>
</animation>
</PropertyList>

View file

@ -11,34 +11,11 @@
<animation>
<type>material</type>
<object-name>FDbase</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<emission>
<red>0.5</red>
<green>0.4</green>
<red>0.4</red>
<green>0.3</green>
<blue>0.3</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>FDbase</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</less-than>
</condition>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
@ -171,7 +148,7 @@
</action>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>APPR.btn</object-name>
<action>
@ -187,6 +164,20 @@
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>APtoggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/passive-mode</property>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>APtoggle</object-name>

File diff suppressed because it is too large Load diff

View file

@ -9,6 +9,18 @@ Syd Adams
<path>kas297.ac</path>
<animation>
<type>material</type>
<object-name>Arm.btn</object-name>
<object-name>Set.knob</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>altmsg</object-name>
@ -123,4 +135,74 @@ Syd Adams
</axis>
</animation>
<!-- OSG animations -->
<animation>
<type>pick</type>
<object-name>Alt.decrease</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>-100</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Alt.decrease</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>-1000</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Alt.increase</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>100</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Alt.increase</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>1000</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -1,4 +1,10 @@
<?xml version="1.0"?>
<!--
KG - 258 Atitude Gyro
KI - 525A HSI
Syd Adams
-->
<PropertyList>
@ -22,51 +28,15 @@
<object-name>KI525A</object-name>
<object-name>CRSknob</object-name>
<object-name>HDGknob</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>AIring</object-name>
<object-name>AIpitch</object-name>
<object-name>Symbol</object-name>
<object-name>kfc-hdgbug</object-name>
<object-name>FDbars</object-name>
<object-name>kfc-crs</object-name>
<object-name>kfc-crs.001</object-name>
<object-name>To-flag</object-name>
<object-name>From-flag</object-name>
<object-name>CmpsCard</object-name>
<object-name>nav-warning</object-name>
<object-name>hdg-warning</object-name>
<object-name>GSneedle</object-name>
<object-name>KI525A</object-name>
<object-name>CRSknob</object-name>
<object-name>HDGknob</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</less-than>
</condition>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<!-- KI-525A / KG-258 -->
<animation>
<type>rotate</type>
@ -90,21 +60,11 @@
<object-name>AIpitch</object-name>
<property>orientation/pitch-deg</property>
<interpolation>
<entry>
<ind>-90.0</ind><dep>0.0161</dep>
</entry>
<entry>
<ind>-30.0</ind><dep>0.0161</dep>
</entry>
<entry>
<ind>0.0</ind><dep>0.0</dep>
</entry>
<entry>
<ind>30.0</ind><dep>-0.0171</dep>
</entry>
<entry>
<ind>90.0</ind><dep>-0.0171</dep>
</entry>
<entry><ind>-90.0</ind><dep>0.0161</dep></entry>
<entry><ind>-30.0</ind><dep>0.0161</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>30.0</ind><dep>-0.0171</dep></entry>
<entry><ind>90.0</ind><dep>-0.0171</dep></entry>
</interpolation>
<center>
<x-m>0.0</x-m>
@ -254,15 +214,9 @@
<object-name>kfc-crs.001</object-name>
<property>instrumentation/nav/heading-needle-deflection</property>
<interpolation>
<entry>
<ind>-10.0</ind><dep>-0.0193</dep>
</entry>
<entry>
<ind>0.0</ind><dep>0.0</dep>
</entry>
<entry>
<ind>10.0</ind><dep>0.0193</dep>
</entry>
<entry><ind>-10.0</ind><dep>-0.0193</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>10.0</ind><dep>0.0193</dep></entry>
</interpolation>
<axis>
<x>0.0</x>
@ -281,21 +235,11 @@
<object-name>GSneedle</object-name>
<property>instrumentation/nav/gs-needle-deflection</property>
<interpolation>
<entry>
<ind>-100.0</ind><dep>-0.0183</dep>
</entry>
<entry>
<ind>-10.0</ind><dep>-0.0183</dep>
</entry>
<entry>
<ind>0.0</ind><dep>0.0</dep>
</entry>
<entry>
<ind>10.0</ind><dep>0.0183</dep>
</entry>
<entry>
<ind>100.0</ind><dep>0.0183</dep>
</entry>
<entry><ind>-100.0</ind><dep>-0.0183</dep></entry>
<entry><ind>-10.0</ind><dep>-0.0183</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>10.0</ind><dep>0.0183</dep></entry>
<entry><ind>100.0</ind><dep>0.0183</dep></entry>
</interpolation>
<axis>
<x>0.0</x>
@ -309,8 +253,6 @@
</center>
</animation>
<animation>
<type>select</type>
<object-name>To-flag</object-name>

View file

@ -13,6 +13,8 @@ FDM_ON = 0;
setlistener("/sim/signals/fdm-initialized", func {
KNS80.getNode("serviceable",1).setBoolValue(1);
KNS80.getNode("volume-adjust",1).setValue(0);
KNS80.getNode("data-adjust",1).setValue(0);
KNS80.getNode("volume",1).setValue(0.5);
KNS80.getNode("display",1).setValue(0);
KNS80.getNode("use",1).setValue(0);
@ -38,6 +40,50 @@ setlistener("/sim/signals/fdm-initialized", func {
print("KNS-80 Nav System ... OK");
});
setlistener("/instrumentation/kns-80/volume-adjust", func {
if(FDM_ON == 0){return;}
var setting = cmdarg().getValue() * 0.05;
cmdarg().setValue(0);
var vol = KNS80.getNode("volume").getValue() + setting;
if(vol > 1.0){vol = 1.0;}
if(vol < 0.0){vol = 0.0;KNS80.getNode("serviceable").setBoolValue(0);}
if(vol > 0.0){KNS80.getNode("serviceable").setBoolValue(1);}
KNS80.getNode("volume").setValue(vol);
KNS80.getNode("volume-adjust").setValue(0);
});
setlistener("/instrumentation/kns-80/data-adjust", func {
if(FDM_ON == 0){return;}
var dmode = KNS80.getNode("data-mode").getValue();
var num = cmdarg().getValue();
cmdarg().setValue(0);
if(dmode == 0){
if(num == -1 or num ==1 ){num = num *5;}else{num = num *10;}
var newfreq = KNS80.getNode("displayed-frequency").getValue();
newfreq += num;
if(newfreq > 11895){newfreq -= 1100;}
if(newfreq < 10800){newfreq += 1100;}
KNS80.getNode("displayed-frequency").setValue(newfreq);
return;
}
if(dmode == 1){
var newrad = KNS80.getNode("displayed-radial").getValue();
newrad += num;
if(newrad > 359){newrad -= 360;}
if(newrad < 0){newrad += 360;}
KNS80.getNode("displayed-radial").setValue(newrad);
return;
}
if(dmode == 2){
var newdist = KNS80.getNode("displayed-distance").getValue();
newdist += num;
if(newdist > 99){newdist -= 100;}
if(newdist < 0){newdist += 100;}
KNS80.getNode("displayed-distance").setValue(newdist);
return;
}
});
setlistener("/instrumentation/kns-80/displayed-frequency", func {
if(FDM_ON == 0){return;}
var freq = cmdarg().getValue();
@ -92,4 +138,3 @@ setlistener("/instrumentation/kns-80/dme-hold", func {
props.globals.getNode("instrumentation/dme/frequencies/source").setValue("/instrumentation/nav[0]/frequencies/selected-mhz");
}
});

File diff suppressed because it is too large Load diff

View file

@ -8,6 +8,24 @@ Syd Adams
<path>kns80.ac</path>
<animation>
<type>material</type>
<object-name>VOR.btn</object-name>
<object-name>RNAV.btn</object-name>
<object-name>HOLD.btn</object-name>
<object-name>USE.btn</object-name>
<object-name>DSP.btn</object-name>
<object-name>DATA.btn</object-name>
<object-name>KNS80.volume</object-name>
<object-name>KNS80.freq</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<name>dme-on</name>
<object-name>nm.101</object-name>
@ -23,7 +41,6 @@ Syd Adams
<animation>
<name>illumination</name>
<object-name>annun.nm</object-name>
<object-name>KNS80.modes</object-name>
<object-name>display.digit</object-name>
<object-name>use.digit</object-name>
</animation>
@ -563,4 +580,154 @@ Syd Adams
</axis>
</animation>
<!-- OSG hotspots -->
<animation>
<type>pick</type>
<object-name>Vol.decrease</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kns-80/volume-adjust</property>
<value>-1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.increase</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kns-80/volume-adjust</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Set.decrease</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kns-80/data-adjust</property>
<value>-1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Set.increase</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kns-80/data-adjust</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Set.decrease</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kns-80/data-adjust</property>
<value>-10</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Set.increase</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kns-80/data-adjust</property>
<value>10</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>HOLD.btn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>instrumentation/kns-80/dme-hold</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>USE.btn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/kns-80/use</property>
<step>1</step>
<min>0</min>
<max>4</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>DSP.btn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/kns-80/display</property>
<step>1</step>
<min>0</min>
<max>4</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>DATA.btn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/kns-80/data-mode</property>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -0,0 +1,30 @@
#### King KY-196 Comm Transciever ####
#### Syd Adams ####
####
#### Must be included in the Set file to run the KY-196 radio
####
KY196 = props.globals.getNode("/instrumentation/ky-196",1);
FDM_ON = 0;
setlistener("/sim/signals/fdm-initialized", func {
KY196.getNode("comm-num",1).setValue(0);
KY196.getNode("volume-adjust",1).setValue(0);
FDM_ON = 1;
print("KY-196 Comm System ... OK");
});
setlistener("/instrumentation/ky-196/volume-adjust", func {
if(FDM_ON == 0){return;}
var setting = cmdarg().getValue() ;
cmdarg().setValue(0);
comm_num = KY196.getNode("comm-num").getValue();
var commNode = props.globals.getNode("instrumentation/comm[" ~ comm_num ~"]");
var vol = commNode.getNode("volume").getValue() + setting;
if(vol > 1.0){vol = 1.0;}
if(vol < 0.0){vol = 0.0;commNode.getNode("serviceable").setBoolValue(0);}
if(vol > 0.0){commNode.getNode("serviceable").setBoolValue(1);}
commNode.getNode("volume").setValue(vol);
});

View file

@ -4,6 +4,19 @@
<path>ky196.ac</path>
<animation>
<type>material</type>
<object-name>KY196.swap</object-name>
<object-name>KY196.volume</object-name>
<object-name>KY196.knob</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<name>comm1-leds</name>
<object-name>freq.101</object-name>
@ -37,21 +50,13 @@
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KY196.volume</object-name>
<property>instrumentation/comm/volume</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>300</dep>
</entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.004</x-m>
@ -64,7 +69,9 @@
<z>0</z>
</axis>
</animation>
<!-- FREQUENCY -->
<!-- FREQUENCY -->
<animation>
<type>textranslate</type>
<object-name>freq.101</object-name>
@ -129,7 +136,9 @@
<z>0</z>
</axis>
</animation>
<!-- STANDBY -->
<!-- STANDBY -->
<animation>
<type>textranslate</type>
<object-name>stby.101</object-name>
@ -195,6 +204,136 @@
</axis>
</animation>
<!-- OSG Hotspots -->
<animation>
<type>pick</type>
<object-name>KY196.swap</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-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>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-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>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -4,8 +4,21 @@
<path>ky196.ac</path>
<animation>
<type>material</type>
<object-name>KY196.swap</object-name>
<object-name>KY196.volume</object-name>
<object-name>KY196.knob</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<name>comm2-leds</name>
<name>comm1-leds</name>
<object-name>freq.101</object-name>
<object-name>freq.102</object-name>
<object-name>freq.103</object-name>
@ -22,11 +35,11 @@
<animation>
<type>select</type>
<object-name>comm2-leds</object-name>
<object-name>comm1-leds</object-name>
<condition>
<and>
<equals>
<property>instrumentation/comm/serviceable</property>
<property>instrumentation/comm[1]/serviceable</property>
<value>true</value>
</equals>
<greater-than>
@ -37,21 +50,13 @@
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KY196.volume</object-name>
<property>instrumentation/comm[1]/volume</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>300</dep>
</entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.004</x-m>
@ -64,7 +69,9 @@
<z>0</z>
</axis>
</animation>
<!-- FREQUENCY -->
<!-- FREQUENCY -->
<animation>
<type>textranslate</type>
<object-name>freq.101</object-name>
@ -129,7 +136,9 @@
<z>0</z>
</axis>
</animation>
<!-- STANDBY -->
<!-- STANDBY -->
<animation>
<type>textranslate</type>
<object-name>stby.101</object-name>
@ -195,6 +204,136 @@
</axis>
</animation>
<!-- OSG Hotspots -->
<animation>
<type>pick</type>
<object-name>KY196.swap</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-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>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-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>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -2,19 +2,20 @@ AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
MATERIAL "led" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0.9 0.9 0.9 spec 0 0 0 shi 32 trans 0
MATERIAL "metal" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 1 1 1 shi 32 trans 0
MATERIAL "illum" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0.5 0.5 0.5 spec 0.5 0.5 0.5 shi 32 trans 0
OBJECT world
kids 16
kids 20
OBJECT poly
name "freq.105"
name "freq.104"
data 8
Mesh.011
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.039603
0.003549 0.002881 0.040592
0.003549 0.002881 0.035655
0.003549 0.010529 0.034666
0.003549 0.010529 0.0464
0.003549 0.002881 0.04739
0.003549 0.002881 0.042453
0.003549 0.010529 0.041464
numsurf 1
SURF 0x00
mat 1
@ -25,28 +26,81 @@ refs 4
2 0.09375 0.00390625
kids 0
OBJECT poly
name "KY196.display"
name "Vol.up"
data 9
Plane.001
texture "KY196.rgb"
texrep 1 1
crease 30
numvert 16
crease 30.000000
numvert 4
0.003934 -0.000413 -0.035786
0.003934 -0.010948 -0.035786
0.003934 -0.010948 -0.042553
0.003934 -0.000413 -0.042553
numsurf 1
SURF 0x00
mat 2
refs 4
3 0.516283273697 0.391503840685
0 0.435670435429 0.391503840685
1 0.435670435429 0.266009241343
2 0.516283273697 0.266009181738
kids 0
OBJECT poly
name "Freq.up"
data 9
Plane.002
texture "KY196.rgb"
texrep 1 1
crease 30.000000
numvert 4
0.003934 0.007988 -0.064199
0.003934 -0.007397 -0.064199
0.003934 -0.007397 -0.074082
0.003934 0.007988 -0.074082
numsurf 1
SURF 0x00
mat 2
refs 4
3 0.908902943134 0.487631440163
0 0.795453310013 0.487631440163
1 0.795453310013 0.311018019915
2 0.908902943134 0.311018019915
kids 0
OBJECT poly
name "Vol.down"
data 5
Plane
texture "KY196.rgb"
texrep 1 1
crease 30.000000
numvert 4
0.003934 -0.010948 -0.02902
0.003934 -0.000413 -0.02902
0.003934 -0.010948 -0.035786
0.003934 -0.000413 -0.035786
numsurf 1
SURF 0x00
mat 2
refs 4
0 0.355057626963 0.266009300947
2 0.435670435429 0.266009241343
3 0.435670435429 0.391503840685
1 0.355057626963 0.391503840685
kids 0
OBJECT poly
name "KY196.display"
data 8
Mesh.001
texture "KY196.rgb"
texrep 1 1
crease 30.000000
numvert 4
0.003336 0.015377 -0.028139
0.003336 -0.003518 -0.028139
0.003336 0.015377 0.078913
0.003336 -0.003518 0.079027
0.00355 -0.001685 -0.017015
0.00355 0.00139 -0.017022
0.00355 -0.001685 -0.023758
0.00355 0.00139 -0.023758
0.00355 0.00139 -0.000521
0.00355 -0.001685 -0.000521
0.00355 0.00139 0.006216
0.00355 -0.001685 0.006223
0.00355 -0.001685 0.052511
0.00355 0.00139 0.052503
0.00355 -0.001685 0.045767
0.00355 0.00139 0.045767
numsurf 4
numsurf 1
SURF 0x00
mat 1
refs 4
@ -54,58 +108,39 @@ refs 4
2 0.54235804081 0.929962158203
3 0.54235804081 0.851837158203
1 0.63610804081 0.851837158203
SURF 0x00
mat 1
refs 4
7 0.278105586767 0.410686582327
5 0.177959337831 0.410686582327
4 0.177852198482 0.364978641272
6 0.278105586767 0.364978641272
SURF 0x00
mat 1
refs 4
8 0.982569217682 0.809529900551
10 0.882422924042 0.809529900551
11 0.882315814495 0.763821959496
9 0.982569217682 0.763821959496
SURF 0x00
mat 1
refs 4
15 0.426238626242 0.808669388294
13 0.326092392206 0.808669388294
12 0.325985223055 0.762961447239
14 0.426238626242 0.762961447239
kids 0
OBJECT poly
name "KY196.volume"
data 8
Mesh.002
texture "KY196.rgb"
texrep 1 1
crease 45
crease 45.000000
numvert 24
0.003553 -0.010013 -0.037141
0.003553 -0.0102 -0.035007
0.003553 -0.009295 -0.033066
0.003553 -0.00754 -0.031837
0.003553 -0.005406 -0.031651
0.003553 -0.003465 -0.032556
0.003553 -0.002237 -0.03431
0.003553 -0.00205 -0.036444
0.003553 -0.002955 -0.038385
0.003553 -0.00471 -0.039614
0.003553 -0.006844 -0.039801
0.003553 -0.008785 -0.038895
0.008356 -0.010013 -0.037141
0.008356 -0.0102 -0.035007
0.008356 -0.009295 -0.033066
0.008356 -0.00754 -0.031837
0.008356 -0.005406 -0.031651
0.008356 -0.003465 -0.032556
0.008356 -0.002237 -0.03431
0.008356 -0.00205 -0.036444
0.008356 -0.002955 -0.038385
0.008356 -0.00471 -0.039614
0.008356 -0.006844 -0.039801
0.008356 -0.008785 -0.038895
0.004045 -0.010013 -0.037141
0.004045 -0.0102 -0.035007
0.004045 -0.009295 -0.033066
0.004045 -0.00754 -0.031837
0.004045 -0.005406 -0.031651
0.004045 -0.003465 -0.032556
0.004045 -0.002237 -0.03431
0.004045 -0.00205 -0.036444
0.004045 -0.002955 -0.038385
0.004045 -0.00471 -0.039614
0.004045 -0.006844 -0.039801
0.004045 -0.008785 -0.038895
0.008848 -0.010013 -0.037141
0.008848 -0.0102 -0.035007
0.008848 -0.009295 -0.033066
0.008848 -0.00754 -0.031837
0.008848 -0.005406 -0.031651
0.008848 -0.003465 -0.032556
0.008848 -0.002237 -0.03431
0.008848 -0.00205 -0.036444
0.008848 -0.002955 -0.038385
0.008848 -0.00471 -0.039614
0.008848 -0.006844 -0.039801
0.008848 -0.008785 -0.038895
numsurf 17
SURF 0x10
mat 2
@ -229,28 +264,64 @@ refs 4
kids 0
OBJECT poly
name "KY196.swap"
data 8
Mesh.003
texture "KY196.rgb"
texrep 1 1
crease 30
numvert 4
0.004174 -0.008486 0.022121
0.004174 -0.013964 0.022121
0.004174 -0.013964 0.032049
0.004174 -0.008486 0.032049
numsurf 1
crease 30.000000
numvert 8
0.004599 -0.008486 0.022121
0.004599 -0.013964 0.022121
0.004599 -0.013964 0.032049
0.004599 -0.008486 0.032049
0.00387 -0.008486 0.022121
0.00387 -0.008486 0.032049
0.00387 -0.013964 0.032049
0.00387 -0.013964 0.022121
numsurf 5
SURF 0x00
mat 3
mat 2
refs 4
0 0.70703125 0.6875
3 0.6015625 0.6875
2 0.6015625 0.625
1 0.70703125 0.625
SURF 0x00
mat 2
refs 4
3 0.70703125 0.6875
0 0.6015625 0.6875
4 0.6015625 0.625
5 0.70703125 0.625
SURF 0x00
mat 2
refs 4
2 0.70703125 0.6875
3 0.6015625 0.6875
5 0.6015625 0.625
6 0.70703125 0.625
SURF 0x00
mat 2
refs 4
1 0.70703125 0.6875
2 0.6015625 0.6875
6 0.6015625 0.625
7 0.70703125 0.625
SURF 0x00
mat 2
refs 4
0 0.70703125 0.6875
1 0.6015625 0.6875
7 0.6015625 0.625
4 0.70703125 0.625
kids 0
OBJECT poly
name "KY196.comm"
data 8
Mesh.004
texture "KY196.rgb"
texrep 1 1
crease 45
crease 45.000000
numvert 21
0.003846 0.016971 -0.080342
0.003846 -0.016205 -0.080342
@ -424,10 +495,24 @@ refs 4
kids 0
OBJECT poly
name "KY196.dec"
data 8
Mesh.005
texture "KY196.rgb"
texrep 1 1
crease 30
numvert 18
crease 30.000000
numvert 30
0.00355 0.00139 0.045767
0.00355 -0.001685 0.045767
0.00355 0.00139 0.052503
0.00355 -0.001685 0.052511
0.00355 -0.001685 0.006223
0.00355 0.00139 0.006216
0.00355 -0.001685 -0.000521
0.00355 0.00139 -0.000521
0.00355 0.00139 -0.023758
0.00355 -0.001685 -0.023758
0.00355 0.00139 -0.017022
0.00355 -0.001685 -0.017015
0.003667 0.003454 0.049033
0.003667 0.002955 0.048826
0.003667 0.002455 0.049033
@ -446,109 +531,132 @@ numvert 18
0.003667 0.002455 0.002808
0.003667 0.002955 0.002601
0.003667 0.003454 0.002808
numsurf 16
numsurf 19
SURF 0x00
mat 1
refs 4
0 0.426238626242 0.808669388294
2 0.326092392206 0.808669388294
3 0.325985223055 0.762961447239
1 0.426238626242 0.762961447239
SURF 0x00
mat 1
refs 4
7 0.982569217682 0.809529900551
5 0.882422924042 0.809529900551
4 0.882315814495 0.763821959496
6 0.982569217682 0.763821959496
SURF 0x00
mat 1
refs 4
8 0.278105586767 0.410686582327
10 0.177959337831 0.410686582327
11 0.177852198482 0.364978641272
9 0.278105586767 0.364978641272
SURF 0x00
mat 1
refs 3
1 0.359375 0.06640625
0 0.359375 0.0703125
8 0.35546875 0.06640625
13 0.359375 0.06640625
12 0.359375 0.0703125
20 0.35546875 0.06640625
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
2 0.359375 0.05859375
1 0.359375 0.06640625
20 0.35546875 0.06640625
14 0.359375 0.05859375
13 0.359375 0.06640625
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
3 0.35546875 0.05859375
2 0.359375 0.05859375
20 0.35546875 0.06640625
15 0.35546875 0.05859375
14 0.359375 0.05859375
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
4 0.34375 0.05859375
3 0.35546875 0.05859375
20 0.35546875 0.06640625
16 0.34375 0.05859375
15 0.35546875 0.05859375
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
5 0.34375 0.06640625
4 0.34375 0.05859375
20 0.35546875 0.06640625
17 0.34375 0.06640625
16 0.34375 0.05859375
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
6 0.34375 0.0703125
5 0.34375 0.06640625
20 0.35546875 0.06640625
18 0.34375 0.0703125
17 0.34375 0.06640625
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
7 0.35546875 0.0703125
6 0.34375 0.0703125
20 0.35546875 0.06640625
19 0.35546875 0.0703125
18 0.34375 0.0703125
SURF 0x00
mat 1
refs 3
8 0.35546875 0.06640625
0 0.359375 0.0703125
7 0.35546875 0.0703125
20 0.35546875 0.06640625
12 0.359375 0.0703125
19 0.35546875 0.0703125
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
17 0.359375 0.0703125
10 0.35546875 0.0703125
21 0.35546875 0.06640625
29 0.359375 0.0703125
22 0.35546875 0.0703125
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
10 0.35546875 0.0703125
11 0.34375 0.0703125
21 0.35546875 0.06640625
22 0.35546875 0.0703125
23 0.34375 0.0703125
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
11 0.34375 0.0703125
12 0.34375 0.06640625
21 0.35546875 0.06640625
23 0.34375 0.0703125
24 0.34375 0.06640625
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
12 0.34375 0.06640625
13 0.34375 0.05859375
21 0.35546875 0.06640625
24 0.34375 0.06640625
25 0.34375 0.05859375
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
13 0.34375 0.05859375
14 0.35546875 0.05859375
21 0.35546875 0.06640625
25 0.34375 0.05859375
26 0.35546875 0.05859375
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
14 0.35546875 0.05859375
15 0.359375 0.05859375
21 0.35546875 0.06640625
26 0.35546875 0.05859375
27 0.359375 0.05859375
SURF 0x00
mat 1
refs 3
9 0.35546875 0.06640625
15 0.359375 0.05859375
16 0.359375 0.06640625
21 0.35546875 0.06640625
27 0.359375 0.05859375
28 0.359375 0.06640625
SURF 0x00
mat 1
refs 3
16 0.359375 0.06640625
17 0.359375 0.0703125
9 0.35546875 0.06640625
28 0.359375 0.06640625
29 0.359375 0.0703125
21 0.35546875 0.06640625
kids 0
OBJECT poly
name "stby.104"
data 8
Mesh.006
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 -3.3e-05
0.003549 0.002881 0.000956
@ -565,9 +673,11 @@ refs 4
kids 0
OBJECT poly
name "stby.105"
data 8
Mesh.007
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 -0.011768
0.003549 0.002881 -0.010778
@ -584,9 +694,11 @@ refs 4
kids 0
OBJECT poly
name "stby.102"
data 8
Mesh.008
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.009612
0.003549 0.002881 0.010601
@ -603,9 +715,11 @@ refs 4
kids 0
OBJECT poly
name "stby.103"
data 8
Mesh.009
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.002814
0.003549 0.002881 0.003803
@ -621,10 +735,33 @@ refs 4
1 0.09375 0.00390625
kids 0
OBJECT poly
name "stby.101"
name "freq.105"
data 4
Mesh
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.039603
0.003549 0.002881 0.040592
0.003549 0.002881 0.035655
0.003549 0.010529 0.034666
numsurf 1
SURF 0x00
mat 1
refs 4
3 0.09375 0.12109375
0 0.01953125 0.12109375
1 0.01953125 0.00390625
2 0.09375 0.00390625
kids 0
OBJECT poly
name "stby.101"
data 8
Mesh.010
texture "KY196.rgb"
texrep 1 1
crease 30.000000
numvert 4
0.003549 0.010529 0.01641
0.003549 0.002881 0.017399
@ -640,29 +777,33 @@ refs 4
1 0.09375 0.00390625
kids 0
OBJECT poly
name "freq.104"
name "Freq.down"
data 9
Plane.004
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.0464
0.003549 0.002881 0.04739
0.003549 0.002881 0.042453
0.003549 0.010529 0.041464
0.003934 0.007988 -0.064199
0.003934 -0.007397 -0.064199
0.003934 0.007988 -0.054317
0.003934 -0.007397 -0.054317
numsurf 1
SURF 0x00
mat 1
mat 2
refs 4
3 0.09375 0.12109375
0 0.01953125 0.12109375
1 0.01953125 0.00390625
2 0.09375 0.00390625
0 0.795453310013 0.487631440163
2 0.682003736496 0.487631499767
3 0.682003676891 0.311018019915
1 0.795453310013 0.311018019915
kids 0
OBJECT poly
name "KY196.knob"
data 8
Mesh.012
texture "KY196.rgb"
texrep 1 1
crease 45
crease 45.000000
numvert 48
0.011012 0.005513 -0.065566
0.011012 0.005513 -0.062827
@ -1003,9 +1144,11 @@ refs 4
kids 0
OBJECT poly
name "freq.102"
data 8
Mesh.013
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.055838
0.003549 0.002881 0.056827
@ -1022,9 +1165,11 @@ refs 4
kids 0
OBJECT poly
name "freq.103"
data 8
Mesh.014
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.04904
0.003549 0.002881 0.050029
@ -1041,9 +1186,11 @@ refs 4
kids 0
OBJECT poly
name "freq.101"
data 8
Mesh.015
texture "KY196.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 4
0.003549 0.010529 0.062636
0.003549 0.002881 0.063625

View file

@ -1,35 +0,0 @@
<?xml version="1.0"?>
<!--
KY-196
Bendix/King VHF Comm Transceiver
Syd Adams
-->
<PropertyList>
<path>ky196.ac</path>
<animation>
<type>rotate</type>
<object-name>KY196.volume</object-name>
<property>/instrumentation/comm/volume</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/adf/indicated-bearing-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>