{fx
	{sound "detonation/at_detonation"}
	{#+ lightview
		{type point}
		{animator
			{scale 1
				{linear
					{min 1}
					{max 0.5}
				}
			}
			{visibility 1
				{linear
					{min 0.8}
					{max 0}
				}
			}
			{highlight 0xffedb0}
			{timer
				{duration 1.2}
			}
		}
		{attenuation0 0.02}
		{attenuation1 0.9}
		{radius 250}
		{effectonground}
		{offset 0 0 30}
	}
	{##+ spriteview kaboom
		{sprite "$/explosion/exp02"
			{timer
				{mode }
				{duration 1}
			}
			{highlight 0xffffec85}
			{light 1
				{linear
					{min 1}
					{max 0}
				}
			}
			{scalex 1.5}
			{scaley 1
				{linear
					{min 0.5}
					{max 1.7}
				}
			}
		}
		{notifyowner}
		{orientation billboard}
		{autovisible}
	}
	{#+ spriteview halo
		{sprite "$/flash/halo01"
			{timer
				{mode }
				{duration 0.2}
			}
			{scale 2.0}
			{light 1
				{linear
					{min 0.6}
					{max 0}
				}
			}
		}
		{halo}
		{notifyowner}
		{autovisible}
	}
	{#+ spriteview halo2
		{sprite "$/flash/halo01"
			{timer
				{mode }
				{duration 0.8}
			}
			{scale 1}
			{light 1
				{peak
					{min 0}
					{max 0.3}
				}
			}
		}
		{halo}
		{notifyowner}
		{autovisible}
	}
	{#+ particleview flash
		{generator
			{emissionarea
				{radius 0}
			}
			{particleinit
				{speed 0}
				{lifetime 0.15 0.05}
			}
			{totalparticles 2}
			{timetolive 0.01}
			{particlesinblock 2}
			{axisz}
		}
		{offset 0 0 5}
		{mover
			{nodependonwind}
		}
		{visualizer
			{stage 
				{sprite "$/flash/flash_g03"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 90 90}
					{scale 1
						{linear
							{min 0.2}
							{max 1.5}
						}
					}
					{highlight 0xfffead39}
					{light 1
						{linear
							{min 1}
							{max 0.5}
						}
					}
				}
				{sprite "$/flash/flash_g01"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 0 45}
					{light 1
						{linear
							{min 1}
							{max 0}
						}
					}
					{scale 1
						{linear
							{min 0.2}
							{max 1.5}
						}
					}
					{highlight 0xffffec85}
				}
			}
		}
	}
	{##+ particleview "pieces light"
		{delay 0.15}
		{entitygenerator
			{totalparticles 3.5 1.5}
			{emissionarea
				{radius 2}
				{alpha0 0 5}
				{alpha1 35 20}
			}
			{particleinit
				{speed 12.5 2.5}
				{lifetime 0.5 0.2}
			}
			{axisz}
			{entity "fx_piece"
				{fx "flash_exp_sm_part2"}
			}
		}
		{notifyowner}
	}
	{#+ particleview "dirt & sparkles"
		{delay 0.17}
		{generator
			{totalparticles 100}
			{particlesinblock 100}
			{emissionarea
				{radius 3}
				{alpha0 5 5}
				{alpha1 37.5 7.5}
			}
			{particleinit
				{speed 4 3}
				{lifetime 2.5 0.5}
			}
			{timetolive 0.1}
			{axisz}
		}
		{mover
			{damping 0.97}
			{gravity
				{value 0.1}
			}
			{collisions
				{terrain}
				{restitution 0.5}
			}
			{nodependonwind}
		}
		{visualizer
			{stage 
				{sprite "$/particle/grit"
					{turn 1
						{linear
							{min 10 10}
							{max 360 180}
						}
					}
					{timer
						{mode play }
						{duration 1.8 1}
					}
					{scale 0.1 0.05}
				}
				{sprite "$/particle/rock_4"
					{turn 1
						{linear
							{min 360 10}
							{max 10 20}
						}
					}
					{timer
						{mode play }
						{duration 1.8 1}
					}
					{scale 0.125 0.075}
				}
				{sprite "$/particle/oskolkim"
					{timer
						{mode play }
						{duration -1}
					}
					{light 0.5 0.2}
					{scale 1
						{linear
							{min 0.25 0.05}
							{max 0.01}
						}
					}
				}
			}
		}
		{notifyowner}
	}
	{#+ particleview "smoke ground"
		{delay 0.05}
		{generator
			{totalparticles 30}
			{particlesinblock 30}
			{emissionarea
				{radius 1}
				{alpha0 30}
				{alpha1 90}
			}
			{particleinit
				{speed 4.5 2.5}
				{lifetime 5.5 1.5}
			}
			{axisz}
			{timetolive 0.1}
		}
		{offset 0 0 12}
		{mover
			{gravity
				{value -0.005}
			}
			{damping 0.86}
			{collisions
				{terrain}
				{restitution 0.4}
			}
			{nodependonwind}
		}
		{visualizer
			{stage 
				{sprite "$/smoke/smoke_g04b"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 0 20}
					{turn 1
						{linear
							{min 0}
							{max 0 50}
						}
					}
					{scale 1
						{linear
							{min 0.05}
							{max 0.2 0.1}
						}
					}
					{visibility 1
						{peak
							{min 0}
							{max 0.6}
						}
					}
					{highlight 0xffa89e8b}
				}
				{sprite "$/smoke/smokesmal4c"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 90 90}
					{turn 1
						{linear
							{min 0}
							{max 0 200}
						}
					}
					{scale 1
						{linear
							{min 0.5}
							{max 2.25 0.75}
						}
					}
					{visibility 1
						{linear
							{min 1}
							{max 0}
						}
					}
					{highlight 0xff959595}
				}
				{sprite "$/smoke/smokesmal4b_70"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 90 90}
					{turn 1
						{linear
							{min 0}
							{max 0 200}
						}
					}
					{scale 1
						{linear
							{min 1.35 0.65}
							{max 2.6 0.4}
						}
					}
					{visibility 1
						{linear
							{min 1}
							{max 0}
						}
					}
					{highlight 0xff0e0e0e}
				}
			}
		}
	}
	{##+ particleview "smoke up"
		{delay 0.3}
		{generator
			{totalparticles 15}
			{particlesinblock 15}
			{emissionarea
				{radius 3 3}
				{alpha0 0}
				{alpha1 6 1}
			}
			{particleinit
				{speed 1.75 1.75}
				{lifetime 5 1}
			}
			{timetolive 0.1}
			{axisz}
		}
		{mover
			{damping 0.95}
			{gravity
				{value -0.01}
			}
		}
		{visualizer
			{stage 
				{sprite "$/smoke/smoke_g04b"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 0 20}
					{turn 1
						{linear
							{min 0}
							{max 0 60}
						}
					}
					{scale 1
						{linear
							{min 0.15}
							{max 0.3 0.1}
						}
					}
					{visibility 1
						{peak
							{min 0}
							{max 0.5}
						}
					}
					{highlight 0xff1d1d1d}
				}
				{sprite "$/smoke/smoke_s01"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 0 10}
					{turn 1
						{linear
							{min 0}
							{max 0 30}
						}
					}
					{scale 1
						{linear
							{min 0.1}
							{max 0.25 0.05}
						}
					}
					{visibility 1
						{peak
							{min 0}
							{max 0.5}
						}
					}
					{redlight 1
						{linear
							{min 0}
							{max 0.2}
						}
					}
					{greenlight 1
						{linear
							{min 0}
							{max 0.2}
						}
					}
					{bluelight 1
						{linear
							{min 0}
							{max 0.2}
						}
					}
				}
			}
		}
	}
	{#+ particleview "twirls up"
		{delay 0.3}
		{generator
			{totalparticles 5}
			{particlesinblock 5}
			{emissionarea
				{radius 5 5}
				{alpha0 0}
				{alpha1 0}
			}
			{particleinit
				{speed 1 1}
				{lifetime 3.5 0.5}
			}
			{timetolive 0.1}
			{axisz}
		}
		{mover
			{damping 0.96}
			{gravity
				{value -0.015}
			}
		}
		{visualizer
			{stage 
				{sprite "$/smoke/smoke_turb2"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 90 90}
					{turn 1
						{linear
							{min 0}
							{max -120}
						}
					}
					{scale 1
						{linear
							{min 0.1}
							{max 0.35 0.15}
						}
					}
					{visibility 1
						{npower
							{min 1}
							{max 0}
							{pow 4}
						}
					}
					{highlight 0xff8d8278}
				}
			}
		}
	}
	{#+ particleview "smoke thin"
		{delay 0.75}
		{generator
			{totalparticles 3}
			{particlesinblock 3}
			{emissionarea
				{radius 2.5 2.5}
				{alpha0 0}
				{alpha1 0}
			}
			{particleinit
				{speed 1.5 0.5}
				{lifetime 4 1}
			}
			{timetolive 0.1}
			{axisz}
		}
		{mover
			{damping 0.95}
			{gravity
				{value -0.015}
			}
		}
		{visualizer
			{stage 
				{flags trace }
				{sprite "$/smoke/smokesmal4b_70"
					{timer
						{mode play }
						{duration -1}
					}
					{preturn 90 5}
					{turn 1
						{linear
							{min 0}
							{max 10}
						}
					}
					{visibility 1
						{peak
							{min 0}
							{max 1}
						}
					}
					{scalex 1
						{linear
							{min 1}
							{max 4}
						}
					}
					{scaley 1
						{linear
							{min 0.5}
							{max 1}
						}
					}
					{highlight 0xff000000}
				}
			}
		}
	}
	{#+ particleview fuzzy1
		{generator
			{emissionarea
				{radius 5 5}
				{alpha0 0}
				{alpha1 0}
			}
			{particleinit
				{speed 0.05 0.05}
				{lifetime 1.25 0.25}
			}
			{timetolive 0.01}
			{totalparticles 4}
			{particlesinblock 4}
			{axisz}
		}
		{mover
			{damping 0.92}
			{gravity
				{value 0.03}
			}
			{nodependonwind}
		}
		{visualizer
			{stage 
				{flags trace }
				{sprite "$/explosion/ground_exp3"
					{timer
						{mode play }
						{duration -1}
					}
					{visibility 1
						{npower
							{min 1}
							{max 0}
							{pow 3}
						}
					}
					{preturn -90}
					{highlight 0xff323232}
					{scalex 1
						{npower
							{min 0.1}
							{max 0.8}
							{pow 0.5}
						}
					}
					{scaley 1
						{linear
							{min 0.2}
							{max 0.6}
						}
					}
				}
				{sprite "$/explosion/bum"
					{timer
						{mode play }
						{duration -1}
					}
					{visibility 1
						{npower
							{min 1}
							{max 0}
							{pow 3}
						}
					}
					{scale 1
						{npower
							{min 0.3}
							{max 0.65}
							{pow 0.5}
						}
					}
					{preturn -90 -20}
					{highlight 0xff717171}
				}
			}
		}
		{notifyowner}
	}
}