add more objects to floodlight

This commit is contained in:
Jonathan Redpath 2018-11-20 14:48:29 +00:00
parent 414e9d6d6a
commit 5e79a1e279
23 changed files with 216 additions and 55 deletions

View file

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>IDG-A32X-interior</name>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<texture n="4">
<type>cubemap</type>
<images>
<positive-x>res/0004.png</positive-x>
<negative-x>res/0002.png</negative-x>
<positive-y>res/0001.png</positive-y>
<negative-y>res/0003.png</negative-y>
<positive-z>res/0005.png</positive-z>
<negative-z>res/0006.png</negative-z>
</images>
</texture>
<opacity-cube-center type="vec3d" n="0"> 0.6 0.0 0.7</opacity-cube-center>
<opacity-cube-scale type="vec3d" n="0"> 1 1 1</opacity-cube-scale>
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
<light-filter-one type="vec3d">0.5 0.5 0.5</light-filter-one>
<light-filter-two type="vec3d">0.9 0.2 0.2</light-filter-two>
<light-radius type="float">9</light-radius>
</parameters>
</PropertyList>

35
Models/Effects/brake.eff Normal file
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/panel-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/brake.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>

BIN
Models/Effects/brake.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 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/panel-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/clock-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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

35
Models/Effects/clock.eff Normal file
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/panel-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/clock.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>

BIN
Models/Effects/clock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

35
Models/Effects/ddrmi.eff Normal file
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/panel-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/ddrmi.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>

BIN
Models/Effects/ddrmi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -6,7 +6,7 @@
<lightmap-factor type="float" n="0"><use>/controls/lighting/panel-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/brightness.png</image>
<image>Aircraft/IDG-A32X/Models/Effects/gear-lever.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 55 KiB

35
Models/Effects/iesi.eff Normal file
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/panel-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/iesi.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>

BIN
Models/Effects/iesi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View file

@ -5944,15 +5944,17 @@
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood</inherits-from>
<object-name>main_panel</object-name>
<object-name>gear_lever_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-left-brightness</inherits-from>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/gear-lever</inherits-from>
<object-name>gear_lever</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-brightness</inherits-from>
<object-name>brightness_panel_left_glare</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/panel-flood-right-brightness</inherits-from>
<object-name>brightness_panel_right_glare</object-name>
</effect>
@ -6000,15 +6002,6 @@
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-footrest</inherits-from>
<object-name>ped_footrest</object-name>
</effect>
<!--<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light</inherits-from>
<object-name>WindowCpt</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light-checklist</inherits-from>
<object-name>Sticker</object-name>
</effect>-->
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-flap</inherits-from>
@ -6020,6 +6013,28 @@
<object-name>SpdBrk</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/iesi</inherits-from>
<object-name>iesi</object-name>
<object-name>iesi_baro_knb</object-name>
<object-name>iesi_btn_bugs</object-name>
<object-name>iesi_btn_ls</object-name>
<object-name>iesi_btn_minus</object-name>
<object-name>iesi_btn_plus</object-name>
<object-name>iesi_btn_rst</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/clock</inherits-from>
<object-name>clock.001</object-name>
<object-name>clock_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/clock-glare</inherits-from>
<object-name>clock_glare</object-name>
</effect>
<!-- move any objects requiring lightmap to another effect file -->
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
@ -6032,8 +6047,6 @@
<object-name>carpet</object-name>
<object-name>ceiling</object-name>
<object-name>clock</object-name>
<object-name>clock.001</object-name>
<object-name>clock_body</object-name>
<object-name>compass_box</object-name>
<object-name>DoorC</object-name>
<object-name>efis_box_1</object-name>
@ -6082,7 +6095,6 @@
<object-name>footrest_fo</object-name>
<object-name>footrest_fo2</object-name>
<object-name>gallery_l</object-name>
<object-name>gear_lever_body</object-name>
<object-name>hud</object-name>
<object-name>hud_1</object-name>
<object-name>hud_1_label</object-name>
@ -6134,16 +6146,8 @@
<object-name>foot_warmer_cpt_sw.mark</object-name>
<object-name>foot_warmer_fo_sw</object-name>
<object-name>foot_warmer_fo_sw.mark</object-name>
<object-name>gear_lever</object-name>
<object-name>gear_lever_slot</object-name>
<object-name>gpws_gs_sw</object-name>
<object-name>iesi</object-name>
<object-name>iesi_baro_knb</object-name>
<object-name>iesi_btn_bugs</object-name>
<object-name>iesi_btn_ls</object-name>
<object-name>iesi_btn_minus</object-name>
<object-name>iesi_btn_plus</object-name>
<object-name>iesi_btn_rst</object-name>
<object-name>iesi_labels</object-name>
<object-name>iesi_screen</object-name>
<object-name>lgear</object-name>

View file

@ -74,7 +74,7 @@
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/brake</inherits-from>
<object-name>brakes_body</object-name>
</effect>

View file

@ -190,11 +190,19 @@
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/ddrmi</inherits-from>
<object-name>ddrmi_body</object-name>
<object-name>ddrmi_inside</object-name>
<object-name>ddrmi_vor_adf_select_1</object-name>
<object-name>ddrmi_vor_adf_select_2</object-name>
<object-name>ddrmi_pointer_1</object-name>
<object-name>ddrmi_pointer_2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<object-name>ddrmi_inside</object-name>
<object-name>ddrmi_vor_adf_flag_1</object-name>
<object-name>ddrmi_vor_adf_flag_2</object-name>
</effect>
</PropertyList>