//******************************************************************
// Enemies (CsDoom2)
//******************************************************************

ACTOR 14MAN: Zombieman //Replaces Doomimp
{
        Health 125
        Radius 20
        Height 56
        Speed 9
        PainChance 150
        MONSTER 
        +FLOORCLIP
        AttackSound "DEAGLE/FIRE"//W14F
         SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"
        Obituary "%o was killed by a Zombieman."
	DropItem "DropSpawner2", 96
	DropItem "DeadClip2Inv", 148
	Species "ZomboMan"
        States
        {
        Spawn:
                ZOMB AB 10 A_Look
                Loop
        See:
                ZOMB AABBCCDD 4 A_Chase
                Loop
        Missile:
                ZOMB E 8 A_FaceTarget
		TNT1 A 0 A_PlaySound("DEAGLE/Distant", 7)

		TNT1 A 0 A_PlaySound("DEAGLE/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(2,4)*2, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
                ZOMB F 3 bright //A_CPosAttack
                ZOMB E 10 //A_CustomMissile("Bullet", 40, 0, -45)
                Goto See
        Pain:
                ZOMB G 3
                ZOMB G 3 A_Pain
                Goto Missile

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







        Death:
        //TNT1 A 0 A_GiveToTarget("MoneySystem", 125)
                ZOMB H 5
                ZOMB I 5 A_Scream
                ZOMB J 5 A_NoBlocking
                ZOMB K 5
                ZOMB L 5
                ZOMB M 5
                ZOMB N -1
                Stop
        XDeath:
        //TNT1 A 0 A_GiveToTarget("MoneySystem", 250)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator9",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator10",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB O 5
TROO O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB P 5 A_XScream
TROO P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB Q 5 A_NoBlocking
TROO Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
                ZOMB RSTUV 5
                ZOMB W -1
                Stop
        Raise:
                ZOMB NMLKJIH 5
                Goto See
        }
}



ACTOR 15AMAN: Zombieman //Replaces Doomimp
{
        Health 60
        Radius 20
        Height 56
        Speed 9
        PainChance 150
        MONSTER 
        Translation "112:127=[0,128,255]:[0,0,0]"
        +FLOORCLIP
        AttackSound "FIVESEVEN/FIRE"//W15aF
        SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"

        Obituary "%o was killed by a Zombieman."
	DropItem "DropSpawner2", 96
	DropItem "DeadClip2Inv", 148
	Species "ZomboMan"
        States
        {
        Spawn:
                ZOMB AB 10 A_Look
                Loop
        See:
                ZOMB AABBCCDD 4 A_Chase
                Loop
        Missile:
                ZOMB E 6 A_FaceTarget
	    TNT1 A 0 A_Jump(92,"MissileEnd")
		TNT1 A 0 A_PlaySound("FIVESEVEN/DISTANT", 7)

		TNT1 A 0 A_PlaySound("FIVESEVEN/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))		
		
                ZOMB F 3 bright //A_CPosAttack
                ZOMB E 3 //A_CustomMissile("Bullet", 40, 0, -45)
		ZOMB E 1 A_SpidRefire
                Goto Missile+1

        MissileEnd:
                ZOMB F 3 bright //A_CPosAttack
		TNT1 A 0 A_PlaySound("FIVESEVEN/Distant", 7)

		TNT1 A 0 A_PlaySound("FIVESEVEN/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))		
		
                ZOMB E 3 //A_CustomMissile("Bullet", 40, 0, -45)
                Goto See


        Pain:
                ZOMB G 3
                ZOMB G 3 A_Pain
                Goto Missile

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








        Death:
        //TNT1 A 0 A_GiveToTarget("MoneySystem", 60)
                ZOMB H 5
                ZOMB I 5 A_Scream
                ZOMB J 5 A_NoBlocking
                ZOMB K 5
                ZOMB L 5
                ZOMB M 5
                ZOMB N -1
                Stop
        XDeath:
        //TNT1 A 0 A_GiveToTarget("MoneySystem", 120)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator9",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator10",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB O 5
TROO O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB P 5 A_XScream
TROO P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB Q 5 A_NoBlocking
TROO Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
                ZOMB RSTUV 5
                ZOMB W -1
                Stop
        Raise:
                ZOMB NMLKJIH 5
                Goto See
        }
}



ACTOR 15BMAN: Zombieman //Replaces Doomimp
{
        Health 60
        Radius 20
        Height 56
        Speed 9
        Translation "112:127=[255,0,0]:[0,0,0]"
        PainChance 150
        MONSTER 
        +FLOORCLIP
        AttackSound "ELITE/FIRE"//W15bF
        SeeSound "Gensight"
        PainSound "Genpain"
        DeathSound "Gendeath"
        ActiveSound "Genactive"

        Obituary "%o was killed by a Zombieman."
	DropItem "DropSpawner2", 96
	DropItem "DeadClip2Inv", 148
	Species "ZomboMan"
        States
        {
        Spawn:
                ZOMB AB 10 A_Look
                Loop
        See:
                ZOMB AABBCCDD 4 A_Chase
                Loop
        Missile:
                ZOMB E 10 A_FaceTarget
	    TNT1 A 0 A_Jump(64,"MissileEnd")
		TNT1 A 0 A_PlaySound("ELITE/Distant", 7)

		TNT1 A 0 A_PlaySound("ELITE/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(1,4)*2, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
               ZOMB F 3 bright //A_CPosAttack
                ZOMB E 4 A_FaceTarget
		ZOMB E 1 A_SpidRefire
                Goto Missile+1

        MissileEnd:
		TNT1 A 0 A_PlaySound("ELITE/Distant", 7)

		TNT1 A 0 A_PlaySound("ELITE/FIRE", CHAN_WEAPON)
		TNT1 A 0 A_CustomBulletAttack(22.5, 0, 1, random(1,4)*2, "BulletPuff", 0, CBAF_NORANDOM)		
		TNT1 A 0 A_CustomMissile("Tracer_Monster",36,5,FRandom(-8,8),CMF_OFFSETPITCH,FRandom(-5,5))		
		
                ZOMB F 3 bright //A_CPosAttack
                ZOMB E 4 A_FaceTarget
                Goto See

        Pain:
                ZOMB G 3
                ZOMB G 3 A_Pain
                Goto Missile

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





        Death:
        //TNT1 A 0 A_GiveToTarget("MoneySystem", 60)
                ZOMB H 5
                ZOMB I 5 A_Scream
                ZOMB J 5 A_NoBlocking
                ZOMB K 5
                ZOMB L 5
                ZOMB M 5
                ZOMB N -1
                Stop
        XDeath:
        //TNT1 A 0 A_GiveToTarget("MoneySystem", 120)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator9",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator10",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibPieceGenerator11",0,0,0,0,0,0,0,128)
TROO N 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB O 5
TROO O 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB P 5 A_XScream
TROO P 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
ZOMB Q 5 A_NoBlocking
TROO Q 0 A_SpawnItemEx("NashGore_GibGenerator",0,0,0,0,0,0,0,128)
                ZOMB RSTUV 5
                ZOMB W -1
                Stop
        Raise:
                ZOMB NMLKJIH 5
                Goto See
        }
}