particle = {
	name = "planet_lightning_file"
	

	
# Lightning
	subsystem = {

		# values that can be curves or values, with or without variation
		# always local time
		
		# fixed values, cannot be curves, cannot add variation
		max_amount = 400
		local_space = yes
		sort = "depth" 
		#invert = yes
		texture = {
			shader = "ParticleAdditive"   #ParticleAdditive   #ParticleAlphaBlend 
			file = "gfx/particles/cloud.dds"   
			#x = 2	
			#y = 2		
		}
		
		emitter_type = "point" #"box" #"point" #"sphere"
		#sphere_emitter_radius = { 10 0 }
		#sphere_emitter_pitch = { 0 0 }
		#sphere_emitter_yaw = { 0 0 }
		
		billboard = no
		particle_yaw = { 0 0 }
		particle_pitch = { 90 0 }
		particle_roll = { 0 0 }
		
		#box_emitter_x = { 15 5 }
		#box_emitter_y = { 0 1 }
		#box_emitter_z = { 0 10 }
		
		position = { 	x = 0	y = 0.28	z = 0 }
		emitter_yaw = { 0 0 }  
		emitter_pitch = { 0 90 }
		
		start = { 0 4.7 } 				
		duration = -1
		emission = { 0.15 }
		
		
		velocity = { 0 0 }
		velocity_pitch = { 0 0 }
		velocity_yaw =  { 0 0 }
		
		rotation = { 0 180 } 
	


		

		life = { 0.35 0.35 }
		size = { 0.5 0.3 }
	
		# values that can be curves or values, with or without variation
		# 'spawn'/'system'/'particle' time is valid

		color = { 
			r = { 255 }
			g = { 220 }
			b = { 50 }
			alpha = { 100,flashing }
		}




		# Forces
		#force = drag,upforce
	}
	
	# Spawn
	# System
	# Life
	# Life_abs

	animation = {
		time = "life_abs"
		name = "spin"
		start = 0
		duration = 7
		repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 2
		curve = { 
			0 0 
			1 1 
		}
	}
	
	animation = {
		time = "life_abs"
		name = "spin2"
		start = 0
		duration = 7
		repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 4
		curve = { 
			0 0 
			1 1 
		}
	}



	
	animation = {
		time = "life"
		name = "flash_size"
		start = 0
		duration = 1
		#repeat = yes
		op = "ABS" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 4
		curve = { 
			0 0
			0.25 0.125
			0.75 0.0625
			1 0 
		}
	}	
	
	animation = {
		time = "life"
		name = "flash_fade"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 1
			1 0 
		}
	}
	
	animation = {
		time = "life"
		name = "halo_fade"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 	1
			0.2	1
			1 	0 
		}
	}
	
	animation = {
		time = "life"
		name = "flashing"
		start = 0
		duration = 1
		repeat = no
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 	0.1
			0.1	1
			0.2	0
			0.4	1
			0.8	1
			1 	0 
		}
	}
	
	animation = {
		time = "life"
		name = "fire_fade"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 	0
			0.2	1
			1 	0 
		}
	}
	
	animation = {
		time = "life"
		name = "bubbling"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 	0
			0.5	1
			1 	0 
		}
	}
	
	animation = {
		time = "life"
		name = "pre_explosion"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 	0
			0.1	1
			1 	1 
		}
	}
	
	animation = {
		time = "life"
		name = "grow"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 0
			1 1 
		}
	}

	animation = {
		time = "life"
		name = "glowy_bit_fade"
		start = 0
		duration = 1
		#repeat = yes
		op = "MUL" # "MUL"/"ADD"/"ABS"
		minValue = 0
		maxValue = 1
		curve = { 
			0 0.7
			0.75 1
			1 0 
		}
	}	
		# planar
		# turbulence
		# friction
		# vortex
		# point
		
		
		


	
	force = {
		type = "friction"
		name = "drag"
		amount = 3.0 #,delayed_force
		
	}
	


	
	
}


