name	grdtnk
type	enemy
health	15
speedf	1.5
shadow	0
nopain	1
nodrop	1
falldie	1
nodieblink 2
nomove 1 1	
nopain 1	
jumpheight 0		
cantgrab 1		
noquake	1				
nolife	1	
load enbl
animationscript data/scripts/boscript.c
setlayer 50
#lifespan 10
facing 2
aggression 1000
anim idle
	loop	1
	offset	45 14
	bbox	32 0 26 48
	delay	10
	@cmd velo001 0.5 0 0
	attack	23 5 14 32 10 
	@cmd posdie
	frame	data/chars/grdtnk/3
	frame	data/chars/grdtnk/4
anim attack1
	range 0 250
        rangez -1000 1000
	offset	45 14
	bbox	32 0 26 48
	delay	10
	attack	23 5 14 32 10 
	@cmd velo001 0.5 0 0
	@cmd shoot "rblu" 0 0 -1  
	@cmd shoot "rblu2" 0 0 -1 
	@cmd shoot "rblub2" 0 0 -1 
	@cmd shoot "rblub" 0 0 -1 
	frame	data/chars/grdtnk/3
	frame	data/chars/grdtnk/4
	frame	data/chars/grdtnk/3
	frame	data/chars/grdtnk/4
	frame	data/chars/grdtnk/3
	frame	data/chars/grdtnk/4
	frame	data/chars/grdtnk/3
	frame	data/chars/grdtnk/4
	frame	data/chars/grdtnk/3
	frame	data/chars/grdtnk/4
anim attack2
	loop 1
	range -150 0
        rangez -1000 1000
	offset	45 14
	bbox	32 0 26 48
	delay	10
	attack	23 5 14 32 10
	@cmd velo001 0.5 0 0 
	frame	data/chars/grdtnk/5
        @cmd    target 0.8 0.8
	@cmd shoot2 "enbl" 5 0 -1 
	frame	data/chars/grdtnk/6
	frame	data/chars/grdtnk/7
	frame	data/chars/grdtnk/8
	@cmd ani001 "ANI_ATTACK3" 0 
	frame	data/chars/grdtnk/8
anim attack3
	loop 1
	range -1500 0
        rangez -1000 1000
	offset	45 14
	bbox	32 0 26 48
	delay	10
	attack	23 5 14 32 10 
	@cmd velo001 0.5 0 0
	@cmd posdie
	frame	data/chars/grdtnk/7
	@cmd    target 0.8 0.8
	@cmd shoot2 "enbl" 5 0 1 
	frame	data/chars/grdtnk/8
	@cmd posdie
	frame	data/chars/grdtnk/7
	@cmd posdie
	frame	data/chars/grdtnk/8
	@cmd posdie
	frame	data/chars/grdtnk/7
	@cmd posdie
	frame	data/chars/grdtnk/8
anim death
	offset	45 14
	bbox 0 0 0 0
	delay 5
	@cmd velo001 0.5 0 0
	@cmd shoot "wb2" 0 0 0
	sound data/sounds/expl.wav
	frame	data/chars/misc/empty
	@cmd shoot "wb2" -10 10 0
	frame	data/chars/misc/empty
	@cmd shoot "wb1" -10 -10 0
	frame	data/chars/misc/empty
	@cmd shoot "wb2" 0 0 0
	frame	data/chars/misc/empty
	@cmd shoot "wb2" -10 10 0
	frame	data/chars/misc/empty
	@cmd shoot "wb1" -10 -10 0
	frame	data/chars/misc/empty
anim death2
	offset	45 14
	bbox 0 0 0 0
	delay 5
	@cmd velo001 -1 0.2 0
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/1
	@cmd shoot "mdym" 0 0 -1
	frame	data/chars/grdtnk/2
	delay 5
	@cmd shoot "mdym" 0 0 -1
	@cmd shoot "wb2" 0 0 0
	sound data/sounds/expl.wav
	frame	data/chars/misc/empty
	@cmd shoot "wb2" -10 10 0
	frame	data/chars/misc/empty
	@cmd shoot "wb1" -10 -10 0
	frame	data/chars/misc/empty
	@cmd shoot "wb2" 0 0 0
	frame	data/chars/misc/empty
	@cmd shoot "wb2" -10 10 0
	frame	data/chars/misc/empty
	@cmd shoot "wb1" -10 -10 0
	frame	data/chars/misc/empty
