Help I want to add a particle to my model

Hello all, i want to create smoke coming out of a cigarette,

Here is my .qc



$modelname "phycigold.mdl"
$model "Body" "phycigold.smd"
$cdmaterials "models\shibboro\"
$hboxset "default"
// Model uses material "cigsshib.vmt"
$surfaceprop "Cardboard"
$keyvalues  { prop_data { "base" "Cardboard.Small"  } } 
$sequence idle "idle" fps 30.00 event AE_CL_CREATE_PARTICLE_EFFECT 21 "cihan follow_attachment attachment_point tip" 

//{ event AE_CL_CREATE_PARTICLE_EFFECT <frame number> "<particle effect name> <attachment type> <attachment point>" }
$attachment "tip" "Object02" -0.060406 -3.57628e-007 -1.03841
$collisionmodel "phymodel.smd" {

	$concave
	$mass 1.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}


$keyvalues 
{
	effect
	{
		name			"smoke_gib_01"
		attachment_type		follow_attachment 
		attachment_point	tip
	}


	
}


http://dl.dropbox.com/u/10798900/Pictures/cigi.jpg

Can someone help me add a partical to to the model

I think you have to preface the ‘effect’ block with the ‘particles’ wrapper. Here’s a particle setup, extrapolated from a functioning example:


$keyvalues
{
	prop_data { "base" "Flesh.Small"  }
	
	particles
	{
		effect
			{
				name			"blood_advisor_pierce_spray"
				attachment_type		follow_attachment
				attachment_point	head
			}
	}

}

thanks ill give it a go

[editline]29th March 2011[/editline]

Thankyou so much man !!!

I love all you people on facepunch thanks for helping out