//===========================================================================
//
// Baron of Hell
//
//===========================================================================
ACTOR 45AMAN //3003
{
	Game Doom
	SpawnID 8
	Health 250
	PainChance 180
	Speed 10
	Radius 30
	Height 56
	Mass 400
	Monster
Translation "112:127=[0,0,255]:[0,0,0]"
	+FLOORCLIP +FASTER +FASTMELEE
        SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"

	AttackSound "G3SG1/FIRE"//"W45AF"
	Obituary "$OB_DEMONHIT"
	DropItem "DropSpawner5", 128
	DropItem "DeadClip5Inv", 160
	Species "SniperMan"
	States
	{
	Spawn:
		SYNA AB 10 A_Look
		Loop
	See:
		SYNA AABBCCDD 3 A_Chase
		Loop
	Missile:
		SYNA E 6 A_FaceTarget
		TNT1 A 0 A_PlaySound("G3SG1/Distant", 7)

		TNT1 A 0 A_PlaySound("G3SG1/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(2,6)*2, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
		SYNA F 3 BRIGHT //A_CPosAttack
		SYNA F 6
		SYNA E 1 A_CPosRefire
		Goto Missile+1
	Pain:
		SYNA G 3
		SYNA G 3 A_Pain
		Goto See

	Pain.FLASHBANGFREEZE:
TNT1 A 0 A_ChangeFlag("NOPAIN", true)
		SYNA G 2
		SYNA A 175 A_Pain
TNT1 A 0 A_ChangeFlag("NOPAIN", false)
		Goto See

	Death:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 250)

		SYNA H 5
		SYNA I 5 A_Scream
		SYNA J 5 A_NoBlocking
		SYNA K 4
		SYNA L 4 
		SYNA M 4
		SYNA N -1
		Stop





XDeath:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 500)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGeneratorSARG",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 5
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA P 5 A_playsound("demon/xdeath")
SYNA P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA Q 5
SYNA Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA R 5 A_NoBlocking
SYNA STUV 5
SYNA W -1
stop
	Raise:
		SYNA N 5
		SYNA MLKJI 5
		Goto See
	}
}





ACTOR 45AMAN_arach : 45AMAN
{
	Game Doom
	SpawnID 8
	Health 250
	PainChance 180
	Speed 10
	Radius 30
	Height 56
	Mass 400
	Monster
Translation "112:127=[0,0,255]:[0,0,0]"
	+FLOORCLIP +FASTER +FASTMELEE
        SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"

	AttackSound "G3SG1/FIRE"//"W45AF"
	Obituary "$OB_DEMONHIT"
	DropItem "DropSpawner5", 128
	DropItem "DeadClip5Inv", 160
	Species "SniperMan"
	States
	{
	Spawn:
		SYNA AB 10 A_Look
		Loop
	See:
		SYNA AABBCCDD 3 A_Chase
		Loop
	Missile:
		SYNA E 6 A_FaceTarget
		TNT1 A 0 A_PlaySound("G3SG1/Distant", 7)

		TNT1 A 0 A_PlaySound("G3SG1/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(2,6)*2, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
		SYNA F 3 BRIGHT //A_CPosAttack
		SYNA F 6
		SYNA E 1 A_CPosRefire
		Goto Missile+1
	Pain:
		SYNA G 3
		SYNA G 3 A_Pain
		Goto See

	Pain.FLASHBANGFREEZE:
TNT1 A 0 A_ChangeFlag("NOPAIN", true)
		SYNA G 2
		SYNA A 175 A_Pain
TNT1 A 0 A_ChangeFlag("NOPAIN", false)
		Goto See

	Death:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 250)

		SYNA H 5
		SYNA I 5 A_Scream
		SYNA J 5 A_NoBlocking
		SYNA K 4
		SYNA L 4 
		SYNA M 4
		SENA N 0 A_BossDeath
		SYNA N -1
		Stop





XDeath:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 500)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGeneratorSARG",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 5
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA P 5 A_playsound("demon/xdeath")
SYNA P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA Q 5
SYNA Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA R 5 A_NoBlocking
SYNA STUV 5
		SENA N 0 A_BossDeath
SYNA W -1
stop
	Raise:
		SYNA N 5
		SYNA MLKJI 5
		Goto See
	}
}




ACTOR 45BMAN //3003
{
	Game Doom
	SpawnID 8
	Health 250
	PainChance 180
	Speed 10
	Radius 30
	Height 56
	Mass 400
	Monster
Translation "112:127=32:47"
	+FLOORCLIP +FASTER +FASTMELEE
        SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"

	AttackSound "Scar20/FIRE"//"W45AF"
	Obituary "$OB_DEMONHIT"
	DropItem "DropSpawner5", 128
	DropItem "DeadClip5Inv", 160
	Species "SniperMan"
	States
	{
	Spawn:
		SYNA AB 10 A_Look
		Loop
	See:
		SYNA AABBCCDD 3 A_Chase
		Loop
	Missile:
		SYNA E 6 A_FaceTarget
		TNT1 A 0 A_PlaySound("SCAR20/Distant", 7)

		TNT1 A 0 A_PlaySound("Scar20/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(2,6)*2, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
		SYNA F 9 BRIGHT //A_CPosAttack
		SYNA F 1 A_CPosRefire
		Goto Missile+1
	Pain:
		SYNA G 3
		SYNA G 3 A_Pain
		Goto See

	Pain.FLASHBANGFREEZE:
TNT1 A 0 A_ChangeFlag("NOPAIN", true)
		SYNA G 2
		SYNA A 175 A_Pain
TNT1 A 0 A_ChangeFlag("NOPAIN", false)
		Goto See

	Death:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 250)

		SYNA H 5
		SYNA I 5 A_Scream
		SYNA J 5 A_NoBlocking
		SYNA K 4
		SYNA L 4 
		SYNA M 4
		SYNA N -1
		Stop





XDeath:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 500)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGeneratorSARG",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 5
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA P 5 A_playsound("demon/xdeath")
SYNA P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA Q 5
SYNA Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA R 5 A_NoBlocking
SYNA STUV 5
SYNA W -1
stop
	Raise:
		SYNA N 5
		SYNA MLKJI 5
		Goto See
	}
}


ACTOR 51MAN //3003
{
	Game Doom
	SpawnID 8
	Health 250
	PainChance 180
	Speed 10
	Radius 30
	Height 56
	Mass 400
	Monster
		+BOSSDEATH
Translation "112:127=96:111"
	+FLOORCLIP +FASTER +FASTMELEE
        SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"

	AttackSound "M249/FIRE"//"W51F"
	Obituary "$OB_DEMONHIT"
	DropItem "DropSpawner7", 64
	DropItem "DeadClip7Inv" 96
	Species "StrongoMan"
	States
	{
	Spawn:
		SYNA AB 10 A_Look
		Loop
	See:
		SYNA AABBCCDD 3 A_Chase
		Loop
	Missile:
		SYNA E 6 A_FaceTarget
		TNT1 A 0 A_PlaySound("M249/Distant", 7)

		TNT1 A 0 A_PlaySound("M249/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(1,4)*3, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
		SYNA F 3 BRIGHT //A_CPosAttack
		SYNA F 1 A_CPosRefire
		Goto Missile+1
	Pain:
		SYNA G 3 
		SYNA G 3 A_Pain
		Goto See

	Pain.FLASHBANGFREEZE:
TNT1 A 0 A_ChangeFlag("NOPAIN", true)
		SYNA G 2
		SYNA G 175 A_Pain
TNT1 A 0 A_ChangeFlag("NOPAIN", false)
		Goto See

	Death:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 250)

		SYNA H 5
		SYNA I 5 A_Scream
		SYNA J 5 A_NoBlocking
		SYNA K 4
		SYNA L 4 
		SYNA M 4
		SYNA N -1 A_BossDeath 
		Stop





XDeath:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 500)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibPieceGeneratorSARG",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA O 5
SYNA O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA P 5 A_playsound("demon/xdeath")
SYNA P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA Q 5
SYNA Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
SYNA R 5 A_NoBlocking
SYNA STUV 5
SYNA W -1 A_BossDeath 
stop
	Raise:
		SYNA N 5
		SYNA MLKJI 5
		Goto See
	}
}