Add pedestal base bit

This commit is contained in:
Jonathan Redpath 2018-11-19 19:08:32 +00:00
parent bfc9b91685
commit 32621d2db8
5 changed files with 41 additions and 3 deletions

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-footrest.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: 88 KiB

View file

@ -6,7 +6,7 @@
<lightmap-factor type="float" n="0"><use>/controls/lighting/pedestal-light</use></lightmap-factor> <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> <lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3"> <texture n="3">
<image>Aircraft/IDG-A32X/Models/Effects/radar-mode.png</image> <image>Aircraft/IDG-A32X/Models/Effects/mode-floodlight.png</image>
<filter>linear-mipmap-linear</filter> <filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s> <wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t> <wrap-t>clamp</wrap-t>

View file

@ -6,7 +6,7 @@
<lightmap-factor type="float" n="0"><use>/controls/lighting/pedestal-light</use></lightmap-factor> <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> <lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3"> <texture n="3">
<image>Aircraft/IDG-A32X/Models/Effects/radar-tilt.png</image> <image>Aircraft/IDG-A32X/Models/Effects/tilt-floodlight.png</image>
<filter>linear-mipmap-linear</filter> <filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s> <wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t> <wrap-t>clamp</wrap-t>

View file

@ -5993,6 +5993,10 @@
<object-name>gear_labels</object-name> <object-name>gear_labels</object-name>
</effect> </effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-footrest</inherits-from>
<object-name>ped_footrest</object-name>
</effect>
<!--<effect> <!--<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light</inherits-from> <inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light</inherits-from>
<object-name>WindowCpt</object-name> <object-name>WindowCpt</object-name>
@ -6164,7 +6168,6 @@
<object-name>ohpanel2</object-name> <object-name>ohpanel2</object-name>
<object-name>ohpanel2_knob</object-name> <object-name>ohpanel2_knob</object-name>
<object-name>ohpanel2_knob.mark</object-name> <object-name>ohpanel2_knob.mark</object-name>
<object-name>ped_footrest</object-name>
<object-name>pedal_adjust</object-name> <object-name>pedal_adjust</object-name>
<object-name>pedals_block_capt</object-name> <object-name>pedals_block_capt</object-name>
<object-name>pedals_indicator_1</object-name> <object-name>pedals_indicator_1</object-name>