SDEF
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/pinphat.def   $
// $Revision:: 29                                                             $
//   $Author:: Markd                                                          $
//     $Date:: 11/15/98 3:34a                                                 $
//
// 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.
// Pinphat is a large (fat) mutant with a rocket launcher for an arm.
//
// MODEL AUTHOR:
// Beau
//
//
/*SINED Monster_Pinphat (1 .5 0) (0 0 0) (0 0 0)
Pinphat
*/
//

// Model Commands
path models/pinphat
scale 1.32

// Base Model
pinphat_base.sbm

// Skins
normal pinphat_base.tga
damage pinphat_damage1.tga

// Normal Animations
idle1		pinphat_idle1.sam
twitch1  	pinphat_idle2.sam
walk1		pinphat_walk.sam
readyfire1	pinphat_readyfire.sam
fire1		pinphat_fire.sam
aim1		pinphat_aim.SAM
talk		pinphat_talk.sam
run1	    pinphat_run.sam
melee1	 	pinphat_melee1.sam
melee2		pinphat_melee2.sam

// Pain Location Based Animations
pain1					pinphat_pain1.sam
pain2				pinphat_painchestupper.sam
pain3				pinphat_painchestlower.sam
pain4				pinphat_painhead.sam
pain_torso_upper		pinphat_painchestupper.SAM
pain_torso_lower		pinphat_painchestlower.sam
pain_head			    pinphat_painhead.SAM
pain_arm_right_upper	pinphat_painarmright.SAM
pain_arm_right_lower	pinphat_painarmright.SAM
pain_arm_left_upper 	pinphat_painarmleft.SAM
pain_arm_left_lower	    pinphat_painarmleft.SAM
pain_leg_right_upper	pinphat_painlegright.SAM
pain_leg_right_lower	pinphat_painlegright.SAM
pain_leg_left_upper	    pinphat_painlegleft.SAM
pain_leg_left_lower	    pinphat_painlegleft.SAM

// Death Location Based Animations
death1	pinphat_death1.sam
death2	pinphat_death2.sam
death3	pinphat_death3.sam

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations
readyfire   pinphat_readyfire.SAM

// Scripted Animations

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

//
// INITIALIZATION SECTION
//
!init:

//
// SERVER Initialization Commands
//
// Class Setup
server classname actor
server setsize "-44 -44 0" "44 44 96"
server crouchsize "-44 -44 0" "44 44 72"
server script global/mutant.scr
server weapon GenericRocket
server health 500
server mass 800
server meleerange 120
server meleedamage 80
server painthreshold 160
server aim 0.8
server ifskill 0 painthreshold 50
server ifskill 0 item Health 20
server ifskill 0 aim 0.5
server item Rockets 2


// Sound Aliases
server aliascache snd_sightenemy1	"monsters/pinphat/pinsite1.wav" 1
server aliascache snd_sightenemy2	"monsters/pinphat/pinsite2.wav" 1
server aliascache snd_idle1	 		"monsters/pinphat/pinidle1.wav" 1
server aliascache snd_pursuit1 		"monsters/pinphat/pinpurs1.wav" 1
server aliascache snd_pursuit2 		"monsters/pinphat/pinpurs2.wav" 1
server aliascache snd_pursuit3 		"monsters/pinphat/pinpurs3.wav" 1
server aliascache snd_attacktaunt1 	"monsters/pinphat/pinattk1.wav" 1
server aliascache snd_attacktaunt2	"monsters/pinphat/pinattk2.wav" 1
server aliascache snd_melee1		"monsters/pinphat/pinmel1.wav" 1
server aliascache snd_melee2		"monsters/pinphat/pinmel1.wav" 1

//
// CLIENT Initialization Commands
//

// Sound Aliases
client aliascache snd_death1	"monsters/pinphat/pindeth1.wav" 1
client aliascache snd_death2	"monsters/pinphat/pindeth2.wav" 1
client aliascache snd_pain1	 	"monsters/pinphat/pinpain1.wav" 1
client aliascache snd_pain2	 	"monsters/pinphat/pinpain2.wav" 1
client aliascache snd_pain3	 	"monsters/pinphat/pinpain3.wav" 1
client aliascache snd_pain4	 	"monsters/pinphat/pinpain4.wav" 1
client aliascache snd_pain5	 	"monsters/pinphat/pinpain5.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_step1 	"impact/bodyfall/big/sml2.wav" 1
client aliascache snd_fire    "weapons/rlaunch/new3.wav"

//
// SHARED initialization commands
//

// Sound Aliases

//
// MAIN SECTION
//
!main:

// Normal Animations
server readyfire last nextanim aim

server fire1 1 fire
server fire1 1 weaponsound
client fire1 1 randomsound snd_fire 1
client fire1 1 dlight 1 0 0.1 0 0 0 400 0 1.0 0.8
client fire1 1 attach gun sprites/gunblast.spr time 0.1 scale 0.8 randomroll
server fire1 last  attack_finished

server walk1 6 movementsound
client walk1 6 randomsound snd_step .5 2
server walk1 13 movementsound
client walk1 13 randomsound snd_step .5 2

server run1 4 movementsound
client run1 4 randomsound snd_step .8 2
server run1 9 movementsound
client run1 9 randomsound snd_step .8 2

server melee1 3 movementsound
server melee1 3 melee
client melee1 3 randomsound snd_melee 2
server melee2 5 movementsound
server melee2 5 melee
client melee2 5 randomsound snd_melee 2

// Pain Location Based Animations
client pain1 first randomsound snd_pain 1 2
server pain1 first painsound
client pain1 5 randomsound snd_bodyfall 1 4

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_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 first deathsound
client death1 first randomsound snd_death 1 2
client death1 5 randomsound snd_bodyfall 1 4
client death1 19 randomsound snd_partfall 1 4

server death2 first deathsound
client death2 first randomsound snd_death 1 2
client death2 2 randomsound snd_partfall 1 4
client death2 13 randomsound snd_partfall 1 4

server death3 first deathsound
client death3 first randomsound snd_death 1 2
client death3 4 randomsound snd_partfall 1 4

// 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/pinphat.def        $
// 
// 29    11/15/98 3:34a Markd
// tweaked their helath paks
// 
// 28    11/14/98 11:36p Markd
// toned them down for skill level 0
// 
// 27    11/13/98 9:34p Markd
// upped their mass
// 
// 26    11/07/98 5:23p Phook
// 
// 25    10/26/98 8:05p Beau
// 
// 24    10/26/98 8:04p Phook
// 
// 23    10/23/98 5:00p Phook
// 
// 22    10/16/98 6:56p Phook
// Oct 16: First global damage settings tweaks
// 
// 21    10/14/98 1:54a Markd
// Added melee attacks
//
// 20    10/13/98 1:30a Joeske
// Fixed pinidle ref, it should be pinidle1.wav
//
// 19    10/09/98 11:59p Markd
// Fixed melee attacks etc.
//
// 18    10/04/98 10:40p Markd
// Got these guys working with the actor code
//
// 17    9/23/98 1:12p Aldie
// New format
//
// 16    9/14/98 3:39p Aldie
// Updated to new format
//
