Make c172p Rembrandt-compatible. Adds a landing light, and also fixes various
normal issues with the panel.
This commit is contained in:
parent
6651e5abcd
commit
df41d052a5
2 changed files with 52572 additions and 51677 deletions
File diff suppressed because it is too large
Load diff
|
@ -41,11 +41,6 @@
|
||||||
<object-name>fuselage_1</object-name>
|
<object-name>fuselage_1</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<effect>
|
|
||||||
<inherits-from>Effects/model-transparent</inherits-from>
|
|
||||||
<object-name>Propeller.Fast</object-name>
|
|
||||||
</effect>
|
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>Aircraft/c172p/Models/Effects/bumpspec-tail</inherits-from>
|
<inherits-from>Aircraft/c172p/Models/Effects/bumpspec-tail</inherits-from>
|
||||||
<object-name>vstab</object-name>
|
<object-name>vstab</object-name>
|
||||||
|
@ -55,6 +50,14 @@
|
||||||
<object-name>elevatorright</object-name>
|
<object-name>elevatorright</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
|
<!-- Transparent Surfaces for Rembrandt rendering -->
|
||||||
|
<effect>
|
||||||
|
<inherits-from>Effects/model-transparent</inherits-from>
|
||||||
|
<object-name>glas</object-name>
|
||||||
|
<object-name>rightwindow</object-name>
|
||||||
|
<object-name>leftwindow</object-name>
|
||||||
|
<object-name>Propeller.Fast</object-name>
|
||||||
|
</effect>
|
||||||
<!-- Immatriculatoin -->
|
<!-- Immatriculatoin -->
|
||||||
<model>
|
<model>
|
||||||
<path>Aircraft/c172p/Models/Immat/immat.xml</path>
|
<path>Aircraft/c172p/Models/Immat/immat.xml</path>
|
||||||
|
@ -2376,14 +2379,79 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!--Lights-->
|
<!--Lights-->
|
||||||
|
|
||||||
|
<!-- Disable/enable different light types depending on rembrandt -->
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>LandingLightCone</object-name>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<property>/sim/rendering/rembrandt</property>
|
||||||
|
<property>controls/lighting/landing-lights</property>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!--landinglight-->
|
<!--landinglight-->
|
||||||
<animation>
|
<animation>
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>landinglight</object-name>
|
<object-name>landinglight</object-name>
|
||||||
<object-name>landinglight2</object-name>
|
<object-name>landinglight2</object-name>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<property>controls/lighting/landing-lights</property>
|
||||||
|
<not>
|
||||||
|
<property>/sim/rendering/rembrandt</property>
|
||||||
|
</not>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>light</type>
|
||||||
|
<light-type>spot</light-type>
|
||||||
|
<name>LandingLight</name>
|
||||||
|
<object-name>LandingLightCone</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<property>controls/lighting/landing-lights</property>
|
<property>controls/lighting/landing-lights</property>
|
||||||
</condition>
|
</condition>
|
||||||
|
<position>
|
||||||
|
<x>-0.078</x>
|
||||||
|
<y>-3.086</y>
|
||||||
|
<z>0.536</z>
|
||||||
|
</position>
|
||||||
|
<direction>
|
||||||
|
<x>-29</x>
|
||||||
|
<y>6.76</y>
|
||||||
|
<z>-3.6</z>
|
||||||
|
</direction>
|
||||||
|
<ambient>
|
||||||
|
<r>0.03</r>
|
||||||
|
<g>0.03</g>
|
||||||
|
<b>0.03</b>
|
||||||
|
<a>1.0</a>
|
||||||
|
</ambient>
|
||||||
|
<diffuse>
|
||||||
|
<r>0.7</r>
|
||||||
|
<g>0.7</g>
|
||||||
|
<b>0.6</b>
|
||||||
|
<a>1.0</a>
|
||||||
|
</diffuse>
|
||||||
|
<specular>
|
||||||
|
<r>0.7</r>
|
||||||
|
<g>0.7</g>
|
||||||
|
<b>0.7</b>
|
||||||
|
<a>1.0</a>
|
||||||
|
</specular>
|
||||||
|
<attenuation>
|
||||||
|
<c>1.0</c>
|
||||||
|
<l>0.002</l>
|
||||||
|
<q>0.00005</q>
|
||||||
|
</attenuation>
|
||||||
|
<exponent>30.0</exponent>
|
||||||
|
<cutoff>40</cutoff>
|
||||||
|
<near-m>2</near-m>
|
||||||
|
<far-m>50</far-m>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
|
|
Loading…
Reference in a new issue