Pedestal flood light
This commit is contained in:
parent
750e5ad8f7
commit
d7fd2f8a81
14 changed files with 155 additions and 5 deletions
|
@ -610,6 +610,8 @@
|
||||||
<landing-lights n="0" type="double">0</landing-lights>
|
<landing-lights n="0" type="double">0</landing-lights>
|
||||||
<landing-lights n="1" type="double">0</landing-lights>
|
<landing-lights n="1" type="double">0</landing-lights>
|
||||||
<landing-lights n="2" 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-knb type="double">0</main-flood-knb>
|
||||||
<main-flood-norm type="double">0</main-flood-norm>
|
<main-flood-norm type="double">0</main-flood-norm>
|
||||||
<main-panel-knb type="double">0</main-panel-knb>
|
<main-panel-knb type="double">0</main-panel-knb>
|
||||||
|
|
BIN
Models/Effects/ATC-floodlight.png
Normal file
BIN
Models/Effects/ATC-floodlight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
BIN
Models/Effects/pedestal-engine.png
Normal file
BIN
Models/Effects/pedestal-engine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 KiB |
16
Models/Effects/pedestal-flood-atc.eff
Normal file
16
Models/Effects/pedestal-flood-atc.eff
Normal 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>
|
16
Models/Effects/pedestal-flood-engine.eff
Normal file
16
Models/Effects/pedestal-flood-engine.eff
Normal 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>
|
16
Models/Effects/pedestal-flood-radar.eff
Normal file
16
Models/Effects/pedestal-flood-radar.eff
Normal 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>
|
16
Models/Effects/pedestal-flood-upper.eff
Normal file
16
Models/Effects/pedestal-flood-upper.eff
Normal 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>
|
BIN
Models/Effects/pedestal-flood-upper.png
Normal file
BIN
Models/Effects/pedestal-flood-upper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 KiB |
16
Models/Effects/pedestal-flood.eff
Normal file
16
Models/Effects/pedestal-flood.eff
Normal 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>
|
BIN
Models/Effects/pedestal-floodlight.png
Normal file
BIN
Models/Effects/pedestal-floodlight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 580 KiB |
BIN
Models/Effects/radar-floodlight.png
Normal file
BIN
Models/Effects/radar-floodlight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
|
@ -4636,6 +4636,45 @@
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</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>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>integ_lt</object-name>
|
<object-name>integ_lt</object-name>
|
||||||
|
@ -5686,6 +5725,11 @@
|
||||||
<object-name>main_panel</object-name>
|
<object-name>main_panel</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
|
<effect>
|
||||||
|
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood</inherits-from>
|
||||||
|
<object-name>pedestal_low</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>
|
||||||
|
@ -5867,7 +5911,6 @@
|
||||||
<object-name>SpdBrk</object-name>
|
<object-name>SpdBrk</object-name>
|
||||||
<object-name>pedestal1</object-name>
|
<object-name>pedestal1</object-name>
|
||||||
<object-name>pedestal3</object-name>
|
<object-name>pedestal3</object-name>
|
||||||
<object-name>pedestal_low</object-name>
|
|
||||||
<object-name>pedestal_map_case</object-name>
|
<object-name>pedestal_map_case</object-name>
|
||||||
<object-name>phone</object-name>
|
<object-name>phone</object-name>
|
||||||
<object-name>phone2</object-name>
|
<object-name>phone2</object-name>
|
||||||
|
|
|
@ -36,15 +36,31 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<effect>
|
<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>
|
<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_body</object-name>
|
||||||
<object-name>ecam_switch_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>vu111_body</object-name>
|
||||||
<object-name>vu112_body</object-name>
|
<object-name>vu112_body</object-name>
|
||||||
<object-name>throttle_1</object-name>
|
|
||||||
<object-name>throttle_1_label</object-name>
|
<object-name>throttle_1_label</object-name>
|
||||||
<object-name>dummy_1</object-name>
|
<object-name>dummy_1</object-name>
|
||||||
<object-name>dummy_2</object-name>
|
<object-name>dummy_2</object-name>
|
||||||
|
|
|
@ -28,6 +28,15 @@
|
||||||
/systems/electrical/bus/dc1 gt 25
|
/systems/electrical/bus/dc1 gt 25
|
||||||
</test>
|
</test>
|
||||||
</switch>
|
</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>
|
</channel>
|
||||||
|
|
||||||
</system>
|
</system>
|
||||||
|
|
Reference in a new issue