All pastes #1081119 Raw Edit

Anonymous

public text v1 · immutable
#1081119 ·published 2008-07-23 20:01 UTC
rendered paste body
<?xml version="1.0" encoding="UTF-8"?>

<!-- This should produce nice flams and smoke for a burning M1 tank. -->
<PropertyList>
	<particlesystem>
		<name>smoke</name>
		<texture>smoke.png</texture>
		<emissive>false</emissive>
		<lighting>true</lighting>
		<type>normal</type>
		<align>billboard</align>
		<attach>world</attach>
		
		<offsets>
			<x-m>0.0</x-m>
			<y-m>0.0</y-m>
			<z-m>14</z-m>
			<pitch-deg>0.0</pitch-deg>
		</offsets>
		
		<condition>
				<property>effects/general-fire/trigger</property>
		</condition>
	
		<placer>
			<type>sector</type>
			<radius-min-m>0.0</radius-min-m>
			<radius-max-m>2.0</radius-max-m>
		</placer>
		

		
		<counter>
			<particles-per-sec>
				<value>4</value>
				<spread>0</spread>
			</particles-per-sec>
		</counter>
		
		<particle>
			<start>
        		<color>
				<red>
					<value>0.12</value>
				</red>
				<green>
					<value>0.12</value>
				</green>
				<blue>
					<value>0.12</value>
				</blue>
				<alpha>
					<value>1.0</value>
				</alpha>
			</color>
           			<size>
          				<value>11</value>
        			</size>
      			</start>
			<end>
        		<color>
				<red>
					<value>0.35</value>
				</red>
				<green>
					<value>0.35</value>
				</green>
				<blue>
					<value>0.35</value>
				</blue>
				<alpha>
					<value>0.35</value>
				</alpha>
			</color>
        			<size>
          				<property>effects/general-fire/smoke-endsize</property>
        			</size>
      			</end>

			<life-sec>
				<value>19</value>
			</life-sec>
			<mass-kg>320000</mass-kg><!-- Air density: 1,204Kg/m3 at 20C -->
			<radius-m>50</radius-m>
		</particle>
		
		<program>
			<fluid>air</fluid>
			<gravity type="bool">true</gravity>
      			<wind type="bool">true</wind>
		</program>
	</particlesystem>
	
	<particlesystem>
		<name>fire</name>
		<texture>smoke.png</texture>
		<emissive>false</emissive>
		<lighting>false</lighting>
		<type>normal</type>
		<align>billboard</align>
		<attach>world</attach>
		
		<offsets>
			<x-m>0.0</x-m>
			<y-m>0.0</y-m>
			<z-m>0.0</z-m>
			<pitch-deg>0.0</pitch-deg>
		</offsets>
		
		<condition>
			<property>effects/general-fire/trigger</property>
		</condition>
	
		<placer>
			<type>sector</type>
			<radius-min-m>0.0</radius-min-m>
			<radius-max-m>2.0</radius-max-m>
		</placer>
		
		<counter>
			<particles-per-sec>
				<value>4</value>
				<spread>0</spread>
			</particles-per-sec>
		</counter>
		
		<particle>
			<start>
        		<color>
				<red>
					<value>0.8</value>
				</red>
				<green>
					<value>0.08</value>
				</green>
				<blue>
					<value>0.08</value>
				</blue>
				<alpha>
					<value>1.0</value>
				</alpha>
			</color>
           			<size>
          				<value>2</value>
        			</size>
      			</start>
			<end>
        		<color>
				<red>
					<value>0.99</value>
				</red>
				<green>
					<value>0.92</value>
				</green>
				<blue>
					<value>0.06</value>
				</blue>
				<alpha>
					<value>0.6</value>
				</alpha>
			</color>
        			<size>
					<value>11</value>
        			</size>
      			</end>

			<life-sec>
				<value>1</value>
			</life-sec>
			<mass-kg>2500</mass-kg><!-- Air density: 1,204Kg/m3 at 20C -->
			<radius-m>10</radius-m>
		</particle>
		
		<program>
			<fluid>air</fluid>
			<gravity type="bool">true</gravity>
      			<wind type="bool">true</wind>
		</program>
	</particlesystem>
	
</PropertyList>