A350-family/Models/Lights/strobe.xml
fly 2c15b8362f Initial commit
Signed-off-by: fly <merspieler@airmail.cc>
2020-07-19 00:49:38 +10:00

134 lines
2.3 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>light-flare.ac</path>
<animation>
<type>alpha-test</type>
<object-name>Light-Flare</object-name>
<alpha-factor>0.01</alpha-factor>
</animation>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>Light-Flare</object-name>
</effect>
<animation>
<type>noshadow</type>
<object-name>Light-Flare</object-name>
</animation>
<animation>
<type>billboard</type>
<spherical>true</spherical>
<object-name>Light-Flare</object-name>
</animation>
<animation>
<type>dist-scale</type>
<object-name>Light-Flare</object-name>
<interpolation>
<entry>
<ind>0.001</ind>
<dep>2</dep>
</entry>
<entry>
<ind>40000</ind>
<dep>100</dep>
</entry>
<entry>
<ind>80000</ind>
<dep>200</dep>
</entry>
</interpolation>
</animation>
<animation>
<type>scale</type>
<object-name>Light-Flare</object-name>
<property>/sim/time/sun-angle-rad</property>
<offset>-1.4</offset>
<x-min>1</x-min>
<y-min>1</y-min>
<z-min>1</z-min>
<x-factor>2</x-factor>
<y-factor>2</y-factor>
<z-factor>2</z-factor>
</animation>
<animation>
<type>light</type>
<light-type>spot</light-type>
<name>LightNavStbd</name>
<object-name>LightVolNavStbd</object-name>
<position>
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</position>
<direction>
<x>1</x>
<y>0</y>
<z>0</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.7</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.005</q>
</attenuation>
<exponent>2.0</exponent>
<near-m>0.0001</near-m>
<far-m>79</far-m>
<cutoff>110</cutoff>
</animation>
<animation>
<type>select</type>
<object-name>Light-Flare</object-name>
<condition>
<equals>
<property>/sim/model/lights/strobe/state</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>LightNavStbd</object-name>
<condition>
<equals>
<property>/sim/model/lights/strobe/state</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<condition>
<property>/sim/rendering/rembrandt/enabled</property>
</condition>
</animation>
</PropertyList>