Add ped lt to engine panel, add dome light to integ lights

This commit is contained in:
Jonathan Redpath 2018-11-09 14:17:44 +00:00
parent 74f489f46f
commit d0681ba300
4 changed files with 243 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -0,0 +1,35 @@
<PropertyList>
<name>panel</name>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-factor type="float" n="0"><use>/controls/lighting/pedestal-light</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/IDG-A32X/Models/Effects/pedestal-engine-glare.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
<irradiance-map-type type="int">2</irradiance-map-type>
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
<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>
<!--
the cube center must be the same as the camera x,y,z in blend
-->
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
</parameters>
</PropertyList>

View file

@ -4829,6 +4829,20 @@
<object-name>iesi_btn_plus</object-name>
<object-name>iesi_btn_minus</object-name>
<object-name>iesi_btn_rst</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/main-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission>
<red>1</red>
<green>0.725</green>
@ -4837,6 +4851,107 @@
</emission>
</animation>
<animation>
<name>Panel lighting (dome)</name>
<type>material</type>
<object-name>main_panel_label</object-name>
<object-name>terr_on_nd_label</object-name>
<object-name>gear_labels</object-name>
<object-name>thr_quad_lts</object-name>
<object-name>trim_2_lts</object-name>
<object-name>brightness_panel_left_glare</object-name>
<object-name>brightness_panel_right_glare</object-name>
<object-name>ped_labels_1</object-name>
<object-name>pedestal_low_glare</object-name>
<object-name>mcdu_glare</object-name>
<object-name>radio_glare</object-name>
<object-name>audio_glare</object-name>
<object-name>audio_vhf1_glare</object-name>
<object-name>audio_vhf2_glare</object-name>
<object-name>audio_vhf3_glare</object-name>
<object-name>audio_hf1_glare</object-name>
<object-name>audio_hf2_glare</object-name>
<object-name>audio_int_glare</object-name>
<object-name>audio_cab_glare</object-name>
<object-name>audio_pa_rot_glare</object-name>
<object-name>audio_vor1_glare</object-name>
<object-name>audio_vor2_glare</object-name>
<object-name>audio_mkr_glare</object-name>
<object-name>audio_ils_glare</object-name>
<object-name>audio_mls_glare</object-name>
<object-name>audio_adf1_glare</object-name>
<object-name>audio_adf2_glare</object-name>
<object-name>audio_int_rad.mark</object-name>
<object-name>vu111_glare</object-name>
<object-name>vu112_glare</object-name>
<object-name>radar_glare</object-name>
<object-name>radar_mode.mark</object-name>
<object-name>atc_glare</object-name>
<object-name>atc_thrt.mark</object-name>
<object-name>atc_sys.mark</object-name>
<object-name>atc_abv.mark</object-name>
<object-name>engine_glare</object-name>
<object-name>eng_mode.mark</object-name>
<object-name>flaps_scale</object-name>
<object-name>gear_lever_glare</object-name>
<object-name>brakes_glare</object-name>
<object-name>brakes_accum_psi.mark</object-name>
<object-name>brakes_lb_psi.mark</object-name>
<object-name>brakes_rb_psi.mark</object-name>
<object-name>clock_glare</object-name>
<object-name>flood_lt_main.mark</object-name>
<object-name>flood_lt_ped.mark</object-name>
<object-name>integ_lt.mark</object-name>
<object-name>RudderTrim.mark</object-name>
<object-name>CockpitDoorSwitch.mark</object-name>
<object-name>ecam_brt_upper.mark</object-name>
<object-name>ecam_brt_lower.mark</object-name>
<object-name>ecam_att_hdg.mark</object-name>
<object-name>ecam_air_data.mark</object-name>
<object-name>ecam_eis_dmc.mark</object-name>
<object-name>ecam_nd_xfr.mark</object-name>
<object-name>ecam_glare_up</object-name>
<object-name>ecam_glare_down</object-name>
<object-name>pfd_brt_cpt.mark</object-name>
<object-name>speaker_volume_cpt.mark</object-name>
<object-name>light_console_cpt_sw.mark</object-name>
<object-name>foot_warmer_cpt_sw.mark</object-name>
<object-name>brightness_nd_2_cpt.mark</object-name>
<object-name>brightness_nd_1_cpt.mark</object-name>
<object-name>pfd_brt_fo.mark</object-name>
<object-name>speaker_volume_fo.mark</object-name>
<object-name>light_console_fo_sw.mark</object-name>
<object-name>foot_warmer_fo_sw.mark</object-name>
<object-name>brightness_nd_2_fo.mark</object-name>
<object-name>brightness_nd_1_fo.mark</object-name>
<object-name>iesi_labels</object-name>
<object-name>iesi_btn_ls</object-name>
<object-name>iesi_btn_bugs</object-name>
<object-name>iesi_btn_plus</object-name>
<object-name>iesi_btn_minus</object-name>
<object-name>iesi_btn_rst</object-name>
<condition>
<and>
<not>
<greater-than>
<property>controls/lighting/main-panel-norm</property>
<value>0.25</value>
</greater-than>
</not>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
</and>
</condition>
<emission>
<red>0.20</red>
<green>0.20</green>
<blue>0.20</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
<animation>
<name>FCU Panel lighting</name>
<type>material</type>
@ -4848,6 +4963,20 @@
<object-name>nd_mode_fo.mark</object-name>
<object-name>nd_range_fo.mark</object-name>
<object-name>hud_brt.mark</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/fcu-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission>
<red>1</red>
<green>0.725</green>
@ -4856,12 +4985,59 @@
</emission>
</animation>
<animation>
<name>FCU Panel lighting (dome)</name>
<type>material</type>
<object-name>fcu_labels</object-name>
<object-name>fcu_labels_hud</object-name>
<object-name>fcu_panel_emit</object-name>
<object-name>nd_mode.mark</object-name>
<object-name>nd_range.mark</object-name>
<object-name>nd_mode_fo.mark</object-name>
<object-name>nd_range_fo.mark</object-name>
<object-name>hud_brt.mark</object-name>
<condition>
<and>
<not>
<greater-than>
<property>controls/lighting/fcu-panel-norm</property>
<value>0.25</value>
</greater-than>
</not>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
</and>
</condition>
<emission>
<red>0.20</red>
<green>0.20</green>
<blue>0.20</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
<!-- Overhead Panel-2 lighting -->
<animation>
<name>Overhead Panel-2 lighting</name>
<type>material</type>
<object-name>ohpanel2_knob.mark</object-name>
<object-name>ohpanel2_illu</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission>
<red>1</red>
<green>0.824</green>
@ -4870,6 +5046,33 @@
</emission>
</animation>
<animation>
<name>Overhead Panel-2 lighting (dome)</name>
<type>material</type>
<object-name>ohpanel2_knob.mark</object-name>
<object-name>ohpanel2_illu</object-name>
<condition>
<and>
<not>
<greater-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</greater-than>
</not>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
</and>
</condition>
<emission>
<red>0.20</red>
<green>0.20</green>
<blue>0.20</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
<!-- Pitch Trim -->
<animation>
<type>pick</type>

View file

@ -50,6 +50,11 @@
<object-name>engine_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-engine-glare</inherits-from>
<object-name>engine_glare</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-radar</inherits-from>
<object-name>radar_body</object-name>