
PartFXParm ("num_parts", 170);
PartFXParm ("blend_mode", "ADDITIVE");
PartFXParm ("bitmap", "parts/additive_glow.jpg");

-- spawn area
PartFXParm ("area_bitmap_edges", "ui_gfx/logo5.png");
PartFXParm ("area_box", 8,8);
PartFXParm ("age_to_die", 1.3, 1.6); -- life time between 1 and 1.5 secs
PartFXParm ("age", -0.8, -0.3); -- life time between 1 and 1.5 secs

-- single particle angle spread
PartFXParm ("rot_angle", 0);
PartFXParm ("rot_angle_spread", 30);
PartFXParm ("rot_angle_rps", -160, 160);
PartFXParm ("speed", 0, 0);

PartFXParm ("move_angle", 90-20);
PartFXParm ("move_angle_spread", 360);
PartFXParm ("move_speed", 10,10);

PartFXParm ("scale_graph", 0, 0.4);
PartFXParm ("scale_graph", 0.2, 0.9);
PartFXParm ("scale_graph", 1, 0.4);


-- define the alpha graph. 
-- first parm is time (between 0..1), 
-- the second is the alpha value at that time
PartFXParm ("alpha_graph", 0, 0);
PartFXParm ("alpha_graph", 0.1, 1.0);
PartFXParm ("alpha_graph", 1, 0);


for i = 0, 1, 0 do

	PartFXAddNew ();

	PartFXParm ("num_parts", 80);
	--PartFXParm ("blend_mode", "ADDITIVE");
	--PartFXParm ("bitmap", "parts/cyan_fire.png");
	--PartFXParm ("bitmap", "parts/cyan_fire2.png");
	PartFXParm ("bitmap", "parts/smoke.png");

	-- spawn area
	PartFXParm ("area_bitmap_edges", "ui_gfx/logo5.png");
	--PartFXParm ("area_box", 76,140);
	--PartFXParm ("area_radius", 10,70 + i * 1);
	PartFXParm ("area_radius", 1,50);
	PartFXParm ("age_to_die", 0.4, 0.8);
	PartFXParm ("age", -3.5-i*0.07, -3.0-i*0.07);

	-- single particle angle spread
	PartFXParm ("rot_angle", 0);
	PartFXParm ("rot_angle_spread", 30);
	PartFXParm ("rot_angle_rps", -160, 160);
	PartFXParm ("speed", 20, 60);
--	PartFXParm ("pos_offset", i*75-70, 90);

	PartFXParm ("move_angle", 90-20);
	PartFXParm ("move_angle_spread", 360);
	PartFXParm ("move_speed", 20,60);

	PartFXParm ("scale_graph", 0, 1.2);
	--PartFXParm ("scale_graph", 0.3, 1.4);
	PartFXParm ("scale_graph", 1, 2.5);


	-- define the alpha graph. 
	-- first parm is time (between 0..1), 
	-- the second is the alpha value at that time
	PartFXParm ("alpha_graph", 0, 0);
	PartFXParm ("alpha_graph", 0.1, 1.0);
	PartFXParm ("alpha_graph", 0.4, 1.0);
	PartFXParm ("alpha_graph", 1, 0);

end
