SDEF
// ----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/nautic.def    $
// $Revision:: 41                                                             $
//   $Author:: Jimdose                                                        $
//     $Date:: 11/15/98 6:59p                                                 $
//
// 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:
// Nautic - Sea creature with a vicious bite.
//
// MODEL AUTHOR:
// Beau
//
/*SINED Monster_Nautic (1 .5 0) (0 0 0) (0 0 0)
Nautic
*/

// ----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/nautic
origin 0 0 12
scale 1.0

// Base Model
nautic_base.sbm

// Skins
normal                  nautic_base.tga
damage                  nautic_damage1.tga

// Normal Animations
fire1				nautic_attack3.sam
idle1				nautic_idle2.sam
twitch1			nautic_idle2.sam
alert1			nautic_idle2.sam
walk1				nautic_walk1.sam
run1				nautic_walk1.sam

// Pain Location Based Animations
pain1				nautic_pain1.sam
pain2				nautic_pain2.sam

// Death Location Based Animations
death1			nautic_death1.sam
death2			nautic_death2.sam

// Swimming Animations
melee1    nautic_attack1.sam
melee2    nautic_attack2.sam
swim_idle1		nautic_idle1.sam
swim_twitch1	nautic_idle1.sam
swim_alert1		nautic_idle1.sam
swim_walk1		nautic_swim1.sam
swim_run1		nautic_swim1.sam

// this one is kinda wierd
//swim_walk2	nautic_swim2.sam

// Swimming Pain Location Based Animations
swim_pain1		nautic_pain1.sam
swim_pain2		nautic_pain2.sam

// Swimming Death Location Based Animations
// swim_death1		nautic_death1.sam
// swim_death2		nautic_death2.sam

// Optional Animations
//swim_dodge1		nautic_dodge1.sam

// Id And Group Definitions
id 20 group head flesh
group head damage 2.5
id 150 group fins twosided flesh
group fins damage 0.2
id 15 group torso flesh
group torso damage 1.0
id 10 group tail_upper flesh
group tail_upper damage 0.8
id 5 group tail_lower flesh
group tail_lower damage 0.6
id 25 group arm_right flesh
group arm_right damage 1.0
id 30 group arm_left flesh
group arm_left damage 1.0

// ----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname actor
server script global/nautic.scr
server setsize "-40 -40 0" "40 40 48"
server noshadow
server health 120
server meleedamage 60
server painthreshold 15

// Sound Aliases
server aliascache snd_idle1   	   "monsters/nautic/nautidle1.wav" 1
server aliascache snd_idle2   	   "monsters/nautic/nautidle2.wav" 1
server aliascache snd_sightenemy1	"monsters/nautic/nautsite1.wav" 1
server aliascache snd_sightenemy2	"monsters/nautic/nautsite2.wav" 1

//
// CLIENT Initialization Commands
//
// Sound Aliases
client aliascache snd_attack1 	   "monsters/nautic/nautattk1.wav" 1
client aliascache snd_attack2 	   "monsters/nautic/nautattk2.wav" 1
client aliascache snd_death1	      "monsters/nautic/nautdeth1.wav" 1
client aliascache snd_death2	      "monsters/nautic/nautdeth2.wav" 1
client aliascache snd_pain1	 	   "monsters/nautic/nautpain1.wav" 1
client aliascache snd_pain2	 	   "monsters/nautic/nautpain2.wav" 1
client aliascache snd_pain3	 	   "monsters/nautic/nautpain3.wav" 1

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

// Normal Animations
server fire1         1 fire
client fire1         1 randomsound snd_attack 1

server walk1         0 movementsound
client walk1         0 footstep
server walk1         6 movementsound
client walk1         6 footstep

server run1          0 movementsound
client run1          0 footstep
server run1          6 movementsound
client run1          6 footstep

// Pain Location Based Animations
server pain1         1 painsound
client pain1         1 randomsound snd_pain 1
server pain2         1 painsound
client pain2         1 randomsound snd_pain 1

// Death Location Based Animations
server death1        1 deathsound
client death1        1 randomsound snd_death 1
server death2        1 deathsound
client death2        1 randomsound snd_death 1

// Swimming Animations
server melee1    1 melee 40 120
client melee1    1 randomsound snd_attack 1
server melee2    1 melee 40 120
client melee2    1 randomsound snd_attack 1

// Swimming Pain Location Based Animations
server swim_pain1    1 painsound
client swim_pain1    1 randomsound snd_pain 1
server swim_pain2    1 painsound
client swim_pain2    1 randomsound snd_pain 1

// // Swimming Death Location Based Animations
// server swim_death1   1 deathsound 
// client swim_death1   1 randomsound snd_death 1
// server swim_death2   1 deathsound 
// client swim_death2   1 randomsound snd_death 1

// ----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/nautic.def         $
// 
// 41    11/15/98 6:59p Jimdose
// increased kick from melee damage
// 
// 40    11/08/98 12:02p Phook
// 
// 39    11/07/98 5:23p Phook
// 
// 38    10/26/98 2:55p Joeske
// Updated and hopefully fixed the sound refs. (Rob's catch)
// 
// 37    10/24/98 6:04p Phook
// 
// 36    10/23/98 8:12p Beau
// 
// 35    10/23/98 7:23p Onethumb
// Tweaked health and melee attributes
// 
// 34    10/23/98 4:48p Beau
// 
// 33    10/22/98 3:28p Phook
// 
// 32    10/21/98 2:00p Markd
// Increased nautic's range
//
// 31    10/16/98 6:56p Phook
// Oct 16: First global damage settings tweaks
//
// 30    10/14/98 1:26a Markd
//
// 29    10/05/98 1:42p Beau
//
// 28    10/03/98 7:37p Markd
// Made them work
//
// 27    10/02/98 8:13p Jimdose
// Added Fire command to attack animations
// added noshadow
//
// 26    9/17/98 8:48p Jimdose
//
// 25    9/17/98 5:25p Jimdose
// Updated with new format
// Made animation obey the naming convention
// ----------------------------------------------------------------------------
