setup
{
	scale 0.50 // scaled down a bit
	//lod_scale 30
	
	path models/projectiles/M2FGrenade
	skelmodel grenade_air.skd
	surface grenade shader snowball
	
	/*
	path models/snowcontest
	skelmodel snowball.skd
	surface snowball shader snowball
	*/
}


init
{
	server
	{
		classname Projectile
		anim idle
		setsize			"-2 -2 -2" "2 2 2"
		life			14.0
		dmlife			13.0
		hitdamage		800
		health			1
		takedamage
		meansofdeath		thrownobject
		impactmarkshader	  snowonwall
//		impactmarkshader      blastmark
		impactmarkradius      10 // doesn't really seem to work :S
		impactmarkorientation random
		explosionmodel	models/fx/m2fgrenadeexplosion.tik
		//bouncetouch
		//bouncesound			grenade_bounce_soft
		//bouncesound_metal	grenade_bounce_metal
		//bouncesound_hard	grenade_bounce_hard
		//bouncesound_water	grenade_bounce_water
//		notouchdamage
		//smashthroughglass 64
		gravity			0.8
		//avelocity		random 90 random 90 60
		explodeontouch
		//cache blastmark.spr
		cache models/fx/grenexp_snow.tik
	}
}

animations
{
	idle	grenade_ping.skc
	{
		server
		{
			first ai_event grenade 384	// explosion radius is 256
			last anim idle			// HACK! for some reason, server events don't get reposted after looping
		}
	}
}
