//**************************************************************************
//
//  Sound definitions for Hexen.
//
//**************************************************************************

$pitchshiftrange 3

//==========================================================================
//
//  Player sounds
//
//==========================================================================

$playerreserve					*usefail
$playerreserve					*puzzfail
$playerreserve					*grunt
$playerreserve					*land
$playerreserve					*falling
$playerreserve					*poison
$playerreserve					*pain100
$playerreserve					*pain75
$playerreserve					*pain50
$playerreserve					*pain25
$playerreserve					*death
$playerreserve					*crazydeath
$playerreserve					*xdeath
$playerreserve					*splat
$playerreserve					*burndeath
$playerreserve					*fistgrunt

$random PlayerFighterExtremeDeathPicker	{ PlayerFighterExtreme1Death
										  PlayerFighterExtreme2Death
										  PlayerFighterExtreme3Death }

$playeralias	fighter	male	*usefail	PlayerFighterFailedUse
$playeralias	fighter	male	*puzzfail	PuzzleFailFighter
$playeralias	fighter	male	*grunt		PlayerFighterGrunt
$playeralias	fighter	male	*land		PlayerLand
$playeralias	fighter	male	*falling	PlayerFighterFallingScream
$playeralias	fighter	male	*poison		PlayerPoisonCough
$playeralias	fighter	male	*pain100	PlayerFighterPain
$playersounddup	fighter	male	*pain75		*pain100
$playersounddup	fighter	male	*pain50		*pain100
$playersounddup	fighter	male	*pain25		*pain100
$playeralias	fighter	male	*death		PlayerFighterNormalDeath
$playeralias	fighter	male	*crazydeath	PlayerFighterCrazyDeath
$playeralias	fighter	male	*xdeath		PlayerFighterExtremeDeathPicker
$playeralias	fighter	male	*splat		PlayerFallingSplat
$playeralias	fighter	male	*burndeath	PlayerFighterBurnDeath
$playeralias	fighter male 	*fistgrunt	FighterGrunt

$random PlayerClericExtremeDeathPicker	{ PlayerClericExtreme1Death
										  PlayerClericExtreme2Death
										  PlayerClericExtreme3Death }

$playeralias	cleric	male	*usefail	PlayerClericFailedUse
$playeralias	cleric	male	*puzzfail	PuzzleFailCleric
$playeralias	cleric	male	*grunt		PlayerClericGrunt
$playeralias	cleric	male	*land		PlayerLand
$playeralias	cleric	male	*falling	PlayerClericFallingScream
$playeralias	cleric	male	*poison		PlayerPoisonCough
$playeralias	cleric	male	*pain100	PlayerClericPain
$playersounddup	cleric	male	*pain75		*pain100
$playersounddup	cleric	male	*pain50		*pain100
$playersounddup	cleric	male	*pain25		*pain100
$playeralias	cleric	male	*death		PlayerClericNormalDeath
$playeralias	cleric	male	*crazydeath	PlayerClericCrazyDeath
$playeralias	cleric	male	*xdeath		PlayerClericExtremeDeathPicker
$playeralias	cleric	male	*splat		PlayerFallingSplat
$playeralias	cleric	male	*burndeath	PlayerClericBurnDeath

$random PlayerMageExtremeDeathPicker	{ PlayerMageExtreme1Death
										  PlayerMageExtreme2Death
										  PlayerMageExtreme3Death }

$playeralias	mage	male	*usefail	PlayerMageFailedUse
$playeralias	mage	male	*puzzfail	PuzzleFailMage
$playeralias	mage	male	*grunt		PlayerMageGrunt
$playeralias	mage	male	*land		PlayerLand
$playeralias	mage	male	*falling	PlayerMageFallingScream
$playeralias	mage	male	*poison		PlayerPoisonCough
$playeralias	mage	male	*pain100	PlayerMagePain
$playersounddup	mage	male	*pain75		*pain100
$playersounddup	mage	male	*pain50		*pain100
$playersounddup	mage	male	*pain25		*pain100
$playeralias	mage	male	*death		PlayerMageNormalDeath
$playeralias	mage	male	*crazydeath	PlayerMageCrazyDeath
$playeralias	mage	male	*xdeath		PlayerMageExtremeDeathPicker
$playeralias	mage	male	*splat		PlayerFallingSplat
$playeralias	mage	male	*burndeath	PlayerMageBurnDeath

// Use *pain in a script to play any of the pain sounds
$random *pain					{ *pain100  *pain75  *pain50  *pain25 }

//==========================================================================
//
//  Sound parameters
//
//==========================================================================

$limit PlayerFighterFailedUse	1
$limit PlayerClericFailedUse	1
$limit PlayerMageFailedUse		1

$limit SorcererBallWoosh		4
$limit SorcererBallBounce		3
$limit SorcererBallExplode		3
$limit SorcererBigBallExplode	3

$limit Ambient1					1
$limit Ambient2					1
$limit Ambient3					1
$limit Ambient4					1
$limit Ambient5					1
$limit Ambient6					1
$limit Ambient7					1
$limit Ambient8					1
$limit Ambient9					1
$limit Ambient10				1
$limit Ambient11				1
$limit Ambient12				1
$limit Ambient13				1
$limit Ambient14				1
$limit Ambient15				1

$limit MysticIncant				4

$pitchshift PlayerMageNormalDeath		0
$pitchshift PlayerMageCrazyDeath		0
$pitchshift PlayerMageExtreme1Death		0
$pitchshift PlayerMageExtreme2Death		0
$pitchshift PlayerMageExtreme3Death		0
$pitchshift PlayerMageBurnDeath			0
$pitchshift PlayerMagePain				0
$pitchshift PlayerMageGrunt				0
$pitchshift PlayerMageFallingScream		0
$pitchshift PlayerMageFailedUse			0

$pitchshift PickupWeapon		0
$pitchshift PickupPiece			0
$pitchshift WeaponBuild			0

$pitchshift BellRing			0

$alias world/drip				Ambient10
$alias world/watersplash		WaterSplash
$alias world/lavasizzle			LavaSizzle
$alias world/sludgegloop		SludgeGloop
$alias world/quake				Earthquake
$alias world/thunder			ThunderCrash
$alias misc/chat				Chat
$alias misc/chat2				Chat

//==========================================================================
//
//  Menu sounds
//
//==========================================================================

$alias menu/activate			DoorCloseLight
$alias menu/cursor				FighterHammerHitWall
$alias menu/choose				DoorCloseLight
$alias menu/change				PickupKey
$alias menu/backup				PickupKey
$alias menu/clear				PlatformStop
$alias menu/prompt				Chat
$alias menu/invalid				DoorCloseMetal
$alias menu/dismiss				PlatformStop

//===========================================================================
//
// MAP SONG DEFINITIONS FOR DEATHKINGS
//
//===========================================================================

$MAP    41              Winnowr
$MAP    42              Jachr
$MAP    43              Voidr
$MAP    44              Deepr
$MAP    45              Fubasr
$MAP    46              Sixater
$MAP    47              Chap_1r
$MAP    48              Bonesr
$MAP    49              Wutzitr
$MAP    50              Chap_2r
$MAP    51              Octor
$MAP    52              Stalkr
$MAP    53              Falconr
$MAP    54              Chap_3r
$MAP    55              Percr
$MAP    56              Rithmr
$MAP    57              Foojar
$MAP    58              Cryptr
$MAP    59              Simonr
$MAP    60              Crucibr

$MAP    33              Grover
$MAP    34              Fortr
$MAP    35              Swampr
$MAP    36              Wobabyr
$MAP    37              Blechr
$MAP    38              Falconr

$MAP    0               hexen
$MAP    0               hub
$MAP    0               hall
$MAP    0               orb
$MAP    0               chess
