name	knsw2
type	enemy
health 1000
nomove 1 0
animationscript data/scripts/shoot.c
gfxshadow 1
load expl1
nopain 1
cantgrab 1
nodrop 1
noatflash 1
flash flashd
nolife 1
antigravity 20
palette data/chars/Cobra_Trooper/b5.gif

load Cobra_Trooper

anim spawn
custentity Cobra_Trooper
spawnframe 9 0 0 1
quakeframe	1 10 5
	delay	10
	offset  49 118
	bbox    0 0 0 0
	jumpframe 9 5 0 0
	dropframe 10
	landframe 22
	@cmd shoot "expl1" 0 160 0
	frame	data/chars/misc/empty
	@cmd shoot "expl1" -50 160 0
	frame	data/chars/misc/empty
	@cmd shoot "expl1" 50 160 1
	frame	data/chars/misc/empty
	@cmd shoot "expl1" 0 160 0
	frame	data/chars/misc/empty
	@cmd shoot "expl1" -50 160 0
	frame	data/chars/misc/empty
	@cmd shoot "expl1" 50 160 1
	frame	data/chars/misc/empty
	@cmd shoot "expl1" 0 160 0
	frame	data/chars/misc/empty
	@cmd shoot "expl1" -50 160 0
	frame	data/chars/misc/empty
	@cmd shoot "expl1" 50 160 1
	frame	data/chars/misc/empty
	delay 1000
sound	data/sounds/cobraa.wav
	frame	data/chars/misc/empty
	delay 10
	@script
	if(frame == 10){
	void self = getlocalvar("self");
	killentity(self);
	}
	@end_script
	frame	data/chars/misc/empty
	frame	data/chars/misc/empty

