SDEF
// -----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/sarge.def     $
// $Revision:: 30                                                             $
//   $Author:: Joeske                                                         $
//     $Date:: 11/13/98 4:15a                                                 $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// This is a model definition file.  It is to be used in conjunction with Sin.
// -----------------------------------------------------------------------------
// DESCRIPTION:
// The SARGE, watch it mother!
//
// MODEL AUTHOR:
// Beau
//
/*SINED Monster_Sergeant (1 .5 0) (0 0 0) (0 0 0)
Sergeant
*/

//!!!!!! IF YOU DON'T WANT SARGES TO THROW GRENADES, LOOK INTO GLOBAL/SARGE.SCR !!!!!!

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/sarge
scale 1.25

// Base Model
sarge_base.sbm

// Skins
normal sarge_base.tga
damage sarge_damage1.tga

// Normal Animations
idle1			sarge_idle1.SAM
twitch1   sarge_idle2.SAM
aim1      sarge_aim.sam
fire1     sarge_fire1.sam
run1      sarge_run.sam
walk1			sarge_walk.SAM
melee1    sarge_melee1.SAM
melee2    sarge_melee2.SAM

// Pain Location Based Animations
pain1				sarge_pain1.SAM
pain2				sarge_pain5.SAM
pain3				sarge_painchestupper.sam
pain4				sarge_painlegleft.sam
pain5			      sarge_painchestlower.sam
pain_head 			sarge_painhead.SAM
pain_torso_upper 		sarge_painchestupper.sam
pain_torso_lower 		sarge_painchestlower.sam
pain_arm_right_upper 	sarge_painarmright.sam
pain_arm_right_lower 	sarge_painarmright.sam
pain_arm_left_upper 	sarge_painarmleft.sam
pain_arm_left_lower 	sarge_painarmleft.sam
pain_leg_right_upper 	sarge_painlegright.SAM
pain_leg_right_lower 	sarge_painlegright.SAM
pain_leg_left_upper 	sarge_painlegleft.SAM
pain_leg_left_lower 	sarge_painlegleft.SAM

// Death Location Based Animations
death1			sarge_death1.SAM
death2			sarge_death2.SAM
death3			sarge_death3.SAM
death4			sarge_death4.sam
death5			sarge_death5.sam

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations
//crouch_idle1	sarge_duck1.SAM
//step_left1	sarge_sidestepleft.SAM

// Scripted Animations
salute1			sarge_salute.SAM

// Id And Group Definitions
id 5 group head flesh
group head damage 2.5
id 15 group torso_upper metal
group torso_upper damage 1.0
id 18 group torso_lower metal
group torso_lower damage 1.0
id 45 group leg_left_upper fabric
group leg_left_upper damage 2.0
id 50 group leg_left_lower fabric
group leg_left_lower damage 1.5
id 65 group leg_right_upper fabric
group leg_right_upper damage 2.0
id 70 group leg_right_lower fabric
group leg_right_lower damage 1.5
id 85 group arm_left_upper fabric
group arm_left_upper damage 1.5
id 90 group arm_left_lower fabric
group arm_left_lower damage 1.5
id 105 group arm_right_upper fabric
group arm_right_upper damage 1.5
id 110 group arm_right_lower fabric
group arm_right_lower damage 0.5
id 200 group arm_left_lower bone gun 0 180 0 flesh

// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname actor
server setsize "-24 -32 0" "24 32 96"
server crouchsize "-32 -32 0" "32 32 72"
server script global/sarge.scr
server weapon Chaingun
server aim 0.6
server health 240
//server item Bullet50mm 20
server meleerange 100
server meleedamage 50
server painthreshold 30

// Sound Aliases
server aliascache snd_sight1		"monsters/sarge/srgsite1.wav" 1
server aliascache snd_sight2		"monsters/sarge/srgsite2.wav" 1
server aliascache snd_sight3		"monsters/sarge/srgsite3.wav" 1
server aliascache snd_sight4		"monsters/sarge/srgsite4.wav" 1
server aliascache snd_sight5		"monsters/sarge/srgsite5.wav" 1
server aliascache snd_sight6		"monsters/sarge/srgsite6.wav" 1
server aliascache snd_idle1 		"monsters/sarge/srgidle1.wav" 1
server aliascache snd_idle2 		"monsters/sarge/srgidle2.wav" 1
server aliascache snd_idle3 		"monsters/sarge/srgidle3.wav" 1
server aliascache snd_idle4 		"monsters/sarge/srgidle4.wav" 1
server aliascache snd_idle5 		"monsters/sarge/srgidle5.wav" 1
server aliascache snd_idle6 		"monsters/sarge/srgidle6.wav" 1
server aliascache snd_idle7 		"monsters/sarge/srgidle7.wav" 1
server aliascache snd_sightenemy1	"monsters/sarge/srgsite1.wav" 1
server aliascache snd_pursuit1		"monsters/sarge/srgpurs1.wav" 1
server aliascache snd_pursuit2		"monsters/sarge/srgpurs2.wav" 1
server aliascache snd_pursuit3		"monsters/sarge/srgpurs3.wav" 1
server aliascache snd_pursuit4		"monsters/sarge/srgpurs4.wav" 1
server aliascache snd_pursuit5		"monsters/sarge/srgpurs5.wav" 1
server aliascache snd_attacktaunt1 	"monsters/sarge/srgattk1.wav" 1
server aliascache snd_attacktaunt2 	"monsters/sarge/srgattk2.wav" 1
server aliascache snd_attacktaunt3 	"monsters/sarge/srgattk3.wav" 1
server aliascache snd_attacktaunt4 	"monsters/sarge/srgattk4.wav" 1
server aliascache snd_attacktaunt5 	"monsters/sarge/srgattk5.wav" 1

server aliascache snd_switchweapon1 "monsters/sarge/srgattk6.wav" 1
server aliascache snd_switchweapon2 "monsters/sarge/srgattk7.wav" 1

server aliascache snd_lostweapon    "monsters/sarge/srgpain2.wav" 1

//
// CLIENT Initialization Commands
//
// Sound Aliases
client aliascache snd_death1 	"monsters/sarge/srgdeth1.wav" 1
client aliascache snd_death2 	"monsters/sarge/srgdeth2.wav" 1
client aliascache snd_death3 	"monsters/sarge/srgdeth3.wav" 1
client aliascache snd_death4 	"monsters/sarge/srgdeth4.wav" 1
client aliascache snd_death5 	"monsters/sarge/srgdeth5.wav" 1
client aliascache snd_duck1 	"monsters/sarge/srgduck1.wav" 1
client aliascache snd_duck2		"monsters/sarge/srgduck2.wav" 1
client aliascache snd_duck3		"monsters/sarge/srgduck3.wav" 1
client aliascache snd_pain1		"monsters/sarge/srgpain1.wav" 1
client aliascache snd_pain2		"monsters/sarge/srgpain2.wav" 1
client aliascache snd_pain3		"monsters/sarge/srgpain3.wav" 1
client aliascache snd_pain4		"monsters/sarge/srgpain4.wav" 1
client aliascache snd_pain5		"monsters/sarge/srgpain5.wav" 1
client aliascache snd_pain6		"monsters/sarge/srgpain6.wav" 1
client aliascache snd_pain7		"monsters/sarge/srgpain7.wav" 1
client aliascache snd_melee1 	"weapons/punch/whsh1.wav"
client aliascache snd_melee2 	"weapons/punch/whsh2.wav"
client aliascache snd_kneefall1 "impact/bodyfall/big/sml1.wav" 1
client aliascache snd_kneefall2 "impact/bodyfall/big/sml2.wav" 1
client aliascache snd_partfall1 "impact/bodyfall/big/med1.wav" 1
client aliascache snd_partfall2 "impact/bodyfall/big/med2.wav" 1
client aliascache snd_partfall3 "impact/bodyfall/big/med3.wav" 1
client aliascache snd_bodyfall1 "impact/bodyfall/big/lrg1.wav" 1
client aliascache snd_bodyfall2 "impact/bodyfall/big/lrg2.wav" 1
server aliascache  snd_inmysights1          "monsters/sarge/srgsite1.wav"  1


// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:

// Normal Animations
server fire1 first fire

server walk1 4 movementsound
client walk1 4 footstep
server walk1 10 movementsound
client walk1 10 footstep

server run1 4 movementsound
client run1 4 footstep
server run1 9 movementsound
client run1 9 footstep

// Pain Animations
client pain1 1 randomsound snd_pain 1 2
server pain1 1 painsound

client pain2 1 randomsound snd_pain 1 2
server pain2 1 painsound
client pain2 6 randomsound snd_kneefall 1 4

// Pain Location Based Animations
client pain_head first randomsound snd_pain 1 2
server pain_head first painsound

client pain_torso_upper first randomsound snd_pain_head 1 2
server pain_torso_upper first painsound

client pain_torso_lower first randomsound snd_pain_head 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

// Death Location Based Animations
server death1 1 deathsound
client death1 1 randomsound snd_death 1 2
client death1 6 randomsound snd_partfall 1 4
client death1 34 randomsound snd_partfall 1 4

server death2 1 deathsound
client death2 1 randomsound snd_death 1 2
client death2 2 randomsound snd_bodyfall 1 4
client death2 5 randomsound snd_partfall 1 4

server death3 1 deathsound
client death3 1 randomsound snd_death 1 2
client death3 7 randomsound snd_bodyfall 1 4

server death4 1 deathsound
client death4 1 randomsound snd_death 1 2
client death4 5 randomsound snd_kneefall 1 4
client death4 6 randomsound snd_kneefall 1 4
client death4 8 randomsound snd_bodyfall 1 4

server death5 1 deathsound
client death5 1 randomsound snd_death 1 2
client death5 10 randomsound snd_kneefall 1 4

client sightenemy 1 randomsound snd_sightenemy 1 2

server melee1 1 movementsound
server melee1 3 melee
client melee1 3 randomsound snd_melee 1 1

server melee2 1 movementsound
server melee2 3 melee
client melee2 3 randomsound snd_melee 1 1

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/sarge.def          $
// 
// 30    11/13/98 4:15a Joeske
// Formatting and bad animation ref, fixed.
// 
// 29    11/07/98 5:23p Phook
// 
// 28    10/26/98 8:03p Beau
// added pains
// 
// 27    10/26/98 8:02p Phook
// 
// 26    10/22/98 11:01p Joeske
// Fixed snd_lostweapon for all characters.
// 
// 25    10/21/98 8:48p Markd
// Added grenade attack
//
// 24    10/20/98 6:00p Onethumb
//
// 23    10/19/98 4:22p Markd
// Fixed him up
//
// 22    10/16/98 6:56p Phook
// Oct 16: First global damage settings tweaks
//
// 21    9/23/98 1:12p Aldie
// New format
//
// 20    9/14/98 5:25p Aldie
// -----------------------------------------------------------------------------
