SDEF
//
// The file declaration section
//
path models/guerilla
scale 1.07
guerilla_base.sbm
thug_base.tga
thug_damage1.tga

//
// Declare the animation types and files
//
manrocket1	   guerilla_manrocket.sam
sitting        guerilla_sitting.sam
punch1	   guerilla_punch.sam
kick1		   guerilla_kick.sam
talk1          guerilla_talk1.sam
talk2          guerilla_talk2.sam
laugh1	   guerilla_laugh.sam
laugh2	   guerilla_laugh.sam
repel1         guerilla_repel.sam
hostage        guerilla_hostage.sam
hostagekill    guerilla_hostagekill.sam

crouch_aim1       guerilla_crouchaim.sam
crouch            guerilla_crouch.sam
crouch_down		guerilla_crouch.SAM
crouch_death1     guerilla_crouchdeath1.sam
crouch_death2     guerilla_crouchdeath2.sam
crouch_death3     guerilla_crouchdeath3.sam
crouch_fire1      guerilla_crouchfire.sam
crouch_idle1      guerilla_crouchidle1.sam
crouch_pain1      guerilla_crouchpain1.sam
crouch_pain2      guerilla_crouchpain2.sam
runfire1          guerilla_runfire.sam
death1            guerilla_death1.sam
death2            guerilla_death2.sam
death3            guerilla_death3.sam
death4            guerilla_death4.sam
pain1             guerilla_pain1.sam
pain2             guerilla_pain2.sam
pain3             guerilla_pain3.sam
pain4             guerilla_pain4.sam
fire1             guerilla_fire.sam
aim1              guerilla_aim.sam
idle1             guerilla_idle1.sam
idle2             guerilla_idle2.sam
run1              guerilla_run.sam
walk1             guerilla_walk.sam
jump1             guerilla_jump.sam
use1              guerilla_use.sam
open1             guerilla_opendoor.sam

//
// Location based pain alias'
//
pain_torso_upper         guerilla_painchestupper.sam
pain_torso_lower         guerilla_painchestlower.sam
pain_head                guerilla_painhead.sam
pain_leg_right_upper     guerilla_painlegright.sam
pain_leg_right_lower     guerilla_painlegright.sam
pain_leg_left_upper      guerilla_painlegleft.sam
pain_leg_left_lower      guerilla_painlegleft.sam
pain_arm_right_upper     guerilla_painarmright.sam
pain_arm_right_lower     guerilla_painarmright.sam
pain_arm_left_upper      guerilla_painarmleft.sam
pain_arm_left_lower      guerilla_painarmleft.sam

//
// Define model group areas and regional damage modifiers
//
id 5 group head flesh
id 3 group head nodraw flesh
group head damage 4.0
id 15 group torso_upper		fabric
group torso_upper damage 1.0
id 18 group torso_lower		fabric
group torso_lower damage 1.0
id 45 group leg_left_upper	fabric
group leg_left_upper damage 0.5
id 50 group leg_left_lower	fabric
group leg_left_lower damage 0.5
id 65 group leg_right_upper	fabric
group leg_right_upper damage 0.5
id 70 group leg_right_lower	fabric
group leg_right_lower damage 0.5
id 85 group arm_left_upper	fabric
group arm_left_upper damage 0.5
id 90 group arm_left_lower	fabric
group arm_left_lower damage 0.5
id 105 group arm_right_upper	fabric
group arm_right_upper damage 0.5
id 110 group arm_right_lower  fabric
group arm_right_lower damage 0.5
id 200 group arm_right_lower bone gun 15 170 10 fabric
id 210 group torso_lower bone ribs 0 0 -70

//
// The initialization section
//
!init:

server classname actor
server setsize "-24 -24 0" "24 24 80"
server crouchsize "-28 -28 0" "28 28 56"
server health 100
server weapon RocketLauncher
server script global/enemy.scr

//
// Define the aniamtion sound references
//
aliasprefix Thugrckt_
client aliascache snd_pain1     "monsters/thug/mssl/pain1.wav" 1
client aliascache snd_pain2     "monsters/thug/mssl/pain2.wav" 1
client aliascache snd_pain3     "monsters/thug/mssl/pain3.wav" 1
client aliascache snd_pain4     "monsters/thug/mssl/pain4.wav" 1
client aliascache snd_pain6     "monsters/thug/mssl/pain5.wav" 1
client aliascache snd_pain7     "monsters/thug/mssl/pain6.wav" 1
client aliascache snd_pain_hand1     "monsters/thug/mssl/pain1.wav" 1
client aliascache snd_pain_head1     "monsters/thug/mssl/painskull.wav" 1
//client aliascache snd_pain_head2     "monsters/thug/painhed2.wav" 1


client aliascache snd_death1    "monsters/thug/mssl/deth1.wav" 1
client aliascache snd_death2    "monsters/thug/mssl/deth2.wav" 1
client aliascache snd_death3    "monsters/thug/mssl/deth3.wav" 1
//aliascache snd_death4    "monsters/thug/death4.wav" 1
//aliascache snd_death_long1    "monsters/thug/deathl1.wav" 1
//aliascache snd_death_long2    "monsters/thug/deathl2.wav" 1
//aliascache snd_death_long3    "monsters/thug/deathl3.wav" 1
//aliascache snd_death_long4    "monsters/thug/deathl4.wav" 1
//aliascache snd_death_long5    "monsters/thug/deathl5.wav" 1

server aliascache snd_attacktaunt1    "monsters/thug/mssl/attk1.wav" 1
server aliascache snd_attacktaunt2    "monsters/thug/mssl/attk2.wav" 1
server aliascache snd_attacktaunt3    "monsters/thug/mssl/attk3.wav" 1

server aliascache snd_panic1    "monsters/thug/retreat1.wav" 1
server aliascache snd_panic2    "monsters/thug/retreat2.wav" 1
server aliascache snd_panic3    "monsters/thug/retreat3.wav" 1

client aliascache snd_duck1    "monsters/thug/mssl/duck1.wav" 1
//aliascache snd_duck2    "monsters/thug/duck2.wav" 1
//aliascache snd_duck3    "monsters/thug/duck3.wav" 1

server aliascache snd_pursuit1    "monsters/thug/purs1.wav" 1
server aliascache snd_pursuit2    "monsters/thug/purs2.wav" 1
server aliascache snd_pursuit3    "monsters/thug/purs3.wav" 1
server aliascache snd_pursuit4    "monsters/thug/purs4.wav" 1

//server aliascache snd_sightenemy1    "monsters/thug/mssl/site1.wav" 1
//server aliascache snd_sightenemy2    "monsters/thug/mssl/site2.wav" .4
//server aliascache snd_sightenemy3    "monsters/thug/mssl/site3.wav" 1
server aliascache snd_sightenemy4    "monsters/thug/mssl/site4.wav" 1
//server aliascache snd_sightenemy5    "monsters/thug/mssl/site5.wav" 1

server aliascache snd_inmysights1    "monsters/thug/mssl/attk1.wav" 1
server aliascache snd_inmysights2    "monsters/thug/mssl/attk2.wav" 1
server aliascache snd_inmysights3    "monsters/thug/mssl/attk3.wav" 1
//server aliascache snd_inmysights4    "monsters/thug/site4.wav" 1
//server aliascache snd_inmysights5    "monsters/thug/site5.wav" 1

server aliascache  snd_idle1    "misc/null.wav" 1
server aliascache  snd_investigate1    "misc/null.wav" 1
server aliascache  snd_locate1    "misc/null.wav" 1
server aliascache  snd_locate1    "monsters/thug/loc15.wav" 1

server aliascache  snd_tauntdeath1   "monsters/thug/taunt1.wav" 1
server aliascache  snd_tauntdeath2   "monsters/thug/taunt2.wav" 1
server aliascache  snd_tauntdeath3   "monsters/thug/taunt3.wav" 1
server aliascache  snd_tauntdeath4   "monsters/thug/taunt4.wav" 1

client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
client aliascache snd_whoosh1   "weapons/punch/whsh1.wav" 1
client aliascache snd_whoosh2   "weapons/punch/whsh2.wav" 1

//
// The main section
//
!main:
//
// Define the clinet/server animation references
//
server crouch_down last nextanim crouch_idle
server fire1     1 fire
server walk1     5 movementsound
client walk1     5 footstep
server walk1    11 movementsound
client walk1    11 footstep
server run1      0 movementsound
client run1      0 footstep
server run1      4 movementsound
client run1      4 footstep
server runfire1	0 movementsound
client runfire1	0 footstep
server runfire1	4 movementsound
client runfire1	4 footstep


server death1 first deathsound
client death1 first randomsound snd_death 1 2
client death1 3 randomsound snd_bodyfall 1 4
server death2 first deathsound
client death2 first randomsound snd_death_long 1 2
client death2 4 randomsound snd_bodyfall 1 4
client death2 7 randomsound snd_kneefall 1 4
client death2 28 randomsound snd_bodyfall 1 4
server death3 first deathsound
client death3 first randomsound snd_death 1 2
client death3 5 randomsound snd_kneefall 1 4
client death3 9 randomsound snd_partfall 1 4
server death4 first deathsound
client death4 first randomsound snd_death 1 2
client death4 7 randomsound snd_bodyfall 1 4
client death4 14 randomsound snd_kneefall 1 4
client death4 17 randomsound snd_kneefall 1 4
server crouch_death1 first deathsound
client crouch_death1 first randomsound snd_death 1 2
client crouch_death1 3 randomsound snd_partfall 1 4
client crouch_death1 8 randomsound snd_bodyfall 1 4
server crouch_death2 first deathsound
client crouch_death2 first randomsound snd_death 1 2
client crouch_death2 4 randomsound snd_bodyfall 1 4
client crouch_death2 7 randomsound snd_kneefall 1 4
server crouch_death3 first deathsound
client crouch_death3 first randomsound snd_death 1 2
client crouch_death3 5 randomsound snd_kneefall 1 4
client crouch_death3 8 randomsound snd_partfall 1 4

client pain_torso_upper first randomsound snd_pain 1 2
server pain_torso_upper first painsound
client pain_torso_lower first randomsound snd_pain 1 2
server pain_torso_lower first painsound
client pain_head first randomsound snd_pain_head 1 2
server pain_head first painsound
client pain_leg_right_upper first randomsound snd_pain 1 2
server pain_leg_right_upper first painsound
client pain_leg_right_lower first randomsound snd_pain 1 2
server pain_leg_right_lower first painsound
client pain_leg_left_upper first randomsound snd_pain 1 2
server pain_leg_left_upper first painsound
client pain_leg_left_lower first randomsound snd_pain 1 2
server pain_leg_left_lower first painsound
client pain_arm_right_upper first randomsound snd_pain 1 2
server pain_arm_right_upper first painsound
client pain_arm_right_lower first randomsound snd_pain 1 2
server pain_arm_right_lower first painsound
client pain_arm_left_upper first randomsound snd_pain 1 2
server pain_arm_left_upper first painsound
client pain_arm_left_lower first randomsound snd_pain 1 2
server pain_arm_left_lower first painsound

client crouch_pain1 first randomsound snd_pain 1 2
server crouch_pain1 first painsound
client crouch_pain2 first randomsound snd_pain 1 2
server crouch_pain2 first painsound

client kick1 3 randomsound snd_whoosh 1 4
server kick1 3 movementsound
client kick1 7 footstep
server kick1 7 movementsound

client punch1 1 randomsound snd_whoosh .5 4
server punch1 1 movementsound
client punch1 3 randomsound snd_whoosh .5 4
server punch1 3 movementsound
client punch1 5 randomsound snd_whoosh .5 4
server punch1 5 movementsound
client punch1 7 randomsound snd_whoosh .5 4
server punch1 7 movementsound

client jump1 5 footstep
server jump1 5 movementsound
client jump1 6 footstep
server kick1 6 movementsound

client laugh1 first randomsound snd_laugh 1 2

//
// The SINED declaration section
//
/*SINED Monster_Thug_RocketLaunher (1 .5 0) (0 0 0) (0 0 0)
Thug with Rocket Launcher
*/
