ACTOR MaxTrooperZombie
{
//Creator: Titanium
//Origin: Nexus Infinity
//Sprite: MAXZ
//Title: "Max Trooper Zombie"
Tag "\c[m3]Max Trooper Zombie\c-"
Health 1100
Radius 20
Height 56
Mass 800
PainChance 12
Speed 16
Scale 1.1
Monster
SeeSound "MaxSuitZombie/sight"
PainSound "MaxSuitZombie/pain"
DeathSound "MaxSuitZombie/death"
ActiveSound "MaxSuitZombie/active"
DropItem "PortableMedkit" 100
DropItem "ArmorPlate" 100
DropItem "StimKit" 140
DropItem "ArmorBooster" 140
DropItem "HealthFlask", 180
DropItem "ArmorCharge", 180
DropItem "AmmoPack", 100
DropItem "AmmoPack" 50
DropItem "AmmoPack" 25
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "NewCellPack" 200 100
DropItem "BackPack" 120 1
DropItem "Plasma Shotgun", 25, 1
DropItem "MarineMedicBeacon", 15, 1
DropItem "MarineDispensersBeacon", 15, 1
DropItem "HellsExpensiveContract", 110
Damagefactor "RedZombieDemonTech", 0
Damagefactor "ZombieRocket", 0
Damagefactor "ZombieDemonTech", 0
DamageFactor "RedZDemonTechProjectile", 0.0
Damagefactor "GeneralTracer", 0
DamageFactor "Hell", 0.0
DamageFactor "EMGEx", 0
DamageFactor "RST", 0.0
DamageFactor "SoulToxic", 0.0
DamageFactor "BeheComet", 0.0
DamageFactor "FatFlamer", 0.0
Damagefactor "HTZombie", 0.0
DamageFactor "MiniRocket", 0.0
DamageFactor "ZombieCannon", 0.0
Damagefactor "ZExplosiveBullets", 0.0
Damagefactor "ZGrenade", 0.0
Damagefactor "Normal", 0.5
obituary "%o was turned to dust by a Max Trooper Zombie."
+FLOORCLIP
+NOBLOOD
+MISSILEMORE
+MISSILEEVENMORE
+QUICKTORETALIATE
+DONTHARMSPECIES
States
{
  Spawn:
	MAXZ A 10 A_Look
	Loop
  Idle:
	MAXZ AABB 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	MAXZ CCDD 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	Loop
  See:
	MAXZ AABB 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	MAXZ CCDD 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	Loop
  Missile:
	MAXZ E 10 A_FaceTarget
  Normal:
	MAXZ F 1 Bright A_CustomMissile ("ZomibePlasmaBeamProj", 56, 10, 0)
	TNT1 A 0 A_PlaySound("Beam/fire")
    MAXZ F 1 Bright A_FaceTarget
	TNT1 A 0 A_Monsterrefire(12,"See")
	Loop
  Pain:
	TNT1 A 0
	MAXZ G 6 A_Pain
	TNT1 A 0 A_Jump(112,"Missile")
	Goto See
  Death:
	MAXZ H 5 Bright A_Scream
	TNT1 A 0 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
	TNT1 A 0 A_SpawnItem("RocketEx",0,32)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 AAA 0 A_CustomMissile("SmokeFX2", 0, 0, random(0,360), 2, random(0,360))
	TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,128)
	MAXZ I 5 A_Fall
	MAXZ JK 5
	MAXZ L 5 A_SpawnItem("BodyCrash",0,0,0,0)
	MAXZ M 5
	MAXZ N -1
	Stop
  Raise:
	TNT1 A 0
	TNT1 A 0 A_SpawnItemEx("VileHealEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	MAXZ MLKJIH 5
	Goto See
	}
}

ACTOR ZomibePlasmaBeamProj : FastProjectile
{
Speed 200
Radius 13
Height 8
Damage 3
Decal DoomImpScorch
Damagetype "ZombieCannon"
Species "Zombies"
MissileType "BeamTrail"
States
{
  Spawn:
    TNT1 A 1
    Loop
  Death:
    TNT1 A 0
    TNT1 A 0 A_SpawnItemEx("BlueParticleSpawner",0,0,0,0,0,0,0,128)
	TNT1 AAA 0 A_CustomMissile("Kaboom6", 0, 0, random(0,360), 2, random(0,360))
	TNT1 AAA 0 A_CustomMissile("SmokeFX4", 0, 0, random(0,360), 2, random(0,360))
    AP2X BCDE 3 Bright
    Stop
  }
}

ACTOR BeamTrail : ClientSideEffect
{
Speed 0
Projectile
RenderStyle Add
Alpha 0.67
Scale 0.25
+FORCEXYBILLBOARD
States
{
  Spawn:
    AP2X BCD 1 Bright
    Stop
  }
}

Actor MaxTrooperZombieCountless : MaxTrooperZombie
{
	-COUNTKILL
	DropItem "StimKit" 140
	DropItem "ArmorBooster" 140
	DropItem "HealthFlask", 180
	DropItem "ArmorCharge", 180
	DropItem "AmmoPack", 100
	DropItem "HandGrenadeAmmo" 200 1
	DropItem "MineAmmo" 100 1
	DropItem "NewCell" 200
}