Actor CyberDemolisher : CardihilatorDemolisher
{
//Creator: Complex Doom CF 3.0 team
//Origin: Complex Doom CF 3.0 Aprilfools
//Sprite: CYDE
//Title: "Cyber Demolisher"
Health 5500
SeeSound "cyber/sight"
PainSound "monsters/cyberlordpain"
DeathSound "cybdemo/death"
ActiveSound "cyber/active"
AttackSound "spider/attack"
Decal BulletChip
Obituary "%o was destroyed by the Cyber Demolisher."
Tag "\ccCyber Demolisher\c-"
States
  {
   Spawn:
    CYDE A 10 A_Look
    Loop
   See:
    CYDE A 2 A_Metal
    CYDE ABB 2 A_Chase
    CYDE C 2 A_Metal
    CYDE CDD 2 A_Chase
    CYDE E 2 A_Metal
    CYDE EFF 2 A_Chase
    Loop 
   Missile:
	TNT1 A 0 A_Jump(192,"Rocket","Seeker","BFG10K","Railgun","DTBFG")
   Normal:
  	TNT1 A 0 A_JumpIfCloser(2000,1)
	Goto Rocket
	TNT1 A 0 A_PlaySound("monsters/darkmasterwind")
    CYDE A 10 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("ShellCasing", 10, 12, 36, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
	TNT1 A 0 A_PlaySound("weapons/12gaugefire")
	TNT1 A 0 A_CustomMissile("MonsterTracer3",Random(24,34),0,Random(10,-10),0)
	CYDE K 4 Bright A_SPosAttackUseAtkSound
    TNT1 A 0 A_SpawnItemEx("ShellCasing", 10, -12, 36, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 A 0 A_PlaySound("weapons/12gaugefire")
	TNT1 A 0 A_CustomMissile("MonsterTracer3",Random(24,34),0,Random(10,-10),0)
	CYDE L 4 Bright A_SPosAttackUseAtkSound
	TNT1 A 0 A_PlaySound("monsters/darkmasterwind2")		
	TNT1 A 0 A_Jump(8,"BFG10K","Rocket")		
    TNT1 A 0 A_SpidRefire
    Goto Normal+3
   Rocket:
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordRocket",40,-26,0)
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordRocket",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordRocket",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordRocket",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordRocket",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordRocket",40,-26,random(-4,4))
	TNT1 A 0 A_Jump(110,"Seeker")
    Goto See
   Seeker:
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordHomer",40,-26,0)
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordHomer",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordHomer",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordHomer",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordHomer",40,-26,random(-4,4))
	CYDE I 6 Bright A_Facetarget
	CYDE J 6 Bright A_CustomMissile("CyberLordHomer",40,-26,random(-4,4))
	TNT1 A 0 A_Jump(110,"BFG10K")
    Goto See
   BFG10K:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	CYDE G 18 Bright A_FaceTarget
	CYDE G 6 Bright A_FaceTarget
    TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	CYDE H 4 Bright A_CustomMissile("DarkDemo10K", 44, 0, Random(4, -4))
	CYDE G 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	CYDE H 4 Bright A_CustomMissile("DarkDemo10K", 44, 0, Random(4, -4))
	CYDE G 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	CYDE H 4 Bright A_CustomMissile("DarkDemo10K", 44, 0, Random(4, -4))
	CYDE G 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	CYDE H 4 Bright A_CustomMissile("DarkDemo10K", 44, 0, Random(4, -4))
	CYDE G 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	CYDE H 4 Bright A_CustomMissile("DarkDemo10K", 44, 0, Random(4, -4))
	CYDE G 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	CYDE H 4 Bright A_CustomMissile("DarkDemo10K", 44, 0, Random(4, -4))
	CYDE G 20 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(110,"Railgun")
	Goto See
   Railgun:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	CYDE GG 10 A_FaceTarget
	CYDE G 10 A_FaceTarget
	CYDE H 10 A_CustomMissile("DarkCyberRail", 32, 0, 0)
	CYDE GG 10 A_FaceTarget
	CYDE H 10 A_CustomMissile("DarkCyberRail", 32, 0, Random(4, -4))
	CYDE G 15
	TNT1 A 0 A_Jump(110,"DTBFG")
	Goto See
   DTBFG:	
	CYDE G 0 A_PlayWeaponSound("Cardinal/9k")
	CYDE GG 10 A_FaceTarget
	CYDE G 10 A_FaceTarget
    CYDE H 6 Bright A_CustomMissile("DarkAnniDTBFGBall",25,0,0) 
    CYDE GG 10 A_FaceTarget
    Goto See	
  Pain:
	CYDE M 2
	CYDE M 2 A_Pain
    Goto See
  Death:
    CYDE M 16 A_Scream
    CYDE N 6 A_NoBlocking
    TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    CYDE OOOOO 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    CYDE PPPPP 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))		
    CYDE QQQQQ 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)		
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    CYDE RRRRR 1 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    CYDE SSSSS 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    CYDE TTTTT 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AAAA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAAAAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	TNT1 AAAAAAAA 0 A_CustomMissile("SmokeFX3", Random(20,80), 0, random(0,360), 2, random(0,360))
	CYDE UV 2
    CYDE W -1 A_BossDeath
    Stop
	}
}