object
{
	ID gridbug
	n_variants 1
	variant 0
	{
		model enemy/gridbug/gridbug1.obj
		fragmodel enemy/gridbug/gridbug1_frag.obj
		color 6
		collision box 28 28 24
		mass 40
		sound move enemy/gridbug.wav 256 512 loop
		sound explode effects/gridbug_explode.wav 256 1536 nodoppler
		sound attack enemy/gridbug_hit.wav
		flag wrap
		hitpoints 30
		touchdamage 0
		score 150
		danger 8 1 0 0 0
		n_animations 4
		animation
		{
			part Leg1
			rotation 1 1 0 50
			rotcenter 0 0 -2
			rottime 40
			rotform sweep
			rotphase 0
		}
		animation
		{
			part Leg2
			rotation 1 -1 0 50
			rotcenter 0 0 -2
			rottime 40
			rotform sweep
			rotphase 15
		}
		animation
		{
			part Leg3
			rotation 1 -1 0 -50
			rotcenter 0 0 -2
			rottime 40
			rotform sweep
			rotphase 25
		}
		animation
		{
			part Leg4
			rotation 1 1 0 -50
			rotcenter 0 0 -2
			rottime 40
			rotform sweep
			rotphase 0
		}
	}
}
