2015-06-16 21:20:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Copyright (c) 2015 onox
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
2015-07-05 18:32:41 +00:00
|
|
|
<!--
|
|
|
|
Note: Properties in /systems/electrical/ are computed by
|
|
|
|
Nasal/electrical.nas during replay, thus do not need to be
|
|
|
|
recorded.
|
|
|
|
-->
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<logic>
|
2015-07-05 18:32:41 +00:00
|
|
|
<name>Lighting Landing On/Off</name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/landing-lights</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/landing-lights</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
2015-07-05 18:32:41 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/sim/model/c172p/damage/left-wing</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
2018-05-17 11:58:44 +00:00
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/crash</property>
|
|
|
|
</not>
|
2015-06-16 21:20:54 +00:00
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
2015-07-05 18:32:41 +00:00
|
|
|
<property>/sim/model/c172p/lighting/landing</property>
|
2015-06-16 21:20:54 +00:00
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<logic>
|
2015-07-05 18:32:41 +00:00
|
|
|
<name>Lighting Taxi On/Off</name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/taxi-light</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/taxi-light</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
2015-07-05 18:32:41 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/sim/model/c172p/damage/left-wing</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
2018-05-17 11:58:44 +00:00
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/crash</property>
|
|
|
|
</not>
|
2015-07-05 18:32:41 +00:00
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/taxi</property>
|
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<filter>
|
2018-09-02 19:58:05 +00:00
|
|
|
<name>Light Map Flood Red</name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<type>gain</type>
|
2018-09-02 19:58:05 +00:00
|
|
|
<gain>1.2</gain>
|
2015-06-16 21:20:54 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
2018-09-02 19:58:05 +00:00
|
|
|
<property>/systems/electrical/outputs/cabin-lights</property>
|
2015-06-16 21:20:54 +00:00
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
2018-09-02 19:58:05 +00:00
|
|
|
<property>/systems/electrical/outputs/cabin-lights</property>
|
2015-06-16 21:20:54 +00:00
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
2018-09-02 19:58:05 +00:00
|
|
|
<greater-than>
|
|
|
|
<property>/controls/switches/dome-red</property>
|
|
|
|
<value>0</value>
|
|
|
|
</greater-than>
|
2015-06-16 21:20:54 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
2018-09-02 19:58:05 +00:00
|
|
|
<expression>
|
|
|
|
<product>
|
|
|
|
<property>/controls/lighting/instruments-norm</property>
|
|
|
|
<table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
<entry><ind>0.0</ind><dep>1.0</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.75</dep></entry>
|
|
|
|
</table>
|
|
|
|
</product>
|
|
|
|
</expression>
|
2015-06-16 21:20:54 +00:00
|
|
|
</input>
|
2018-09-02 19:58:05 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/lightmap/flood/factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Light Map Dome White</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
2015-06-16 21:20:54 +00:00
|
|
|
<input>
|
2018-09-02 19:58:05 +00:00
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/cabin-lights</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/cabin-lights</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/switches/dome-white</property>
|
|
|
|
<value>1.0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/dome-white-norm</property>
|
|
|
|
<entry><ind>0.0</ind><dep>.5</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>.85</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
2015-06-16 21:20:54 +00:00
|
|
|
</input>
|
|
|
|
<output>
|
2018-09-02 19:58:05 +00:00
|
|
|
<property>/sim/model/lightmap/dome/factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Courtesy Dome White</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/cabin-lights</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/cabin-lights</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/switches/dome-white</property>
|
|
|
|
<value>1.0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/dome-white-norm</property>
|
|
|
|
<entry><ind>0.0</ind><dep>.5</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>.85</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
2018-09-02 19:58:05 +00:00
|
|
|
</input>
|
|
|
|
<output>
|
2021-09-14 18:34:27 +00:00
|
|
|
<property>/sim/model/c172p/lighting/courtesy</property>
|
2015-06-16 21:20:54 +00:00
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
2015-07-24 17:37:16 +00:00
|
|
|
<logic>
|
|
|
|
<name>Lighting Beacon On/Off</name>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/beacon</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/beacon</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/beacon/enabled</property>
|
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<logic>
|
|
|
|
<name>Lighting Strobe On/Off</name>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/strobe</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/strobe</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/strobes/enabled</property>
|
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<logic>
|
|
|
|
<name>Lighting Navigation On/Off</name>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/nav-lights</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/nav-lights</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
2021-09-14 18:34:27 +00:00
|
|
|
<property>/sim/model/c172p/lighting/nav-lights/enabled</property>
|
2018-05-17 11:58:44 +00:00
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
2018-09-16 17:13:13 +00:00
|
|
|
<filter>
|
2016-05-18 21:11:05 +00:00
|
|
|
<name>Inst Red Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.010</gain>
|
|
|
|
<input>
|
2016-08-12 18:57:03 +00:00
|
|
|
<condition>
|
|
|
|
<greater-than>
|
2016-05-18 21:11:05 +00:00
|
|
|
<property>/controls/lighting/radio-norm</property>
|
2016-08-12 18:57:03 +00:00
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/comm0</property>
|
|
|
|
<property>/sim/model/c172p/lighting/comm1</property>
|
|
|
|
<property>/sim/model/c172p/lighting/adf</property>
|
|
|
|
</sum>
|
2016-05-18 21:11:05 +00:00
|
|
|
</expression>
|
|
|
|
</input>
|
2016-08-12 18:57:03 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/radio-norm</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
<property>/sim/model/c172p/lighting/comm0-power</property>
|
|
|
|
<property>/sim/model/c172p/lighting/comm1-power</property>
|
|
|
|
<property>/instrumentation/adf[0]/operable</property>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>3.0</value>
|
|
|
|
</input>
|
2016-05-18 21:11:05 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-r-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Inst Blue Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.006</gain>
|
|
|
|
<input>
|
2016-08-12 18:57:03 +00:00
|
|
|
<condition>
|
|
|
|
<greater-than>
|
2016-05-18 21:11:05 +00:00
|
|
|
<property>/controls/lighting/radio-norm</property>
|
2016-08-12 18:57:03 +00:00
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/comm0</property>
|
|
|
|
<property>/sim/model/c172p/lighting/comm1</property>
|
|
|
|
<property>/sim/model/c172p/lighting/adf</property>
|
|
|
|
</sum>
|
2016-05-18 21:11:05 +00:00
|
|
|
</expression>
|
|
|
|
</input>
|
2016-08-12 18:57:03 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/radio-norm</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
<property>/sim/model/c172p/lighting/comm0-power</property>
|
|
|
|
<property>/sim/model/c172p/lighting/comm1-power</property>
|
|
|
|
<property>/instrumentation/adf[0]/operable</property>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>3.0</value>
|
2021-09-14 18:34:27 +00:00
|
|
|
</input>
|
2016-05-18 21:11:05 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-g-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Inst Green Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.006</gain>
|
|
|
|
<input>
|
2016-08-12 18:57:03 +00:00
|
|
|
<condition>
|
|
|
|
<greater-than>
|
2016-05-18 21:11:05 +00:00
|
|
|
<property>/controls/lighting/radio-norm</property>
|
2016-08-12 18:57:03 +00:00
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/comm0</property>
|
|
|
|
<property>/sim/model/c172p/lighting/comm1</property>
|
|
|
|
<property>/sim/model/c172p/lighting/adf</property>
|
|
|
|
</sum>
|
2016-05-18 21:11:05 +00:00
|
|
|
</expression>
|
|
|
|
</input>
|
2016-08-12 18:57:03 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/radio-norm</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
<property>/sim/model/c172p/lighting/comm0-power</property>
|
|
|
|
<property>/sim/model/c172p/lighting/comm1-power</property>
|
|
|
|
<property>/instrumentation/adf[0]/operable</property>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>3.0</value>
|
|
|
|
</input>
|
2016-05-18 21:11:05 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-b-norm</property>
|
|
|
|
</output>
|
2018-09-16 17:13:13 +00:00
|
|
|
</filter>
|
2016-05-18 21:11:05 +00:00
|
|
|
|
2021-09-14 18:34:27 +00:00
|
|
|
<!-- FG1000 interior lighting residual -->
|
|
|
|
|
|
|
|
<!-- STBY -->
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 STBY Red Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.02</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0.01</value>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-tr-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 STBY Blue Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.01</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0.01</value>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-tb-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 STBY Green Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.02</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0.02</value>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-tg-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- Pedestal -->
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Pedestal Red Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.003</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-pr-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Pedestal Blue Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.003</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-pb-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Pedestal Green Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.003</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-pg-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- FG1000 SWCB -->
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 SWCB Red Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.01</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-sr-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 SWCB Blue Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.01</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-sg-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 SWCB Green Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.01</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-sb-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- FG1000 Avionics -->
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Avionics pfd-avn</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.5</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/pfd-avn</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/pfd-avn</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-avn</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Avionics mfd</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.5</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/mfd</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/mfd</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/mfd</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Avionics pfd-ess</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.5</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/pfd-avn</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</equals>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/lighting/pfd-ess</property>
|
|
|
|
<value>0.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/pfd-ess</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-ess</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Avionics Red Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.04</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<product>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-avn</property>
|
|
|
|
<property>/sim/model/c172p/lighting/mfd</property>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-ess</property>
|
|
|
|
</sum>
|
|
|
|
<property>/controls/lighting/avionics-norm</property>
|
|
|
|
</product>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-ar-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Avionics Blue Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.05</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<product>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-avn</property>
|
|
|
|
<property>/sim/model/c172p/lighting/mfd</property>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-ess</property>
|
|
|
|
</sum>
|
|
|
|
<property>/controls/lighting/avionics-norm</property>
|
|
|
|
</product>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-ag-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FG1000 Avionics Green Factor</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>0.05</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<product>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-avn</property>
|
|
|
|
<property>/sim/model/c172p/lighting/mfd</property>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-ess</property>
|
|
|
|
</sum>
|
|
|
|
<property>/controls/lighting/avionics-norm</property>
|
|
|
|
</product>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-ab-norm</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Map FG1000 Avionics Knob to Glass Screen</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-avn</property>
|
|
|
|
<property>/sim/model/c172p/lighting/mfd</property>
|
|
|
|
<property>/sim/model/c172p/lighting/pfd-ess</property>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/lighting/avionics-norm</property>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/instrumentation/FG1000/Lightmap</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
2016-05-18 21:11:05 +00:00
|
|
|
<!-- Reduce the red glow from the digits of the radio stack
|
|
|
|
if the instrument lighting is at 100 %.
|
|
|
|
-->
|
2018-09-16 17:13:13 +00:00
|
|
|
<filter>
|
2016-05-18 21:11:05 +00:00
|
|
|
<name>Inst Gain As Function Of Instrument Lighting</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<table>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/material/instruments/integral-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
<entry><ind>0.0</ind><dep>1.0</dep></entry>
|
2018-09-16 17:13:13 +00:00
|
|
|
<entry><ind>1.0</ind><dep>0.9</dep></entry>
|
2016-05-18 21:11:05 +00:00
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-gain</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2018-09-16 17:13:13 +00:00
|
|
|
<name>RGB Red Factor from radio stack</name>
|
2016-05-18 21:11:05 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/c172p/lighting/ra-r-r</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
<scale>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/material/instruments/integral-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
</scale>
|
|
|
|
<offset>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-r-norm</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-gain</property>
|
|
|
|
</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-r-r-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
2018-09-16 17:13:13 +00:00
|
|
|
<name>RGB Green Factor from radio stack</name>
|
2016-05-18 21:11:05 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/c172p/lighting/ra-g-r</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
<scale>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/material/instruments/integral-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
</scale>
|
|
|
|
<offset>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-g-norm</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-gain</property>
|
|
|
|
</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-g-r-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
2018-09-16 17:13:13 +00:00
|
|
|
<name>RGB Blue Factor from radio stack</name>
|
2016-05-18 21:11:05 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/c172p/lighting/ra-b-r</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
<scale>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/material/instruments/integral-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
</scale>
|
|
|
|
<offset>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-b-norm</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/c172p/lighting/inst-gain</property>
|
|
|
|
</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>
|
2018-09-16 17:13:13 +00:00
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-b-r-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>RGB Red Factor from post lights</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/ra-r-p</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-r-p-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Green Factor from post lights</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/ra-g-p</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-g-p-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Blue Factor from post lights</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/ra-b-p</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-b-p-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>RGB Red Factor from flood lights</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-red</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-default</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-red-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Green Factor flood lights</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-green</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-default</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-green-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Blue Factor flood lights</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-blue</property>
|
|
|
|
<scale>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-default</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-blue-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- Output used for ALS residual-ambience and default renderer ambience (material animations) cabin only -->
|
|
|
|
<filter>
|
|
|
|
<name>RGB Red Factor combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/controls/panel/glass</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
2018-09-16 17:13:13 +00:00
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<!-- simulates radio ambient lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-r-r-factor</property>
|
|
|
|
<!-- simulates post ambient lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-r-p-factor</property>
|
|
|
|
<!-- simulates dome lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/dome-default</property>
|
|
|
|
<!-- simulates flood lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-red-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>controls/panel/glass</property>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<!-- simulates dome lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/dome-default</property>
|
|
|
|
<!-- simulates flood lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/glass-tr-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-pr-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-sr-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-ar-norm</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2018-09-16 17:13:13 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-r-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Green Factor combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/controls/panel/glass</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
2018-09-16 17:13:13 +00:00
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-g-r-factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-g-p-factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-default</property>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-green-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>controls/panel/glass</property>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<!-- simulates dome lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/dome-default</property>
|
|
|
|
<!-- simulates fg1000 lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/glass-tg-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-pg-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-sg-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-ag-norm</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2018-09-16 17:13:13 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-g-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Blue Factor combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/controls/panel/glass</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
2018-09-16 17:13:13 +00:00
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-b-r-factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-b-p-factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-default</property>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-blue-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>controls/panel/glass</property>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<!-- simulates dome lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/dome-default</property>
|
|
|
|
<!-- simulates fg1000 lighting -->
|
|
|
|
<property>/sim/model/c172p/lighting/glass-tb-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-pb-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-sb-norm</property>
|
|
|
|
<property>/sim/model/c172p/lighting/glass-ab-norm</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2018-09-16 17:13:13 +00:00
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/rgb-ra-b-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- Output used for default renderer overhead lighting (material animations) on panel guages only -->
|
|
|
|
<filter>
|
|
|
|
<name>RGB Red Factor default renderer guages combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
<greater-than-equals>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
</greater-than-equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<product>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
<value>1.0</value>
|
|
|
|
</product>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-red-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
<greater-than>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<product>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<value>1.0</value>
|
|
|
|
</product>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-red-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/material/instruments/default-red-combined-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Green Factor default renderer guages combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
<greater-than-equals>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
</greater-than-equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<product>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
<value>0.8</value>
|
|
|
|
</product>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-green-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
<greater-than>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<product>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<value>0.8</value>
|
|
|
|
</product>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-green-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/material/instruments/default-green-combined-factor</property>
|
2016-05-18 21:11:05 +00:00
|
|
|
</output>
|
2018-09-16 17:13:13 +00:00
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>RGB Blue Factor default renderer guages combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
<greater-than-equals>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
</greater-than-equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<product>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
<value>0.5</value>
|
|
|
|
</product>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-blue-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
<greater-than>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<property>/sim/model/c172p/lighting/dome-proc</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<product>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<value>0.5</value>
|
|
|
|
</product>
|
|
|
|
<property>/sim/model/c172p/lighting/flood-proc-blue-factor</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/material/instruments/default-blue-combined-factor</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- Used for default renderer overhead lighting (material animations) -->
|
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.125</gain>
|
|
|
|
<input>/sim/model/lightmap/dome/factor</input>
|
|
|
|
<output>/sim/model/c172p/lighting/dome-default</output>
|
|
|
|
</filter>
|
2018-09-02 19:58:05 +00:00
|
|
|
|
2018-09-16 17:13:13 +00:00
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.175</gain>
|
|
|
|
<input>/sim/model/lightmap/flood/factor</input>
|
|
|
|
<output>/sim/model/c172p/lighting/flood-default</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- Used for ALS procedural lights -->
|
2018-09-02 19:58:05 +00:00
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.25</gain>
|
|
|
|
<input>/sim/model/lightmap/dome/factor</input>
|
|
|
|
<output>/sim/model/c172p/lighting/dome-proc</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.2</gain>
|
|
|
|
<input>/sim/model/lightmap/flood/factor</input>
|
|
|
|
<output>/sim/model/c172p/lighting/flood-proc</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.25</gain>
|
2021-09-14 18:34:27 +00:00
|
|
|
<input>
|
|
|
|
<property>/sim/model/c172p/lighting/courtesy</property>
|
|
|
|
</input>
|
2018-09-02 19:58:05 +00:00
|
|
|
<output>/sim/model/c172p/lighting/courtesy-proc</output>
|
|
|
|
</filter>
|
2021-09-14 18:34:27 +00:00
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.25</gain>
|
|
|
|
<input>
|
|
|
|
<property>/controls/lighting/domeL</property>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/c172p/lighting/courtesy-proc-l-fg1000</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.25</gain>
|
|
|
|
<input>
|
|
|
|
<property>/controls/lighting/domeR</property>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/c172p/lighting/courtesy-proc-r-fg1000</output>
|
|
|
|
</filter>
|
2018-09-02 19:58:05 +00:00
|
|
|
<filter>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.35</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<product>
|
|
|
|
<table>
|
|
|
|
<property>/sim/model/material/instruments/factor</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.1</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>1.0</dep></entry>
|
|
|
|
</table>
|
|
|
|
<difference>
|
|
|
|
<value>1.6</value>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</difference>
|
|
|
|
</product>
|
|
|
|
</expression>
|
|
|
|
<min>0.0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/c172p/lighting/instrument-proc</output>
|
|
|
|
</filter>
|
2018-09-16 17:13:13 +00:00
|
|
|
|
2021-09-14 18:34:27 +00:00
|
|
|
<filter>
|
|
|
|
<name>FG1000 Instrument Procedural</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>.35</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<product>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.1</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>1.0</dep></entry>
|
|
|
|
</table>
|
|
|
|
<difference>
|
|
|
|
<value>1.6</value>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</difference>
|
|
|
|
</product>
|
|
|
|
</expression>
|
|
|
|
<min>0.0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/c172p/lighting/instrument-proc-fg1000</output>
|
|
|
|
</filter>
|
|
|
|
|
2018-09-02 19:58:05 +00:00
|
|
|
<filter>
|
|
|
|
<name>Interior Glass Glare Factor Dome</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/sim/model/lightmap/dome/factor</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.1</dep></entry>
|
|
|
|
<entry><ind>0.3</ind><dep>0.2</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.9</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
<min>0.1</min>
|
|
|
|
<max>0.9</max>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/lightmap/dome/factor-glassglare</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>Interior Glass Glare Factor Post</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/instruments-norm</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.05</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.1</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
<min>0.0</min>
|
|
|
|
<max>0.1</max>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/lightmap/post/factor-glassglare</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>Interior Glass Glare Factor Flood</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/instruments-norm</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.025</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.05</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
<min>0.0</min>
|
|
|
|
<max>0.3</max>
|
|
|
|
</input>
|
|
|
|
<output>/sim/model/lightmap/flood/factor-glassglare</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>Interior Glass Glare Factor Combined</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/controls/panel/glass</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
2018-09-02 19:58:05 +00:00
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/lightmap/dome/factor-glassglare</property>
|
|
|
|
<property>/sim/model/lightmap/post/factor-glassglare</property>
|
|
|
|
<property>/sim/model/lightmap/flood/factor-glassglare</property>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
<min>0.1</min>
|
|
|
|
<max>0.9</max>
|
|
|
|
</input>
|
2021-09-14 18:34:27 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/controls/panel/glass</property>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/sim/model/lightmap/dome/factor-glassglare</property>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/instrumentation/FG1000/Lightmap</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.05</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.1</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/swcb</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.0125</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.025</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/stby</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.025</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.05</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
<sum>
|
|
|
|
<table>
|
|
|
|
<property>/controls/lighting/pedestal</property>
|
|
|
|
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
|
|
|
<entry><ind>0.7</ind><dep>0.0125</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>0.25</dep></entry>
|
|
|
|
</table>
|
|
|
|
<property>/rendering/scene/diffuse/red</property>
|
|
|
|
</sum>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
<min>0.1</min>
|
|
|
|
<max>0.9</max>
|
|
|
|
</input>
|
2018-09-02 19:58:05 +00:00
|
|
|
<output>/sim/model/lightmap/combined/factor-glassglare</output>
|
|
|
|
</filter>
|
2020-04-01 17:43:35 +00:00
|
|
|
|
|
|
|
<logic>
|
|
|
|
<name>Amphibious Panel Lights On/Off</name>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/systems/electrical/outputs/gear-select</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/gear-select</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/gear-select</property>
|
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<logic>
|
|
|
|
<name>Amphibious Advisory Lights On/Off</name>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>systems/electrical/outputs/gear-advisory</property>
|
|
|
|
<value>31.5</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/systems/electrical/outputs/gear-advisory</property>
|
|
|
|
<value>20.0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/sim/model/c172p/lighting/gear-advisory</property>
|
|
|
|
</output>
|
|
|
|
</logic>
|
|
|
|
|
2018-09-02 19:58:05 +00:00
|
|
|
<filter>
|
|
|
|
<name>Gear Glare Dim</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<property>/controls/lighting/gearled</property>
|
2020-04-01 17:43:35 +00:00
|
|
|
<property>/sim/model/c172p/lighting/gear-advisory</property>
|
2018-09-02 19:58:05 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>.35</value>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/gearled</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2020-04-01 17:43:35 +00:00
|
|
|
<property>/sim/model/c172p/lighting/gear-select</property>
|
2018-09-02 19:58:05 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>.175</value>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/controls/lighting/factor-ledglare</property>
|
|
|
|
</output>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<name>Gear Led Dim</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<property>/controls/lighting/gearled</property>
|
2020-04-01 17:43:35 +00:00
|
|
|
<property>/sim/model/c172p/lighting/gear-select</property>
|
2018-09-02 19:58:05 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>1</value>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/controls/lighting/gearled</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2020-04-01 17:43:35 +00:00
|
|
|
<property>/sim/model/c172p/lighting/gear-select</property>
|
2018-09-02 19:58:05 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>.35</value>
|
|
|
|
</input>
|
|
|
|
<output>
|
|
|
|
<property>/controls/lighting/factor-led</property>
|
|
|
|
</output>
|
2016-05-18 21:11:05 +00:00
|
|
|
</filter>
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
</PropertyList>
|