SDEF
//
// The file declaration section
//
path models/turtop
scale 1.0
turtop_base.sbm
turtop_base.tga
//
// Declare the animation types and files
//
fire      turtop_fire.SAM
down_idle turtop_idledown.SAM
up_idle   turtop_idleup.SAM
lower     turtop_lower.SAM
raise     turtop_raise.SAM

//
// The initialization section
//
!init:
server classname monster
//
// Define the animation sound references
//
server soundprefix turtop_
alias snd_lower1 "monsters/turtop/topretr1.wav"
alias snd_raise1 "monsters/turtop/turrise1.wav"
alias snd_stop1 "monsters/turtop/topstop1.wav"
alias snd_idle1 "monsters/turtop/turrise1.wav"
alias snd_seek1 "monsters/turtop/topmove1.wav"
alias snd_fire1 "weapons/hvgun/old a/2.wav"

//
// The main section
//
!main:
weapon AssaultRifle

//
// Define the client/server animation references
//

server randomsound idle 1
server nextanim down_idle

server fire			0		attack_start
server fire			0		fire
server fire			0		snd_fire 1
server fire			3		fire
server fire			end	attack_finished
server fire			end	nextanim up_idle

server down_idle	0		checkvicinity
//server down_idle  0   snd_seek 1

server lower		0		endseek
server lower		1		randomsound lower 1
server lower		end	randomsound idle 1
server lower		end	nextanim down_idle

server raise		1		randomsound raise 1
server raise		end	seek
server raise		end	nextanim up_idle
