SDEF
// --------------------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/manumit.def   $
// $Revision:: 55                                                             $
//   $Author:: Phook                                                          $
//     $Date:: 11/16/98 10:27p                                                $
//
// 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:
// Manumit - Mutant transformed by use of a U4 injection.
//
// MODEL AUTHOR:
// Beau
//
// The SINED declaration section
//
/*SINED Monster_Manumit (1 .5 0) (0 0 0) (0 0 0)
Manumit
*/
//

// --------------------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/manumit
scale 1.4

// Base Model
manu_base.sbm

// Skins
normal              manu_base.tga
damage              manu_damage1.tga

// Normal Animations
walk_attack1        manu_attackA.sam
jump_attack1        manu_attackB.sam
swim                manu_swim.sam

backflip1           manu_backflip.SAM
jump1               manu_jump.sam
land1               manu_jump.sam
// death1              manu_death1.SAM
death1              manu_death1.sam
death2		  manu_death2.sam
death3		  manu_death3.sam
twitch1             manu_idle1.SAM
twitch2             manu_stomp.sam
cine_pose           manu_stomp.sam
idle1               manu_idle2.SAM
step_left           manu_rollleft.SAM
step_right          manu_rollright.sam
run1                manu_run.SAM
runsuper            manu_runsuper.sam
walk1               manu_walkB.SAM
transform           manu_transform.sam
superjump		manu_superjump.sam

crouch1             manu_crouch.sam
crouch_walk1        manu_crouchwalk.sam
crouch_attack1      manu_crouchattackC.sam
crouch_pain1        manu_crouchpainA.sam

melee1              manu_attack1.SAM
melee3              manu_attack3.SAM
melee4              manu_attack4.SAM
melee5              manu_stomp.SAM

pain1               manu_paintorso1.sam
pain2               manu_paintorso2.sam

// Pain Location Based Animations
pain_head                manu_painhead.sam
// pain_torso_lower         manu_painA.sam
// pain_torso_upper         manu_painB.sam
pain_torso1              manu_paintorso1.sam
pain_torso2              manu_paintorso2.sam
pain_leg_right_upper     manu_painlegright.SAM
pain_leg_right_lower     manu_painlegright.SAM
pain_leg_left_upper      manu_painlegleft.SAM
pain_leg_left_lower      manu_painlegleft.SAM
pain_arm_right_upper     manu_painarmright.SAM
pain_arm_right_lower     manu_painarmright.SAM
pain_arm_left_upper      manu_painarmleft.SAM
pain_arm_left_lower      manu_painarmleft.SAM

// Death Location Based Animations

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations
pickup             manu_itempickup.SAM
throw_aim          manu_itemhold.SAM
throw              manu_itemthrow.SAM
crouch_idle1       manu_crouchidle.sam

// Scripted Animations
dead               manu_dead.sam
deadtwitch         manu_deadtwitch.sam
trans2idle		 manu_trans2idle.sam

// Id And Group Definitions
id   5 group head flesh
group head damage 2.0
id  12 group torso flesh
group torso damage 1.0
id  45 group leg_left_upper fabric
group leg_left_upper damage 0.75
id  50 group leg_left_lower flesh
group leg_left_lower damage 0.5
id  65 group leg_right_upper fabric
group leg_right_upper damage 0.75
id  70 group leg_right_lower flesh
group leg_right_lower damage 0.5
id  85 group arm_left_upper flesh
group arm_left_upper damage 0.75
id  90 group arm_left_lower flesh
group arm_left_lower damage 0.5
id 105 group arm_right_upper flesh
group arm_right_upper damage 0.75
id 110 group arm_right_lower flesh
group arm_right_lower damage 0.5
id 210 group arm_right_lower bone gun

// --------------------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:

//
// SERVER Initialization Commands
//
// Class Setup
server classname actor
server script global/mutant_melee.scr
server setsize "-24 -24 0" "24 24 88"
server crouchsize "-24 -24 0" "24 24 56"
server health 400
server mass 500
server meleerange 140
server meleedamage 85
server painthreshold 40

// Sound Aliases
server aliascache snd_idle1	 	"monsters/manumit/growl1.wav" 1
server aliascache snd_idle2	 	"monsters/manumit/growl2.wav" 1
server aliascache snd_idle3	 	"monsters/manumit/growl3.wav" 1
server aliascache snd_idle4	 	"monsters/manumit/growl4.wav" 1

server aliascache snd_attacktaunt1   "monsters/manumit/growl1.wav" 1
server aliascache snd_attacktaunt2   "monsters/manumit/growl2.wav" 1
server aliascache snd_attacktaunt3   "monsters/manumit/growl3.wav" 1
server aliascache snd_attacktaunt4   "monsters/manumit/growl4.wav" 1

//
// CLIENT Initialization Commands
//

// Sound Aliases
//client aliascache snd_attack1 	"monsters/manumit/attack/killu1.wav" 1
//client aliascache snd_attack2 	"monsters/manumit/attack/killu2.wav" 1
//client aliascache snd_attack3 	"monsters/manumit/attack/die1.wav" 1
//client aliascache snd_attack4 	"monsters/manumit/attack/die2.wav" 1
//client aliascache snd_attack5 	"monsters/manumit/attack/ltsdnc1.wav" 1
//client aliascache snd_attack6 	"monsters/manumit/attack/ltsdnc2.wav" 1
//client aliascache snd_attack7 	"monsters/manumit/attack/lldsvtd.wav" 1

client aliascache snd_death1	 	"monsters/manumit/death1.wav" 1
client aliascache snd_death2	 	"monsters/manumit/death2.wav" 1
client aliascache snd_death3	 	"monsters/manumit/death3.wav" 1
client aliascache snd_death4	 	"monsters/manumit/death4.wav" 1
client aliascache snd_death5	 	"monsters/manumit/death5.wav" 1
//client aliascache snd_death6	 	"monsters/manumit/death6.wav" 1

aliascache snd_pain1   "monsters/manumit/pain1.wav" 1
aliascache snd_pain2   "monsters/manumit/pain2.wav" 1
aliascache snd_pain3   "monsters/manumit/pain3.wav" 1
aliascache snd_pain4   "monsters/manumit/pain6.wav" 1

server aliascache snd_pain_taunt1   "monsters/manumit/pain4.wav" 1
server aliascache snd_pain_taunt2   "monsters/manumit/pain5.wav" 1
server aliascache snd_pain_taunt3   "monsters/manumit/pain7.wav" 1
server aliascache snd_pain_taunt4   "monsters/manumit/pain8.wav" 1

//client aliascache snd_surprise1	"monsters/manumit/surprise/catchme1.wav" 1
//client aliascache snd_surprise2	"monsters/manumit/surprise/catchme2.wav" 1
//client aliascache snd_surprise3	"monsters/manumit/surprise/gsswh1.wav" 1
//client aliascache snd_surprise4	"monsters/manumit/surprise/gsswh2.wav" 1
//client aliascache snd_surprise5	"monsters/manumit/surprise/srprs1.wav" 1
//client aliascache snd_surprise6	"monsters/manumit/surprise/srprs1.wav" 1

//client aliascache snd_taunt1		"monsters/manumit/taunt/brngtn.wav" 1
//client aliascache snd_taunt2		"monsters/manumit/taunt/cmrlttlm.wav" 1
//client aliascache snd_taunt3		"monsters/manumit/taunt/crushu1.wav" 1
//client aliascache snd_taunt4		"monsters/manumit/taunt/destroyu.wav" 1
//client aliascache snd_taunt5		"monsters/manumit/taunt/dstry2.wav" 1
//client aliascache snd_taunt6		"monsters/manumit/taunt/dthrlf2.wav" 1
//client aliascache snd_taunt7		"monsters/manumit/taunt/flshwk.wav" 1
//client aliascache snd_taunt8		"monsters/manumit/taunt/lspsht.wav" 1
//client aliascache snd_taunt9		"monsters/manumit/taunt/nchncbld.wav" 1
//client aliascache snd_taunt10		"monsters/manumit/taunt/ndbggrgn.wav" 1
//client aliascache snd_taunt11		"monsters/manumit/taunt/nlygdcns.wav" 1
//client aliascache snd_taunt12		"monsters/manumit/taunt/nochance.wav" 1
//client aliascache snd_taunt13		"monsters/manumit/taunt/nvrgtwy.wav" 1
//client aliascache snd_taunt14		"monsters/manumit/taunt/tllgrrtt.wav" 1
//client aliascache snd_taunt15		"monsters/manumit/taunt/rpflsh1.wav" 1
//client aliascache snd_taunt17		"monsters/manumit/taunt/rpflsh2.wav" 1
//client aliascache snd_taunt18		"monsters/manumit/taunt/rsstslss.wav" 1
//client aliascache snd_taunt19		"monsters/manumit/taunt/thrt2.wav" 1
//client aliascache snd_taunt20		"monsters/manumit/taunt/yvgtnch.wav" 1
//client aliascache snd_taunt21		"monsters/manumit/taunt/wntsrvv.wav" 1

client aliascache snd_whoosh1	 	"monsters/pinphat/pinmel1.wav" 1
client aliascache snd_whoosh2	 	"monsters/pinphat/pinmel1.wav" 1

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
client aliascache snd_stomp1    "impact/bigfoot.wav" 1
client aliascache snd_jumpland1 "impact/bodyfall/big/lrg2.wav" 1

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

// Normal Animations
server walk1 3 movementsound
client walk1 3 footstep
server walk1 7 movementsound
client walk1 7 footstep

server crouch_walk1 3 movementsound
client crouch_walk1 3 footstep
server crouch_walk1 7 movementsound
client crouch_walk1 7 footstep

server run1 2 movementsound
client run1 2 footstep
server run1 5 movementsound
client run1 5 footstep

server jump1 3 nextframe 3

server land1 0 setframe 4
server land1 5 movementsound
client land1 5 footstep
server land1 6 movementsound
client land1 6 footstep
server land1 6 movementsound
client land1 6 randomsound snd_partfall 1 2

// Attacking/Melee Animations
server melee1 1 melee 0 150
client melee1 1 randomsound snd_attack 1
server melee1 1 movementsound
client melee1 3 randomsound snd_whoosh 1
server melee1 3 movementsound
server melee3 1 melee 0 150
client melee3 1 randomsound snd_attack 1
server melee3 1 movementsound
client melee3 3 randomsound snd_whoosh 1
server melee3 3 movementsound
server melee4 1 melee 0 150
client melee4 1 randomsound snd_attack 1
server melee4 1 movementsound
client melee4 1 randomsound snd_whoosh 1
server melee4 1 movementsound
client melee4 3 randomsound snd_whoosh 1
server melee4 3 movementsound
client melee5 4 randomsound snd_stomp 1
server melee5 4 melee 0 150
server melee5 4 movementsound

server walk_attack1 0 movementsound
client walk_attack1 0 footstep
server walk_attack1 3 movementsound
client walk_attack1 3 footstep

server crouch_attack1 3 movementsound
client crouch_attack1 3 footstep
server crouch_attack1 7 movementsound
client crouch_attack1 7 footstep

// Pain Animations
server pain1 first painsound
client pain1 first randomsound snd_pain 1
server pain2 first painsound
client pain2 first randomsound snd_pain 1

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

server pain_arm_left_upper first movementsound
client pain_arm_left_upper first randomsound snd_pain 1
server pain_arm_left_upper 3 movementsound
client pain_arm_left_upper 3 footstep
server pain_arm_left_lower first movementsound
client pain_arm_left_lower first randomsound snd_pain 1
server pain_arm_left_lower 3 movementsound
client pain_arm_left_lower 3 footstep
client pain_arm_right_upper first randomsound snd_pain 1
client pain_arm_right_upper 3 footstep
client pain_arm_right_lower first randomsound snd_pain 1
client pain_arm_right_lower 3 footstep

server pain_leg_left_lower first movementsound
client pain_leg_left_lower first randomsound snd_pain 1
server pain_leg_left_lower 2 movementsound
client pain_leg_left_lower 2 footstep
server pain_leg_left_upper first movementsound
client pain_leg_left_upper first randomsound snd_pain 1
server pain_leg_left_upper 2 movementsound
client pain_leg_left_upper 2 footstep
client pain_leg_right_upper first randomsound snd_pain 1
client pain_leg_right_upper 2 footstep
client pain_leg_right_lower first randomsound snd_pain 1
client pain_leg_right_lower 2 footstep

// Death & Location Based Animations
//client death1 first randomsound snd_death 1
//server death1 first deathsound
//client death1 3 randomsound snd_partfall 1
//server death1 3 movementsound
//client death1 6 randomsound snd_kneefall 1
//server death1 6 movementsound
//client death1 26 randomsound snd_bodyfall 1
//server death1 26 movementsound

// Death1 commented out, Death2 renamed for Death1
server death1 first deathsound
client death1 first randomsound snd_death 1
server death1     2 movementsound
client death1     2 randomsound snd_partfall 1
server death1    17 movementsound
client death1    17 randomsound snd_bodyfall 1

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations
// Scripted Animations
server pickup 2 forwardcommand pickup gun
server throw 1 forwardcommand throw

server throw 0 movementsound
client throw 0 footstep

server backflip1 7 movementsound
client backflip1 7 randomsound snd_jumpland 1

server jump_attack1 4 movementsound
client jump_attack1 4 randomsound snd_jumpland 1

// --------------------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/manumit.def        $
// 
// 55    11/16/98 10:27p Phook
// 
// 54    11/13/98 8:40p Joeske
// Fixed death1 animation refs that were wrong.
// 
// 53    11/08/98 10:41p Markd
// increased melee kick
//
// 52    11/08/98 10:15p Markd
// added in mass
//
// 51    11/07/98 7:32p Markd
//
// 50    11/07/98 7:12p Markd
// fixed pain animations and sounds
//
// 49    10/26/98 4:02p Beau
//
// 48    10/24/98 2:55p Beau
//
// 47    10/24/98 2:54p Beau
//
// 46    10/21/98 2:12p Markd
// fixed their scripts
//
// 45    10/20/98 1:08a Markd
// added attack_taunts
//
// 44    10/14/98 11:56p Markd
// fixed jumping and pain stuff
//
// 43    10/13/98 2:11p Beau
//
// 42    10/13/98 10:16 Langsuyar
//
// 41    10/13/98 10:14 Langsuyar
//
// 40    10/11/98 6:50p Joeske
// Fixed formatting, fixed improper references.
//
// 39    10/11/98 6:58p Markd
//
// 38    10/10/98 2:56p Markd
// Adjusted melee damages
//
// 37    10/09/98 11:59p Markd
// Fixed melee attacks etc.
//
// 36    10/02/98 12:43p Beau
//
// 35    9/29/98 8:22p Markd
// put in melee attacks
//
// 34    9/29/98 7:14p Beau
//
// 33    9/22/98 7:32p Zak
//
// 32    9/19/98 8:10p Zak
// tweaked soundfiles
//
// 31    9/19/98 4:11p Onethumb
// Turning over to Zak
//
// 30    9/14/98 1:57p Onethumb
// Finished re-working manumit
//
// 29    9/14/98 1:51p Onethumb
// Fixed crouchsize
//
// 28    9/14/98 1:28p Onethumb
// Added new sounds to animations
//
// 27    9/14/98 12:28p Onethumb
// Changed bounding box size
//
// 26    9/14/98 12:22p Onethumb
// Commented out non-existent sounds
//
// 25    9/14/98 12:13p Onethumb
// Reformatted DEF file
//
// --------------------------------------------------------------------------------------
