name	Cobra_Trooper
health	100
speed	15
type	enemy
nolife   0
grabback  1
#falldie	 1
dust   dust
projectilehit  enemy npc obstacle
hostile		player npc
candamage	player npc
gfxshadow  1
fmap 1
diesound	data/sounds/die3.wav
animationscript	data/scripts/enemy.c
icon	data/chars/Cobra_Trooper/icon.gif
palette  data/chars/Cobra_Trooper/dead26.gif
#remap	data/chars/Cobra_Trooper/idle01.gif data/chars/Cobra_Trooper/freeze.gif

load		bulletE 

anim spawn
drawmethod 280 280
	loop	0
        quakeframe  0  1  -3
	offset  89 360
	delay	12
        #nodieblink   3
        #subentity  pause
        
#jumpframe	19
        #summonframe 0 240 270 0 1
frame	data/chars/Cobra_Trooper/dead37.gif
frame	data/chars/Cobra_Trooper/dead36.gif
frame	data/chars/Cobra_Trooper/dead35.gif
frame	data/chars/Cobra_Trooper/dead34.gif
sound   data/sounds/slide.wav
frame	data/chars/Cobra_Trooper/dead33.gif
frame	data/chars/Cobra_Trooper/dead32.gif
frame	data/chars/Cobra_Trooper/dead31.gif
frame	data/chars/Cobra_Trooper/dead30.gif
frame	data/chars/Cobra_Trooper/dead29.gif
frame	data/chars/Cobra_Trooper/dead28.gif
frame	data/chars/Cobra_Trooper/dead27.gif
frame	data/chars/Cobra_Trooper/dead26.gif
frame	data/chars/Cobra_Trooper/dead25.gif
frame	data/chars/Cobra_Trooper/dead24.gif
frame	data/chars/Cobra_Trooper/dead23.gif
delay 8
offset 89 190
frame	data/chars/Cobra_Trooper/spa21.gif
frame	data/chars/Cobra_Trooper/spa22.gif
frame	data/chars/Cobra_Trooper/spa23.gif


	


anim idle
drawmethod 280 280
	loop	1
	offset	89 177
	bbox	73 87 41 88
	delay	40
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/idle02.gif


anim walk
drawmethod 280 280
	loop	1
	offset	89 177
	bbox	73 87 41 88
	delay	10#15
	frame	data/chars/Cobra_Trooper/wk1.gif
	frame	data/chars/Cobra_Trooper/wk2.gif
	frame	data/chars/Cobra_Trooper/wk3.gif
	frame	data/chars/Cobra_Trooper/wk4.gif
	frame	data/chars/Cobra_Trooper/wk5.gif
	frame	data/chars/Cobra_Trooper/wk6.gif
	frame	data/chars/Cobra_Trooper/wk7.gif




anim pain
drawmethod 280 280
	loop	0
	delay	8
	bbox	73 87 41 88
	offset	89 177
	frame	data/chars/Cobra_Trooper/pain.gif
	delay   40
	frame	data/chars/Cobra_Trooper/pain1.gif
	delay   11
	frame	data/chars/Cobra_Trooper/pain.gif



anim fall
drawmethod 280 280
	loop	0
	delay	60
	offset	92 129
		attack  50  83  108  44  5  1
		bbox  51  78  110  53
	frame	data/chars/Cobra_Trooper/fall1.gif
        offset  89 177
        delay   20
		bbox  40  106  82  69
		attack  42  109  77  68  5  1
	frame	data/chars/Cobra_Trooper/fall2.gif
        attack  0 0 0 0 0 0
        delay   10
	frame	data/chars/Cobra_Trooper/fall3.gif



anim rise
drawmethod 280 280
	loop	0
	offset	89 177
	delay	10
	frame	data/chars/Cobra_Trooper/rise1.gif
	frame	data/chars/Cobra_Trooper/rise2.gif
	frame	data/chars/Cobra_Trooper/rise3.gif
	frame	data/chars/Cobra_Trooper/rise4.gif
	frame	data/chars/Cobra_Trooper/idle01.gif


anim jump
drawmethod 280 280
	loop	0
	delay	15
	offset	105 219
	bbox	88 122 42 98
	frame	data/chars/Cobra_Trooper/ju.gif
	frame	data/chars/Cobra_Trooper/ju.gif
	delay   12

anim attack1
drawmethod 280 280
	range	0 60
	loop	0
	delay	9
        sound   data/chars/Cobra_Trooper/hurra.wav
	offset	89 177
	bbox	73 87 41 88
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/a02.gif
        attack  96 75 63 48 11 1
        delay   20
	frame	data/chars/Cobra_Trooper/a02.gif
        attack  0 0 0 0 0
        delay   10
	frame	data/chars/Cobra_Trooper/a02.gif
	frame	data/chars/Cobra_Trooper/idle01.gif

anim attack2
drawmethod 280 280
	range	130 250
	loop	0
	delay	9
	offset	89 177
	bbox	73 87 41 88
	frame	data/chars/Cobra_Trooper/b1.gif
	frame	data/chars/Cobra_Trooper/b2.gif
	frame	data/chars/Cobra_Trooper/b3.gif
	@cmd	shoot "bulletE" 62 82 0
	sound   data/sounds/shtgun2.wav
	frame	data/chars/Cobra_Trooper/b4.gif     
        blast   82 31 369 67 11 0
        delay   6
	frame	data/chars/Cobra_Trooper/b5.gif
        attack  0 0 0 0 0
        delay   4
	frame	data/chars/Cobra_Trooper/b6.gif
	frame	data/chars/Cobra_Trooper/b7.gif
	frame	data/chars/Cobra_Trooper/b8.gif
        frame	data/chars/Cobra_Trooper/b3.gif
	frame	data/chars/Cobra_Trooper/b2.gif
	frame	data/chars/Cobra_Trooper/b1.gif
        delay   20
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/idle01.gif
	frame	data/chars/Cobra_Trooper/idle01.gif


anim jumpattack
drawmethod 280 280
	loop	0
	delay	8
	offset	103 194
	bbox	88 122 42 98
        sound   data/chars/Cobra_Trooper/up.wav
	frame	data/chars/Cobra_Trooper/ak1.gif
	delay   35
	attack  111 152 57 40 12 1
	frame	data/chars/Cobra_Trooper/ak1.gif



anim pain3
drawmethod 280 280
	loop	0
	delay	2
	offset	83 178
	bbox	65 102 46 76
	jumpframe 1
	frame	data/chars/Cobra_Trooper/pain2.gif
	delay   26
	offset	83 195
	bbox	0 0 0 0
	frame	data/chars/Cobra_Trooper/pain1.gif
	delay   12
	offset	83 178
	frame	data/chars/Cobra_Trooper/pd01.gif
	offset  83 178
	delay   46
	frame	data/chars/Cobra_Trooper/pd02.gif
	delay   3
	bbox	63 163 46 19
	frame	data/chars/Cobra_Trooper/pd01.gif
	delay   20
	bbox	0 0 0 0
	frame	data/chars/Cobra_Trooper/fall2.gif









