ACTOR TerminatorDemon 30099
{ 
	//$Title "Terminator"
	//$Category XV117Monsters
	Health 1000
	Radius 24//43SpriteW(110%=47)
	Height 79//72SpriteH(110%=79)
	scale 1.2
	Mass 1030
	Speed 6
	PainChance 25
	Translation "16:47=48:79", "188:191=236:239", "64:79=160:167"
	MONSTER
	BloodType "CyberDemon_Blood", "CyberDemon_SawBlood", "CyberDemon_Blood"
	Obituary "%o was liquidated by a Terminator."
	+QUICKTORETALIATE
	+FLOORCLIP 
	+MISSILEMORE
	+MISSILEEVENMORE
	+DONTHURTSPECIES
	+boss
	painchance "bleeding", 80 painchance "bleedingarmor", 0
	Painchance "Shock", 256
	PainChance "ChainCut", 200
	Painchance "beartrap", 255
	PainChance "ChainSaw", 200
	PainChance "Acid", 255
	damagefactor "Acid", 3.0
	PainChance "Saw", 100
	DamageFactor "Crush", 20.0
	damagefactor "slug", 1.2
	PainChance "Cut", 100
	PainChance "Kick", 255 PainChance "Leg", 255
	PainChance "LowKick", 200 PainChance "HangingHook", 0
	damagefactor "TeleportRemover", 0.0
	PainChance "CallingTheBaronAFaggot", 255
	Painchance "minigun", 80
	damagefactor "Avoid", 0.0
	damagefactor "SSG", 0.2
	DamageFactor "Use", 0.0
	DamageFactor "Stealth", 0.0
	damagefactor "Shotgun", 0.2
	PainChance "Explosive", 255
	damagefactor "DontCallTheBaron", 0.0
	DamageFactor "CauseSplash", 0.0 DamageFactor "CauseObjectsToSplashSlime", 0.0 DamageFactor "CauseObjectsToSplashNukage", 0.0
	DamageFactor "CauseObjectsToSplashBlood", 0.0 DamageFactor "CauseObjectsToSplashLava", 0.0
	damagefactor "Fatality", 3.0
	damagefactor "Blood", 0.0 damagefactor "BlueBlood", 0.0 damagefactor "GreenBlood", 0.0
	PainChance "Head", 120
	SeeSound "monster/termsit" 
	PainSound "monster/termpin" 
	DeathSound "monster/termdth"
	ActiveSound "Terminator/termact"
	DropItem "DemonStrengthRune", 110
	DropItem "alphabloodspawner" 40	
	dropitem "ammorocket" 70
	dropitem "ammorocket" 70
	dropitem "metalspawner" 180
	dropitem "metalspawner" 180
	dropitem "metalspawner" 180
	dropitem "metalspawner" 180
	Tag "Terminator"
	Species "BaronofHell"
	States 
   { 
   	 ReplaceForBoss1:
		TNT1 A 0 A_ChangeFlag("THRUACTORS", 1)
		TNT1 A 0 A_ChangeFlag("COUNTKILL", 0)
		TNT1 A 0 A_SpawnItemEx ("BaronBoss1",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION | SXF_TRANSFERAMBUSHFLAG  | SXF_TRANSFERPOINTERS ,0, tid)
		TNT1 A 10 
		Stop	
		
	ReplaceForBoss2:
		TNT1 A 0 A_ChangeFlag("THRUACTORS", 1)
		TNT1 A 0 A_ChangeFlag("COUNTKILL", 0)
		TNT1 A 0 A_SpawnItemEx ("BaronBoss2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION | SXF_TRANSFERAMBUSHFLAG  | SXF_TRANSFERPOINTERS ,0, tid)
		TNT1 A 10 
		Stop	
		
		SpawnNospace:
		TNT1 A 0 A_ChangeFlag("THRUACTORS", 1)
		TNT1 A 0 A_ChangeFlag("COUNTKILL", 0)
		TNT1 A 0 A_SpawnItemEx ("Mancubus",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS ,0, tid)
		Stop
		
		ReplaceVanilla:
		TNT1 A 0 A_ChangeFlag("THRUACTORS", 1)
		TNT1 A 0 A_ChangeFlag("COUNTKILL", 0)
		TNT1 A 0 A_SpawnItemEx ("Mancubus",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS ,0, tid)
		Stop
   
   Spawn: 
   TNT1 A 0
   TNT1 A 0 ACS_NamedExecuteWithResult("RADARSIGNAL",0)
   //
   	TNT1 A 0 A_JumpIf(x == 304, "ReplaceForBoss1")
	TNT1 A 0 A_JumpIf(x == 528, "ReplaceForBoss2")
	TNT1 A 0 A_Checkceiling("SpawnnoSpace")
	TNT1 A 0 A_JUMPIF(GETCVAR("monsterspawns")==4, "ReplaceVanilla")
	//
	 TNT1 A 0 A_GiveInventory("TargetIsABaronOfHell")
	 Givearmor:
		TNT1 A 0 A_JumpIf(GetCVAR("EnemyArmorValue")==true,"Givearmor2")
		TNT1 A 0 A_GiveInventory("100armorHIGH")
		TNT1 A 0 A_GiveInventory("hasPLATEarmor")
		goto LOOK
	Givearmor2:	
		TNT1 A 0 A_GiveInventory("100ARMORSUPER")
		TNT1 A 0 A_GiveInventory("hasPLATEarmor")
		Goto LOOK

	   
	   Look:
       TERM AB 10 A_Look 
	   TNT1 A 0 A_TakeInventory("TMGAmmo", 16)
	   TNT1 A 0 A_GiveInventory("TMGAmmo", random(0,4))
       Loop 
   See:
       TNT1 A 0 A_Playsound("Terminator/terstepA")
	   	TNT1 A 0 A_Jumpifinventory("destroyedarmor", 1,2)
	   TNT1 A 0 A_Jumpifinventory("BasicArmor", 1,1)
	   goto LostArmor
       TERM AA 3 A_Chase
	   TERM BB 3 A_Chase
	   	TNT1 A 0 A_Jumpifinventory("destroyedarmor", 1,2)
	   TNT1 A 0 A_Jumpifinventory("BasicArmor", 1,1)
	   goto LostArmor
	   TNT1 A 0 A_Playsound("Terminator/terstepA")
	   TERM CC 3 A_Chase
	   TERM DD 3 A_Chase
	   		TNT1 A 0 A_JumpIfintargetInventory("predatormode", 1, "Look")
       Loop 

pain.beartrap:
TNT1 A 0 a_spawnitem("beartraprip",0,0)	
goto see

pain.bleedingarmor:	
Pain.Bleeding:
	TNT1 A 0 A_CustomMissile ("Brutal_FlyingBlood", 55, 0, random (0, 360), 2, random (0, 160))
	TNT1 A 0 a_Jump(190, "See")
	goto Pain
	
	Pain.Shock:
		TNT1 A 0 A_spawnitem("plasmaexplosion",0,30)
		TNT1 A 0 A_giveinventory("shockcharge",50)
		TNT1 A 0 A_playsound("Sparks/Spawn", CHAN_7)
   Pain:
	   TNT1 A 0 A_Jumpifinventory("destroyedarmor", 1,2)
	   TNT1 A 0 A_Jumpifinventory("BasicArmor", 1,1)
	   goto LostArmor
       TERM L 2 	
       TERM L 2 A_Pain
	   TNT1 A 0 A_JumpIfInventory ("shockcharge", 1, "Shocked")
       Goto See
	
PAIN.SYRINGE2:
	TNT1 A 0 A_CHANGEFLAG("FORCEINFIGHTING",1)
	TNT1 A 0 A_CHANGEFLAG("DOHARMSPECIES",1)
	TNT1 A 0 A_CHANGEFLAG("DONTHARMSPECIES",0)
	TNT1 A 0 A_CHANGEFLAG("DONTHARMCLASS",0)
	TNT1 A 0 A_CHANGEFLAG("NOINFIGHTSPECIES",0)
	TNT1 A 0 A_CHANGEFLAG("NOINFIGHTING",0)
	TNT1 A 0 A_CLEARTARGET
	TNT1 A 0 A_EXPLODE(1,270,XF_NOTMISSILE | XF_EXPLICITDAMAGETYPE,0,270,0,0,"bulletpuff","frenzytrigger")
	goto see
PAIN.FRENZYTRIGGER:
	TNT1 A 0 Healthing(1)
	TNT1 A 0 A_CHANGEFLAG("FORCEINFIGHTING",1)
	TNT1 A 0 A_CHANGEFLAG("DOHARMSPECIES",1)
	TNT1 A 0 A_CHANGEFLAG("DONTHARMSPECIES",0)
	TNT1 A 0 A_CHANGEFLAG("DONTHARMCLASS",0)
	TNT1 A 0 A_CHANGEFLAG("NOINFIGHTSPECIES",0)
	TNT1 A 0 A_CHANGEFLAG("NOINFIGHTING",0)
  goto See
	
	Shocked:
	TNT1 A 0 A_takeinventory("shockcharge",1)
	TNT1 A 0 A_spawnitem("plasmashockbeeg",0,60)
	TNT1 A 0 A_DamageSelf(2,"plasma")
	goto Pain
	
	LostArmor:
		TNT1 A 0 A_log("the Terminator's armor has been destroyed!")
	   TNT1 A 0 A_giveinventory("exposedarmor",1)
	   TNT1 A 0 A_giveinventory("destroyedarmor",1)
		TERM L 3
	   TNT1 A 0 A_CustomMissile ("TerminatorDemonShoulder", 24, 0, random (0, 360), 2, random (0, 160))
	    TERM L 3 A_Pain
	    TNT1 A 0 A_Spawnitemex("scrapmetal",0,0,0,random(-5,5),random(-5,5), random(-5,5), random(0, 360), 0, 127)
	    TERM L 3
	   TNT1 A 0 A_CustomMissile ("TerminatorDemonShoulder", 24, 0, random (0, 360), 2, random (0, 160))
        TERM L 3 A_Pain
	   goto see
	   
	   
   Missile:
		TNT1 A 0 A_Jump(96, "RTshot")
		
   Machinegun://Y=42 | X=-14
		TERM G 2 A_Facetarget
	   TNT1 A 0 A_Jumpifinventory("destroyedarmor", 1,2)
	   TNT1 A 0 A_Jumpifinventory("BasicArmor", 1,1)
	   goto LostArmor
		TERM H 2 BRIGHT A_CustomMissile("OrangeLensFlareAlt", 46, -15, 0, 0)
		TNT1 A 0 A_CustomMissile("MonsterMinigunTracer", 46, -15, random(-4, 3), 0)
		TNT1 A 0 A_PlaySound("FARHMG", 6)
		TNT1 A 0 A_PlaySound("HMGFIRE", 1)
		TNT1 A 0 A_GiveInventory("TMGAmmo", 1)
		TNT1 A 0 A_JumpIfInventory("TMGAmmo", 16, "Cooldown")
		TNT1 A 0 A_CheckSight("see")
		Goto Machinegun
		
	RTshot://Y=39 | X=17
       TERM E 8 A_FaceTarget
	   TNT1 A 0 A_Jumpifinventory("destroyedarmor", 1,2)
	   TNT1 A 0 A_Jumpifinventory("BasicArmor", 1,1)
	   goto LostArmor
	   TNT1 A 0 A_JumpIfCloser(152, "Machinegun")//avoid it's own splash damage
	   TNT1 A 0 A_Playsound("Terminator/tershotA")
	   TERM F 8 Bright A_CustomMissile("CyberBalls",43,19,0,0)
	   TERM E 8
	 Goto See 

	Cooldown:
		TNT1 A 0
		TNT1 A 0 A_TakeInventory("TMGAmmo", 8)
		Goto See


Death.ChainCut:
Death.ChainSaw:
		TNT1 A 0 A_SpawnItemEx("HealthPlusFatalityBonus", 0, 0, 20, random (-1, 1), random (-1, 1), 8)
		TNT1 A 0 A_SpawnItemEx("ArmorShard", 0, 0, 20, random (-1, 1), random (-1, 1), 8)	
		TNT1 A 0 A_SpawnItemEx("HealthPlusFatalityBonus", 0, 0, 20, random (-1, 1), random (-1, 1), 8)
		TNT1 A 0 A_SpawnItemEx("ArmorShard", 0, 0, 20, random (-1, 1), random (-1, 1), 8)	
	  Death:
       TERM M 6 A_Scream 
	   TNT1 A 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (70, 90))
		TNT1 A 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (70, 90))
		TNT1 A 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAA 0 A_CustomMissile ("BloodmistXXBig", 50, 0, random (0, 360), 2, random (70, 90))
	    TNT1 AAA 0 A_CustomMissile ("BloodmistXXBig", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 A 0 A_CustomMissile ("SuperGoreSPawner", 50, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_CustomMissile ("UltraGoreSPawner", 40, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_CustomMissile ("Brutal_LiquidBlood2", 40, 0, random (0, 360), 2, random (0, 180))
       TERM N 4 
       TERM OPQ 4 Bright 
	   TERM R 0 Bright A_FaceTarget
	   	  TNT1 AAAAAA 0 A_CustomMissile ("Xdeath1", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains2", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains3", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains4", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains5", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brutal_LiquidBlood", 35, 0, random (0, 360), 2, random (0, 160))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 35, 0, random (0, 360), 2, random (20, 90))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 45, 0, random (0, 360), 2, random (20, 90))
		 TNT1 A 0 A_CustomMissile ("Guts2", 24, 0, random (0, 360), 2, random (0, 160))
		 TNT1 A 0 A_CustomMissile ("Guts2", 24, 0, random (0, 360), 2, random (0, 160))
		 TNT1 A 0 A_SpawnItem ("Brutal_BloodSpot")
		TNT1 A 0 A_SpawnItem ("BarrelExplosion", 0, 20)
		TNT1 A 0 A_Playsound("Terminator/terstepA")
       TERM R 0 Bright A_SpawnItemEx("TerminatorDemonHead", 15, 0, 90, 10, 0, 0, -170, 128)
       TERM R 0 Bright A_SpawnItemEx("TerminatorDemonShoulder", 60, 0, 75, 8, 0, 0, -70, 128)
       TERM R 4 Bright A_SpawnItemEx("TerminatorDemonArm", 60, 0, 0, 3, 0, 0, -90, 128)
	   TNT1 AAA 0 A_CustomMissile ("Brutal_LiquidBlood", 50, 0, random (0, 360), 2, random (70, 90))
	    TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood3", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 50, 0, random (0, 360), 2, random (70, 90))
	    TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood3", 60, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("BloodmistXXBig", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("BloodmistXXBig", 45, 0, random (0, 360), 2, random (20, 90))
		TNT1 A 0 A_SpawnItem ("GrowingBloodPool")
       TERM STUV 4 Bright
       TERM W 4 
       TERM X 6 A_Fall
       TERM Y 6
       TERM Z 1 
       TERM Z 5 
       TERM [ -1   
       Stop
   } 
}



ACTOR TerminatorArm
{
	Radius 12
	Height 15
	Speed 3
	Mass 1000
	scale 2.05
	+DOOMBOUNCE
      States
	{
	Spawn:
         TARM A 5
         TARM B 5 A_Fall 
         TARM CDE 5
         TARM F -1
         Stop
	}
}

ACTOR TerminatorDemonArm : TerminatorArm
{
	Translation "16:47=48:79", "188:191=236:239", "64:79=160:167"
	Scale 1.1
}

actor TerminatorHead
{
    Radius 6
    Height 8
    Speed 10
    Mass 1000
    +DOOMBOUNCE
    +DROPOFF
    +Missile
    scale 2.05
    
    States
    {
    Spawn:
    	THAD DEFGHABC 2
        loop
    Death:
    	THAD I -1
        loop
    }
}

actor TerminatorDemonHead : TerminatorHead
{
    Translation "16:47=48:79", "188:191=236:239", "64:79=160:167"
	Scale 1.1
	
	 States
    {
	Death:
    	THAD I 30
        TNT1 A 0 A_spawnitem("TerminatorHeadPickup",0,0)
		Stop
	}
}

actor TerminatorHeadPickup : custominventory
{
inventory.pickupmessage "$GOTTERMINATORHELM"
inventory.pickupsound "HELMPK"
tag "Terminator's Helmet"
 States
    {
    Spawn:
    	THAD I -1
        loop
	Pickup:
	TNT1 A 0 A_giveinventory("armorhelmet",1)
	Stop
    }
}

actor TerminatorShoulder
{
    Radius 8
    Height 8
    Speed 8
    Mass 1000
    +DOOMBOUNCE
    +DROPOFF
    +Missile
    scale 2.05
    
    States
    {
    Spawn:
    	TSHO ABCDEFGH 2
        loop
    Death:
    	TSHO I -1
        loop
    }
}

actor TerminatorDemonShoulder : TerminatorShoulder
{
    Translation "16:47=48:79", "188:191=236:239", "64:79=160:167"
	Scale 1.1
}

ACTOR TerminatorBoss : TerminatorDemon
{ 
	//$Title "Terminator Boss"
	//$Category XV117Monsters
	Tag "Super Terminator"
	Health 5050
	Radius 40//43SpriteW(204%=88)
	Height 147//72SpriteH(204%=147)
	scale 2.04
	Mass 5070
	Speed 16
	translation "64:79=160:167"
	MaxStepHeight 24
	MaxDropOffHeight 32
	BloodType "CyberDemon_Blood", "CyberDemon_SawBlood", "CyberDemon_Blood"
	PainChance 20
	SeeSound "monster/termsit" 
	PainSound "monster/termpin" 
	DeathSound "monster/termdth"
	ActiveSound "Terminator/termact"
	painchance "kick", 255
	painchance "Fire", 60
	PainChance "Head", 40
	PainChance "KillMe", 64
	PainChance "Taunt", 255
	PainChance "Cut", 5
	Painchance "Fatality", 90
	damagefactor "HKFT", 0.05
	damagefactor "HKFT", 0.05
	damagefactor "Decaptate", 5.0
	damagefactor "Avoid", 0.0
	damagefactor "GibRemoving", 0.0
	damagefactor "TeleportRemover", 0.0
	DamageFactor "CauseSplash", 0.0 DamageFactor "CauseObjectsToSplashSlime", 0.0 DamageFactor "CauseObjectsToSplashNukage", 0.0
	DamageFactor "CauseObjectsToSplashBlood", 0.0 DamageFactor "CauseObjectsToSplashLava", 0.0
	damagefactor "Crush", 20.0
	damagefactor "Blood", 0.0 damagefactor "BlueBlood", 0.0 damagefactor "GreenBlood", 0.0
	DropItem "DemonStrengthRune", 32
	Species "CyberDemon"
	+NOICEDEATH
	+MISSILEMORE
	+MISSILEEVENMORE
    +DONTRIP
    +NORADIUSDMG
	+QUICKTORETALIATE
	+FLOORCLIP
	+BOSS
	+BOSSDEATH
	+DONTMORPH
	+DONTHARMSPECIES
	states
	{
	Spawn: 
       TERM AB 10 A_Look 
	   TNT1 A 0 A_TakeInventory("TMGAmmo", 32)
	   TNT1 A 0 A_GiveInventory("TMGAmmo", random(0,4))
	   TNT1 A 0 A_TakeInventory("TRAmmo", 3)
	   TNT1 A 0 A_GiveInventory("TRAmmo", random(0,1))
       Loop 
	   
	See:
       TNT1 A 0 A_Playsound("Terminator/terstepA")
       TERM AAAA 2 A_Chase
	   TERM BBBB 2 A_Chase
	   TNT1 A 0 A_Playsound("Terminator/terstepA")
	   TERM CCCC 2 A_Chase
	   TERM DDDD 2 A_Chase
       Loop  
	   
	Missile:
		TNT1 A 0 A_Jump(128, "RTshot")
		
	Machinegun://Y=42 | X=-14
		TERM G 2 A_Facetarget
		TERM H 2 BRIGHT A_CustomMissile("OrangeLensFlareAlt", 86, -29, 0, 0)
		TNT1 A 0 A_CustomMissile("MonsterMinigunTracer", 86, -29, random(-4, 3), 0)
		TNT1 A 0 A_PlaySound("FARHMG", 6)
		TNT1 A 0 A_PlaySound("HMGFIRE", 1)
		TNT1 A 0 A_GiveInventory("TMGAmmo", 1)
		TNT1 A 0 A_JumpIfInventory("TMGAmmo", 32, "Cooldown")
		TNT1 A 0 A_CheckSight("see")
		Goto Machinegun
		
	RTshot://Y=39 | X=17
		TERM E 5 A_FaceTarget
		TNT1 A 0 A_JumpIfCloser(168, "Machinegun")//avoid it's own splash damage
		TNT1 A 0 A_Playsound("Terminator/tershotA")
		TERM F 5 Bright A_CustomMissile("CyberBalls",80,35,0,0)
		TERM E 5
		TNT1 A 0 A_GiveInventory("TRAmmo", 1)
		TNT1 A 0 A_JumpIfInventory("TRAmmo", 3, "Cooldown")
		TNT1 A 0 A_CheckSight("see")
		Goto RTshot
		
	Cooldown:
		TNT1 A 0
		TNT1 A 0 A_TakeInventory("TMGAmmo", 32)
		TNT1 A 0 A_TakeInventory("TRAmmo", 3)
		Goto See
Fatality:		
	Death:
       TERM M 6 A_Scream 
	   TNT1 A 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (70, 90))
		TNT1 A 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (70, 90))
		TNT1 A 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAA 0 A_CustomMissile ("BloodmistXXBig", 50, 0, random (0, 360), 2, random (70, 90))
	    TNT1 AAA 0 A_CustomMissile ("BloodmistXXBig", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 A 0 A_CustomMissile ("SuperGoreSPawner", 50, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_CustomMissile ("UltraGoreSPawner", 40, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_CustomMissile ("Brutal_LiquidBlood2", 40, 0, random (0, 360), 2, random (0, 180))
       TERM N 4 
       TERM OPQ 4 Bright 
	   TERM R 0 Bright A_FaceTarget
	   	  TNT1 AAAAAA 0 A_CustomMissile ("Xdeath1", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains2", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains3", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains4", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brains5", 82, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("Brutal_LiquidBlood", 35, 0, random (0, 360), 2, random (0, 160))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 35, 0, random (0, 360), 2, random (20, 90))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 45, 0, random (0, 360), 2, random (20, 90))
		 TNT1 A 0 A_CustomMissile ("Guts2", 24, 0, random (0, 360), 2, random (0, 160))
		 TNT1 A 0 A_CustomMissile ("Guts2", 24, 0, random (0, 360), 2, random (0, 160))
		 TNT1 A 0 A_SpawnItem ("Brutal_BloodSpot")
		TNT1 A 0 A_SpawnItem ("BarrelExplosion", 0, 20)
		TNT1 A 0 A_Playsound("Terminator/terstepA")
       TERM R 0 Bright A_SpawnItemEx("TerminatorHead", 15, 0, 90, 10, 0, 0, -170, 128)
       TERM R 0 Bright A_SpawnItemEx("TerminatorShoulder", 60, 0, 75, 8, 0, 0, -70, 128)
       TERM R 4 Bright A_SpawnItemEx("TerminatorArm", 60, 0, 0, 3, 0, 0, -90, 128)
	   TNT1 AAA 0 A_CustomMissile ("Brutal_LiquidBlood", 50, 0, random (0, 360), 2, random (70, 90))
	    TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood3", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood", 50, 0, random (0, 360), 2, random (70, 90))
	    TNT1 AAAAA 0 A_CustomMissile ("Brutal_LiquidBlood3", 60, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("BloodmistXXBig", 40, 0, random (0, 360), 2, random (70, 90))
		TNT1 AAAAA 0 A_CustomMissile ("BloodmistXXBig", 45, 0, random (0, 360), 2, random (20, 90))
		TNT1 A 0 A_SpawnItem ("GrowingBloodPool")
       TERM STUV 4 Bright
       TERM W 4 
       TERM X 6 A_Fall
       TERM Y 6
       TERM Z 1 
       TERM Z 5 
       TERM [ -1   
       Stop
	}
}



ACTOR TMGAmmo: Ammo
{
     Inventory.MaxAmount 32
}

ACTOR TRAmmo: Ammo
{
     Inventory.MaxAmount 3
}