SDEF
// ----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/bacrodai.def  $
// $Revision:: 39                                                             $
//   $Author:: Markd                                                          $
//     $Date:: 10/20/98 3:28a                                                 $
//
// 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.
//
//
//
//
// DESCRIPTION:
// This is a model definition file.  It is to be used in conjunction with Sin.
//
// MODEL AUTHOR:
// Beau
// ----------------------------------------------------------------------------
//
//
// The SINED declaration section
//
/*SINED Monster_Bachrodai (1 .5 0) (0 0 0) (0 0 0)
Bachrodai
*/
//
// FILE DECLARATIONS
//



// Model Commands
path models/bacrodai
scale 1.625

// Base Model
bac_base.sbm

// Skins
normal bac_base.tga
damage bac_damage1.tga
// ?
//bac_baseJ.tga

// Normal Animations
// Need real idle animation
idle1     bac_idle1.sam
melee1     bac_attack1.SAM
melee2     bac_attack2.SAM
melee3     bac_attack3.sam
melee4     bac_attack4.sam
twitch1   bac_idle2.sam
walk1     bac_walk.sam
pain1     bac_pain1.sam
pain2     bac_pain2.sam
pain3     bac_pain3.sam
death1    bac_death1.sam
death2    bac_death2.sam
death3    bac_death3.sam
run1      bac_run.sam
block1    bac_block.sam

// Pain Location Based Animations

// Death Location Based Animations

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations

// Scripted Animations

// Id And Group Definitions
id   5 group head flesh
group head damage 2.0
id  15 group torso_upper flesh
group torso_upper damage 1.0
id  18 group torso_lower flesh
group torso_lower damage 1.0
id  45 group leg_left_upper fabric
group leg_left_upper damage 1.0
id  50 group leg_left_lower flesh
group leg_left_lower damage 1.0
id  65 group leg_right_upper fabric
//group leg_right_upper damge 1.0
group leg_right_upper damage 1.0
id  70 group leg_right_lower flesh
group leg_right_lower damage 1.0
id  85 group arm_left_upper flesh
group arm_left_upper damage 1.25
id  87 group arm_left_mid flesh
group arm_left_mid damage 1.5
id  90 group arm_left_lower flesh
group arm_left_lower damage 1.75
id 105 group arm_right_upper flesh
group arm_right_upper damage 0.8
id 110 group arm_right_lower flesh
group arm_right_lower damage 0.8


//
// INITIALIZATION SECTION
//
!init:

//
// SERVER Initialization Commands
//

// Class Setup
server classname bacrodai
server setsize "-16 -16 0" "16 16 88"
// no crouch anim, so just guessing on crouchsize until when/if we have him crouch
// - ot
server crouchsize "-6 -16 0" "14 16 44"
server script global/bacrodai.scr
server health 300
server meleerange 250
server meleedamage 70
server painthreshold 30


// Sound Aliases
server aliascache snd_sightenemy1     "monsters/bacrodai/bacsite1.wav" 1
server aliascache snd_sightenemy2     "monsters/bacrodai/bacsite2.wav" 1

//
// CLIENT Initialization Commands
//

// Sound Aliases
client aliascache snd_death1     "monsters/bacrodai/bacdeth1.wav" 1
client aliascache snd_death2     "monsters/bacrodai/bacdeth2.wav" 1
client aliascache snd_pain1      "monsters/bacrodai/bacpain1.wav" 1
client aliascache snd_pain2      "monsters/bacrodai/bacpain2.wav" 1
client aliascache snd_pain3      "monsters/bacrodai/bacpain3.wav" 1
server aliascache snd_idle1      "monsters/bacrodai/bacidle1.wav" 1
client aliascache snd_melee1     "monsters/bacrodai/bacmel1.wav" 1
client aliascache snd_melee2     "monsters/pinphat/pinmel1.wav" 1
client aliascache snd_melee3     "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_drag1      "monsters/bacrodai/drag1.wav" 1
client aliascache snd_null1      "misc/null.wav" 1

//
// SHARED initialization commands
//

// Sound Aliases



//
// MAIN SECTION
//
!main:

// Normal Animations
client death1 first randomsound snd_death 1 2
server death1 first deathsound
client death1     4 randomsound snd_partfall 1 4
server death1 4 movementsound
client death2 first randomsound snd_death 1 2
server death2 first deathsound
client death2     5 randomsound snd_bodyfall 1 4
server death2 5 movementsound
client death2     9 randomsound snd_kneefall 1 4
server death2 9 movementsound
client death3 first randomsound snd_death 1 2
server death3 first deathsound
client death3     4 randomsound snd_partfall 1 4
server death3 4 movementsound
client death3     8 randomsound snd_kneefall 1 4
server death3 8 movementsound
client death3    12 randomsound snd_kneefall 1 4
server death3 12 movementsound

client pain1 first randomsound snd_pain 1 2
server pain1 first painsound
client pain1     0 footstep
server pain1 0 movementsound
client pain2 first randomsound snd_pain 1 2
server pain2 first painsound
client pain2     2 footstep
server pain2 2 movementsound
client pain3 first randomsound snd_pain 1 2
server pain3 first painsound
client pain3     2 randomsound snd_partfall 1 4
server pain3 2 movementsound

client melee1 5 randomsound snd_melee 1 1
server melee1 5 melee
server melee1 5 movementsound
client melee1 5 footstep

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

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

client melee3 5 randomsound snd_kneefall 1 4
server melee3 5 movementsound

client melee4 1 footstep
server melee4 1 movementsound

client melee4 5 footstep
server melee4 5 movementsound
server melee4 5 melee
client melee4 5 randomsound snd_melee 1 1
server melee4 5 movementsound

client melee4 9 randomsound snd_kneefall 1 4
server melee4 9 movementsound

client block1 2 footstep
server block1 2 movementsound

client walk1 2 randomsound snd_drag .5 4
client walk1 0 footstep
server walk1 0 movementsound
client walk1 6 footstep
server walk1 6 movementsound

client twitch1 0 randomsound snd_drag 1 4
client twitch1 1 randomsound snd_idle .3 2
client twitch1 8 randomsound snd_drag 1 4 1 2
client twitch1 10 randomsound snd_drag 1 4 1 2
client twitch1 11 randomsound snd_drag 1 4 1 2
client twitch1 16 randomsound snd_drag 1 4 1 2
client twitch1 22 randomsound snd_drag 1 4 1 1
client twitch1 25 randomsound snd_null 1 4 1 1



client run1 1 footstep
server run1 1 movementsound
client run1 4 randomsound snd_kneefall .5 4
server run1 4 movementsound
client run1 6 footstep
server run1 6 movementsound

// Pain Location Based Animations

// Death Location Based Animations

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations

// Scripted Animations



//
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/bacrodai.def       $
// 
// 39    10/20/98 3:28a Markd
// added its own script file
//
// 38    10/16/98 6:55p Phook
// Oct 16: First global damage settings tweaks
//
// 37    10/10/98 2:56p Markd
// Adjusted melee damages
//
// 36    10/09/98 11:59p Markd
// Fixed melee attacks etc.
//
// 35    9/29/98 8:32p Markd
// fixed bacrodai's firing animations
//
// 34    9/22/98 7:32p Zak
// tweaked anim frames
//
// 33    9/20/98 8:37p Onethumb
// Semi-final revisions complete, almost ready for first half beta
//
// 32    9/20/98 7:14p Onethumb
// Minor changes
//
// 31    9/20/98 4:55p Onethumb
// Fixed idle/twich stuff for Beau
//
// 30    9/14/98 12:03p Onethumb
// Added health
//
// 29    9/13/98 6:22p Onethumb
// Minor problems fixed
//
// 28    9/13/98 6:12p Onethumb
// Sound tweaks
//
// 27    9/13/98 6:01p Onethumb
// Polished up sound and animation sections
//
// 26    9/13/98 4:20p Onethumb
// fixed kneefalls problem
//
// 24    9/13/98 4:08p Onethumb
//
// 23    9/13/98 4:05p Onethumb
// Changed idle anims to twitch
//
// 21    9/13/98 3:39p Onethumb
// Added crouchsize
//
// 20    9/13/98 3:34p Onethumb
// Ditto
//
// 17    9/13/98 3:29p Onethumb
//
// 16    9/13/98 3:16p Onethumb
// Reformatted DEF file
//
// 15    9/13/98 3:03p Onethumb
// re-arranging formating
//
// 14    9/13/98 3:02p Onethumb
// Testing adding in the new VSS header
