KT76A: Add <params> + fix Rembrandt blur + custom texture available
This commit is contained in:
parent
d4e020f8ad
commit
750d198562
2 changed files with 94 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
AC3Db
|
||||
MATERIAL "DefaultWhite.002" rgb 1 1 1 amb 1 1 1 emis 0.2 0.2 0.2 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
MATERIAL "transparent" rgb 0.547091 0.565624 0.595981 amb 0 0 0 emis 0.1 0.1 0.1 spec 1 1 1 shi 64 trans 0.5
|
||||
MATERIAL "DefaultWhite.002" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
MATERIAL "transparent" rgb 0.547091 0.565624 0.595981 amb 0 0 0 emis 0 0 0 spec 1 1 1 shi 64 trans 0.5
|
||||
OBJECT world
|
||||
kids 14
|
||||
OBJECT poly
|
||||
|
@ -5497,10 +5497,10 @@ refs 3
|
|||
128 0.1015625 0.33984375
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "Knob100s"
|
||||
name "Border"
|
||||
loc 0 0 -0
|
||||
data 8
|
||||
Knob100s
|
||||
Border
|
||||
texture "KT76A.png"
|
||||
texrep 1 1
|
||||
crease 30.000001
|
||||
|
|
|
@ -12,6 +12,20 @@
|
|||
|
||||
<path>KT76A.ac</path>
|
||||
|
||||
<params>
|
||||
<transponder-serviceable>instrumentation/transponder/serviceable</transponder-serviceable>
|
||||
|
||||
<knob-mode>instrumentation/transponder/inputs/knob-mode</knob-mode>
|
||||
<ident-btn>instrumentation/transponder/inputs/ident-btn</ident-btn>
|
||||
|
||||
<digit0>instrumentation/transponder/inputs/digit[0]</digit0>
|
||||
<digit1>instrumentation/transponder/inputs/digit[1]</digit1>
|
||||
<digit2>instrumentation/transponder/inputs/digit[2]</digit2>
|
||||
<digit3>instrumentation/transponder/inputs/digit[3]</digit3>
|
||||
|
||||
<dimming>instrumentation/transponder/dimming-norm</dimming>
|
||||
</params>
|
||||
|
||||
<animation>
|
||||
<object-name>KnobMode</object-name>
|
||||
<object-name>ModeUp</object-name>
|
||||
|
@ -35,6 +49,7 @@
|
|||
<object-name>1000Up</object-name>
|
||||
<object-name>Front</object-name>
|
||||
<object-name>Ident-light</object-name>
|
||||
<object-name>Border</object-name>
|
||||
|
||||
<object-name>vitre</object-name>
|
||||
</animation>
|
||||
|
@ -64,10 +79,48 @@
|
|||
<object-name>Front</object-name>
|
||||
<object-name>Ident-light</object-name>
|
||||
|
||||
<property-base>/sim/instrumentation/transponder</property-base>
|
||||
<property-base>instrumentation/transponder</property-base>
|
||||
<texture-prop>texture-file</texture-prop>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>KnobMode</object-name>
|
||||
<object-name>ModeUp</object-name>
|
||||
<object-name>ModeDn</object-name>
|
||||
<object-name>Ident</object-name>
|
||||
<object-name>Dial1</object-name>
|
||||
<object-name>Knob1</object-name>
|
||||
<object-name>1Dn</object-name>
|
||||
<object-name>1Up</object-name>
|
||||
<object-name>Dial10</object-name>
|
||||
<object-name>Knob10</object-name>
|
||||
<object-name>10Dn</object-name>
|
||||
<object-name>10Up</object-name>
|
||||
<object-name>Dial100</object-name>
|
||||
<object-name>Knob100</object-name>
|
||||
<object-name>100Dn</object-name>
|
||||
<object-name>100Up</object-name>
|
||||
<object-name>Dial1000</object-name>
|
||||
<object-name>Knob1000</object-name>
|
||||
<object-name>1000Dn</object-name>
|
||||
<object-name>1000Up</object-name>
|
||||
<object-name>Front</object-name>
|
||||
<object-name>Ident-light</object-name>
|
||||
<object-name>Border</object-name>
|
||||
|
||||
<object-name>vitre</object-name>
|
||||
<condition>
|
||||
<not><property>sim/rendering/rembrandt/enabled</property></not>
|
||||
</condition>
|
||||
<emission>
|
||||
<red> 0.006 </red>
|
||||
<green> 0.006 </green>
|
||||
<blue> 0.006 </blue>
|
||||
<factor-prop alias="../../../params/dimming"/>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>vitre</object-name>
|
||||
|
@ -91,7 +144,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Dial1000</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[3]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
|
||||
<property alias="../../params/digit3"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.01453 </x-m>
|
||||
|
@ -108,7 +162,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Knob1000</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[3]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
|
||||
<property alias="../../params/digit3"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.01453 </x-m>
|
||||
|
@ -130,7 +185,8 @@
|
|||
<action>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/transponder/inputs/digit[3]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
|
||||
<property alias="../../../../params/digit3"/>
|
||||
<factor>1</factor>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
|
@ -154,7 +210,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Dial100</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[2]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
|
||||
<property alias="../../params/digit2"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.004 </x-m>
|
||||
|
@ -171,7 +228,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Knob100</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[2]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
|
||||
<property alias="../../params/digit2"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.01453 </x-m>
|
||||
|
@ -193,7 +251,8 @@
|
|||
<action>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/transponder/inputs/digit[2]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
|
||||
<property alias="../../../../params/digit2"/>
|
||||
<factor>1</factor>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
|
@ -217,7 +276,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Dial10</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[1]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
|
||||
<property alias="../../params/digit1"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.004 </x-m>
|
||||
|
@ -234,7 +294,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Knob10</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[1]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
|
||||
<property alias="../../params/digit1"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.01453 </x-m>
|
||||
|
@ -256,7 +317,8 @@
|
|||
<action>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/transponder/inputs/digit[1]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
|
||||
<property alias="../../../../params/digit1"/>
|
||||
<factor>1</factor>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
|
@ -280,7 +342,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Dial1</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[0]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
|
||||
<property alias="../../params/digit0"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.004 </x-m>
|
||||
|
@ -297,7 +360,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Knob1</object-name>
|
||||
<property>instrumentation/transponder/inputs/digit[0]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
|
||||
<property alias="../../params/digit0"/>
|
||||
<factor>45</factor>
|
||||
<center>
|
||||
<x-m> 0.01453 </x-m>
|
||||
|
@ -319,7 +383,8 @@
|
|||
<action>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/transponder/inputs/digit[0]</property>
|
||||
<!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
|
||||
<property alias="../../../../params/digit0"/>
|
||||
<factor>1</factor>
|
||||
<min>0</min>
|
||||
<max>8</max>
|
||||
|
@ -348,7 +413,8 @@
|
|||
<action>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>/instrumentation/transponder/inputs/knob-mode</property>
|
||||
<!--<property>/instrumentation/transponder/inputs/knob-mode</property>-->
|
||||
<property alias="../../../../params/knob-mode"/>
|
||||
<wrap>0</wrap>
|
||||
<value>0</value> <!-- OFF -->
|
||||
<value>1</value> <!-- SBY -->
|
||||
|
@ -362,7 +428,8 @@
|
|||
<command>set-tooltip</command>
|
||||
<tooltip-id>transponder-mode-btn</tooltip-id>
|
||||
<label>Mode: %s</label>
|
||||
<property>instrumentation/transponder/inputs/knob-mode</property>
|
||||
<!--<property>instrumentation/transponder/inputs/knob-mode</property>-->
|
||||
<property alias="../../../../params/knob-mode"/>
|
||||
<mapping>nasal</mapping>
|
||||
<script>
|
||||
var m = arg[0];
|
||||
|
@ -379,7 +446,8 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>KnobMode</object-name>
|
||||
<property>instrumentation/transponder/inputs/knob-mode</property>
|
||||
<!--<property>/instrumentation/transponder/inputs/knob-mode</property>-->
|
||||
<property alias="../../params/knob-mode"/>
|
||||
<factor>1</factor>
|
||||
<interpolation>
|
||||
<entry>
|
||||
|
@ -419,13 +487,15 @@
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/transponder/inputs/ident-btn</property>
|
||||
<!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
|
||||
<property alias="../../../../params/ident-btn"/>
|
||||
<value type="bool">true</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/transponder/inputs/ident-btn</property>
|
||||
<!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
|
||||
<property alias="../../../../../params/ident-btn"/>
|
||||
<value type="bool">false</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
|
@ -442,7 +512,8 @@
|
|||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Ident</object-name>
|
||||
<property>instrumentation/transponder/inputs/ident-btn</property>
|
||||
<!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
|
||||
<property alias="../../params/ident-btn"/>
|
||||
<factor> 0.0018 </factor>
|
||||
<axis>
|
||||
<x> -1 </x>
|
||||
|
|
Loading…
Reference in a new issue