1
0
Fork 0

DCDU effects

This commit is contained in:
legoboyvdlp R 2020-07-25 01:47:53 +01:00
parent 8d150121b5
commit 2935115b8a
2 changed files with 60 additions and 17 deletions

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>display</name>
<inherits-from>Effects/model-interior-display</inherits-from>
<parameters>
<texture n="4">
<type>cubemap</type>
<images>
<positive-x>Models/Effects/res/white.png</positive-x>
<negative-x>Models/Effects/res/white.png</negative-x>
<positive-y>Models/Effects/res/white.png</positive-y>
<negative-y>Models/Effects/res/white.png</negative-y>
<positive-z>Models/Effects/res/white.png</positive-z>
<negative-z>Models/Effects/res/white.png</negative-z>
</images>
</texture>
<texture n="5">
<type>2d</type>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
<image>Aircraft/Generic/Effects/dust-effect-overlay.png</image>
</texture>
<sample-res>0.0007</sample-res>
<dirt-factor>0.25</dirt-factor>
<contrast><use>/sim/model/display-contrast</use></contrast>
</parameters>
</PropertyList>

View file

@ -456,23 +456,6 @@
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>atc_0</object-name>
<object-name>atc_1</object-name>
<object-name>atc_2</object-name>
<object-name>atc_3</object-name>
<object-name>atc_4</object-name>
<object-name>atc_5</object-name>
<object-name>atc_6</object-name>
<object-name>atc_7</object-name>
<object-name>atc_abv</object-name>
<object-name>atc_body</object-name>
<object-name>atc_clr</object-name>
<object-name>atc_fail</object-name>
<object-name>atc_ident</object-name>
<object-name>atc_screen</object-name>
<object-name>atc_stby</object-name>
<object-name>atc_sys</object-name>
<object-name>atc_thrt</object-name>
<object-name>ecam_body</object-name>
<object-name>ecam_switch_body</object-name>
<object-name>engine_body</object-name>
@ -5793,6 +5776,7 @@
<object-name>iesi_btn_plus</object-name>
<object-name>iesi_btn_minus</object-name>
<object-name>iesi_btn_rst</object-name>
<object-name>dcduBtnGlare</object-name>
<condition>
<not>
<and>
@ -5900,6 +5884,7 @@
<object-name>iesi_btn_plus</object-name>
<object-name>iesi_btn_minus</object-name>
<object-name>iesi_btn_rst</object-name>
<object-name>dcduBtnGlare</object-name>
<condition>
<and>
<not>
@ -7565,6 +7550,11 @@
<object-name>rear_breakers</object-name>
<object-name>DoorC</object-name>
<object-name>ddrmi_inside</object-name>
<object-name>dcduBodyL</object-name>
<object-name>dcduBodyR</object-name>
<object-name>dcduBtnL</object-name>
<object-name>dcduBtnR</object-name>
<object-name>dcduBtnGlare</object-name>
</effect>
<animation>
@ -8590,5 +8580,26 @@
<object-name>WindowOpenerFo.axis</object-name>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/display-less-dirt</inherits-from>
<object-name>dcduScreenL</object-name>
<object-name>dcduScreenR</object-name>
</effect>
<animation>
<name>Panel lighting (Dome) </name>
<type>material</type>
<object-name>dcduBodyL</object-name>
<object-name>dcduBodyR</object-name>
<object-name>dcduBtnL</object-name>
<object-name>dcduBtnR</object-name>
<emission>
<red>0.3</red>
<green>0.3</green>
<blue>0.3</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
</PropertyList>