SDEF
//
// The file declaration section
//
path models/civmale
SDEF
scale 1.14
civ2_base.tga
civ2_damage1.tga
civ2_base.sbm

//
// Declare the animation types and files
//

sitdead	civ2_sitdead.sam
walk		civ2_walk.SAM
idle		civ2_idle.SAM
run		civ2_run.SAM
cowerstart	civ2_cowerstart.SAM
cower		civ2_cower.SAM
cowerend	civ2_cowerend.SAM
death1	civ2_death1.SAM
death2	civ2_death2.SAM
cowerdeath1		civ2_cowerdeath1.SAM
cowerdeath2		civ2_cowerdeath2.SAM
cowerpain1		civ2_cowerpain1.SAM
cowerpain2		civ2_cowerpain2.SAM
civ2_paintorsoupper.sam

pain_head             civ2_painhead.sam
pain_torso_upper      civ2_paintorsoupper.sam
pain_torso_lower      civ2_paintorsolower.sam
pain_arm_right_upper  civ2_painarmright.sam
pain_arm_right_lower  civ2_painarmright.sam
pain_leg_left_lower   civ2_painlegleft.sam
pain_leg_left_upper   civ2_painlegleft.sam
pain_leg_right_upper  civ2_painlegright.sam
pain_leg_right_lower  civ2_painlegright.sam
pain_arm_left_upper   civ2_painarmleft.sam
pain_arm_left_lower   civ2_painarmleft.sam

//
// Define model group areas and regional damage modifiers
//
id 5 group head 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_left_lower bone gun -180 50 100 flesh   

//
// The initialization section
//
!init:
server classname actor
server setsize "-32 -28 0" "32 28 80"
server crouchsize "-24 -24 0" "24 24 48"
server health 30
server script global/neutral.scr
aliasprefix CivMale_

client aliascache snd_pain1      "misc/civmale/pain1.wav" 1
client aliascache snd_pain2      "misc/civmale/pain2.wav" 1
client aliascache snd_pain3      "misc/civmale/pain3.wav" 1
client aliascache snd_pain4      "misc/civmale/pain4.wav" 1
client aliascache snd_pain5      "misc/civmale/pain5.wav" .5
//not in demo- alias snd_pain6      "misc/civmale/pain6.wav" 1
//not in demo- alias snd_pain7      "misc/civmale/pain7.wav" 1
//not in demo- alias snd_pain8      "misc/civmale/pain8.wav" 1

client aliascache snd_death1      "misc/civmale/death1.wav" 1
client aliascache snd_death2      "misc/civmale/death2.wav" 1
client aliascache snd_death3      "misc/civmale/death3.wav" 1

server aliascache snd_sightenemy1      "misc/civmale/site1.wav" 1
server aliascache snd_sightenemy2      "misc/civmale/site2.wav" 1
server aliascache snd_sightenemy3      "misc/civmale/site3.wav" 1

server aliascache snd_panic1      "misc/civmale/panic1.wav" 1
server aliascache snd_panic2      "misc/civmale/panic2.wav" 1
server aliascache snd_panic3      "misc/civmale/panic3.wav" 1
//not in demo- alias snd_panic4      "misc/civmale/panic4.wav" 1
//not in demo- alias snd_panic5      "misc/civmale/panic5.wav" 1
//not in demo- alias snd_panic6      "misc/civmale/panic6.wav" 1

server aliascache snd_beg1      "misc/civmale/beg1.wav" 1
server aliascache snd_beg2      "misc/civmale/beg2.wav" 1
server aliascache snd_beg3      "misc/civmale/beg3.wav" 1
server aliascache snd_beg4      "misc/civmale/beg4.wav" 1
//not in demo- alias snd_beg5      "misc/civmale/beg5.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

//
// The main section
//
!main:

//
// Define the aniamtion sound references
//
// alias snd_death1 	"monsters/bum/bumdeth1.wav" 1

//
// Define the clinet/server animation references
//
// client death1 1 randomsound snd_death 1
server run 0 movementsound
client run 0 footstep
server run 4 movementsound
client run 4 footstep

server walk 0 movementsound
client walk 0 footstep
server walk 5 movementsound
client walk 5 footstep

server death1 first deathsound
client death1 first randomsound snd_death 1 2
client death1 3 randomsound snd_bodyfall 1 4
client death1 8 randomsound snd_kneefall 1 4
server death2 first deathsound
client death2 first randomsound snd_death 1 2
client death2 4 randomsound snd_partfall 1 4
client death2 8 randomsound snd_bodyfall 1 4
server cowerdeath1 first deathsound
client cowerdeath1 first randomsound snd_death 1 2
client cowerdeath1 3 randomsound snd_partfall 1 4
client cowerdeath1 7 randomsound snd_kneefall 1 4
server cowerdeath2 first deathsound
client cowerdeath2 first randomsound snd_death 1 2
client cowerdeath2 2 randomsound snd_bodyfall 1 4
client cowerdeath2 7 randomsound snd_kneefall 1 4

client pain_head first randomsound snd_pain 1 2
server pain_head first painsound
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_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_leg_left_lower first randomsound snd_pain 1 2
server pain_leg_left_lower first painsound
client pain_leg_left_upper first randomsound snd_pain 1 2
server pain_leg_left_upper 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 2
server pain_leg_right_lower first painsound
client pain_arm_left_upper first randomsound snd_pain 2
server pain_arm_left_upper first painsound
client pain_arm_left_lower first randomsound snd_pain 2
server pain_arm_left_lower first painsound

client cowerpain1 first randomsound snd_pain 1 1
server cowerpain1 first painsound
client cowerpain2 first randomsound snd_pain 1 1
server cowerpain2 first painsound

client cowerstart first randomsound snd_beg 1 1

//
// The SINED declaration section
//
/*SINED Innocent_MaleCivilian (1 .5 0) (0 0 0) (0 0 0)
Male Civilian
*/

