Pedestal flood light

This commit is contained in:
Jonathan Redpath 2018-10-25 15:36:32 +01:00
parent 750e5ad8f7
commit d7fd2f8a81
14 changed files with 155 additions and 5 deletions

View file

@ -610,6 +610,8 @@
<landing-lights n="0" type="double">0</landing-lights>
<landing-lights n="1" type="double">0</landing-lights>
<landing-lights n="2" type="double">0</landing-lights>
<ped-flood-knb type="double">0</ped-flood-knb>
<ped-flood-norm type="double">0</ped-flood-norm>
<main-flood-knb type="double">0</main-flood-knb>
<main-flood-norm type="double">0</main-flood-norm>
<main-panel-knb type="double">0</main-panel-knb>

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View file

@ -0,0 +1,16 @@
<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/ATC-floodlight.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

View file

@ -0,0 +1,16 @@
<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.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

View file

@ -0,0 +1,16 @@
<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/radar-floodlight.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

View file

@ -0,0 +1,16 @@
<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-flood-upper.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View file

@ -0,0 +1,16 @@
<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-floodlight.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View file

@ -4636,6 +4636,45 @@
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>flood_lt_ped</object-name>
<action>
<button>0</button>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/ped-flood-knb</property>
<step>0.05</step>
<max>1</max>
</binding>
</action>
<action>
<button>1</button>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/ped-flood-knb</property>
<step>-0.05</step>
<min>0</min>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>flood_lt_ped</object-name>
<property>controls/lighting/ped-flood-knb</property>
<interpolation>
<entry><ind>0</ind><dep>-129</dep></entry>
<entry><ind>1</ind><dep>129</dep></entry>
</interpolation>
<axis>
<object-name>flood_lt_ped.axis</object-name>
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>integ_lt</object-name>
@ -5686,6 +5725,11 @@
<object-name>main_panel</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood</inherits-from>
<object-name>pedestal_low</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/reading-light</inherits-from>
<object-name>WindowCpt</object-name>
@ -5867,7 +5911,6 @@
<object-name>SpdBrk</object-name>
<object-name>pedestal1</object-name>
<object-name>pedestal3</object-name>
<object-name>pedestal_low</object-name>
<object-name>pedestal_map_case</object-name>
<object-name>phone</object-name>
<object-name>phone2</object-name>

View file

@ -36,15 +36,31 @@
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-upper</inherits-from>
<object-name>throttle_1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-atc</inherits-from>
<object-name>atc_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-engine</inherits-from>
<object-name>engine_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-radar</inherits-from>
<object-name>radar_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<object-name>ecam_body</object-name>
<object-name>ecam_switch_body</object-name>
<object-name>engine_body</object-name>
<object-name>radar_body</object-name>
<object-name>vu111_body</object-name>
<object-name>vu112_body</object-name>
<object-name>throttle_1</object-name>
<object-name>throttle_1_label</object-name>
<object-name>dummy_1</object-name>
<object-name>dummy_2</object-name>

View file

@ -28,6 +28,15 @@
/systems/electrical/bus/dc1 gt 25
</test>
</switch>
<switch name="lights/pedestal-light">
<output>/controls/lighting/pedestal-light</output>
<default value="0" />
<test logic="OR" value="/controls/lighting/ped-flood-knb">
/systems/electrical/bus/dc1 gt 25
</test>
</switch>
</channel>
</system>