GIT: Formatting
This commit is contained in:
parent
d2fb461792
commit
a74ddee098
2 changed files with 286 additions and 306 deletions
|
@ -1,161 +1,151 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<PropertyList>
|
||||
<particlesystem>
|
||||
<name>smoke</name>
|
||||
<texture>res/smoke.png</texture>
|
||||
<offsets>
|
||||
<x-m>30</x-m>
|
||||
<y-m>0.00</y-m>
|
||||
<z-m>2</z-m>
|
||||
<pitch-deg>90</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
<particlesystem>
|
||||
<name>contrail-eng1</name>
|
||||
<texture>contrail.rgb</texture>
|
||||
<emissive type="bool">false</emissive>
|
||||
<lighting type="bool">false</lighting>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>engines/engine[0]/n2-actual</property>
|
||||
<value>50</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>/position/altitude-ft</property>
|
||||
<value>19000</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>environment/temperature-degc</property>
|
||||
<value>-30</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>engines/engine[0]/state</property>
|
||||
<value>3</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>-1.5</theta-min-deg>
|
||||
<theta-max-deg>1.5</theta-max-deg>
|
||||
<phi-min-deg>-1.5</phi-min-deg>
|
||||
<phi-max-deg>1.5</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>0</value>
|
||||
<spread>0</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-min-deg-sec>0</x-min-deg-sec>
|
||||
<y-min-deg-sec>0</y-min-deg-sec>
|
||||
<z-min-deg-sec>0</z-min-deg-sec>
|
||||
<x-max-deg-sec>0</x-max-deg-sec>
|
||||
<y-max-deg-sec>0</y-max-deg-sec>
|
||||
<z-max-deg-sec>0</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>50</value>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>2</value>
|
||||
</size>
|
||||
</start>
|
||||
|
||||
<emissive type="bool">false</emissive>
|
||||
<lighting type="bool">false</lighting>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.00000001</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6</value>
|
||||
</size>
|
||||
</end>
|
||||
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>engines/engine[0]/n2</property>
|
||||
<value>50</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>position/altitude-ft</property>
|
||||
<value>19000</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>environment/temperature-degc</property>
|
||||
<value>-40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
<life-sec>
|
||||
<value>10</value>
|
||||
</life-sec>
|
||||
|
||||
<attach>world</attach>
|
||||
<mass-kg>0.5</mass-kg>
|
||||
<radius-m>0.5</radius-m>
|
||||
</particle>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>-1.5</theta-min-deg>
|
||||
<theta-max-deg>1.5</theta-max-deg>
|
||||
<phi-min-deg>-1.5</phi-min-deg>
|
||||
<phi-max-deg>1.5</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>0</value>
|
||||
<spread>0</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-min-deg-sec>0</x-min-deg-sec>
|
||||
<y-min-deg-sec>0</y-min-deg-sec>
|
||||
<z-min-deg-sec>0</z-min-deg-sec>
|
||||
<x-max-deg-sec>0</x-max-deg-sec>
|
||||
<y-max-deg-sec>0</y-max-deg-sec>
|
||||
<z-max-deg-sec>0</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>35</value>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>2</value>
|
||||
</size>
|
||||
</start>
|
||||
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.00000001</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6</value>
|
||||
</size>
|
||||
</end>
|
||||
|
||||
<life-sec>
|
||||
<value>10</value>
|
||||
</life-sec>
|
||||
|
||||
<mass-kg> 0.5 </mass-kg>
|
||||
<radius-m> 0.5 </radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid> air </fluid>
|
||||
<gravity type="bool"> true </gravity>
|
||||
<wind typ="bool"> true </wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind typ="bool">true</wind>
|
||||
</program>
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,161 +1,151 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<PropertyList>
|
||||
<particlesystem>
|
||||
<name>smoke</name>
|
||||
<texture>res/smoke.png</texture>
|
||||
<offsets>
|
||||
<x-m>30</x-m>
|
||||
<y-m>0.00</y-m>
|
||||
<z-m>2</z-m>
|
||||
<pitch-deg>90</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
<particlesystem>
|
||||
<name>contrail-eng2</name>
|
||||
<texture>contrail.rgb</texture>
|
||||
<emissive type="bool">false</emissive>
|
||||
<lighting type="bool">false</lighting>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>engines/engine[1]/n2-actual</property>
|
||||
<value>50</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>/position/altitude-ft</property>
|
||||
<value>19000</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>environment/temperature-degc</property>
|
||||
<value>-30</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>engines/engine[1]/state</property>
|
||||
<value>3</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>-1.5</theta-min-deg>
|
||||
<theta-max-deg>1.5</theta-max-deg>
|
||||
<phi-min-deg>-1.5</phi-min-deg>
|
||||
<phi-max-deg>1.5</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>0</value>
|
||||
<spread>0</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-min-deg-sec>0</x-min-deg-sec>
|
||||
<y-min-deg-sec>0</y-min-deg-sec>
|
||||
<z-min-deg-sec>0</z-min-deg-sec>
|
||||
<x-max-deg-sec>0</x-max-deg-sec>
|
||||
<y-max-deg-sec>0</y-max-deg-sec>
|
||||
<z-max-deg-sec>0</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>50</value>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>2</value>
|
||||
</size>
|
||||
</start>
|
||||
|
||||
<emissive type="bool">false</emissive>
|
||||
<lighting type="bool">false</lighting>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.00000001</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6</value>
|
||||
</size>
|
||||
</end>
|
||||
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>engines/engine[1]/n2</property>
|
||||
<value>50</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>position/altitude-ft</property>
|
||||
<value>19000</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>environment/temperature-degc</property>
|
||||
<value>-40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
<life-sec>
|
||||
<value>10</value>
|
||||
</life-sec>
|
||||
|
||||
<attach>world</attach>
|
||||
<mass-kg>0.5</mass-kg>
|
||||
<radius-m>0.5</radius-m>
|
||||
</particle>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>-1.5</theta-min-deg>
|
||||
<theta-max-deg>1.5</theta-max-deg>
|
||||
<phi-min-deg>-1.5</phi-min-deg>
|
||||
<phi-max-deg>1.5</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>0</value>
|
||||
<spread>0</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-min-deg-sec>0</x-min-deg-sec>
|
||||
<y-min-deg-sec>0</y-min-deg-sec>
|
||||
<z-min-deg-sec>0</z-min-deg-sec>
|
||||
<x-max-deg-sec>0</x-max-deg-sec>
|
||||
<y-max-deg-sec>0</y-max-deg-sec>
|
||||
<z-max-deg-sec>0</z-max-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>35</value>
|
||||
<spread>0</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>0.7</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.3</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>2</value>
|
||||
</size>
|
||||
</start>
|
||||
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</red>
|
||||
<green>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</green>
|
||||
<blue>
|
||||
<expression>
|
||||
<product>
|
||||
<value>1.0</value>
|
||||
<property>rendering/scene/diffuse/red</property>
|
||||
</product>
|
||||
</expression>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.00000001</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>6</value>
|
||||
</size>
|
||||
</end>
|
||||
|
||||
<life-sec>
|
||||
<value>10</value>
|
||||
</life-sec>
|
||||
|
||||
<mass-kg> 0.5 </mass-kg>
|
||||
<radius-m> 0.5 </radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid> air </fluid>
|
||||
<gravity type="bool"> true </gravity>
|
||||
<wind typ="bool"> true </wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity type="bool">true</gravity>
|
||||
<wind typ="bool">true</wind>
|
||||
</program>
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
||||
|
|
Reference in a new issue