Actor RGAMonster
{
  Game Doom
  //-DONTHURTSPECIES
  DamageFactor "RGABullet", 1.3
  DamageFactor "Shotgungib", 1.0
  DamageFactor "Shotgun", 1.0
  DamageFactor "Dragon", 1.2
  DamageFactor "DragonF", 1.2
  DamageFactor "Dragonsplosion", 1.0
  DamageFactor "Rifle", 1.45
  DamageFactor "Sniper", 1.6
  DamageFactor "Knife", 2.15
  DamageFactor "LMG", 1.8
  DamageFactor "BigPistol", 1.9
  DamageFactor "Cyber", 1.9
  DamageFactor "Explosion", 1.6
  DamageFactor "ExplosionF", 1.6
  DamageFactor "ExplosionC", 1.6
  DamageFactor "Stun", 1.2
  DamageFactor "Stun2", 1.2
  DamageFactor "Stun3", 1.2
  DamageFactor "BarrelBoom", 2.0
  DamageFactor "ScriptedMarine", 0.6
  DamageFactor "Step", 10.0
  DamageFactor "Revive", 0.0
  //Species "Monsters"
}

actor ResurrectionFire
{
  RenderStyle None
  //renderstyle Add
  //alpha 0.75
  +NOCLIP
  +NOINTERACTION
  +FORCEXYBILLBOARD
  +CLIENTSIDEONLY
  +NOTONAUTOMAP
  //scale 0.65
  States
  {
  Spawn:
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(-2,10), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(-2,10), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(-2,10), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(-2,10), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(5,17), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(5,17), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(5,17), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(5,17), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(5,17), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(12,24), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(12,24), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(12,24), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(12,24), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(12,24), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(19,31), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(19,31), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(19,31), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(19,31), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(19,31), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(26,38), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(26,38), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(26,38), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(26,38), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 AA 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(26,38), random(-2,2), random(-2,2), random(-1,4), 0, 128, 48)
    TNT1 A 1
    TNT1 A 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(33,45), random(-2,2), random(-2,2), random(-1,4), 0, 128, 32)
    TNT1 A 1
    TNT1 A 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(33,45), random(-2,2), random(-2,2), random(-1,4), 0, 128, 32)
    TNT1 A 1
    TNT1 A 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(33,45), random(-2,2), random(-2,2), random(-1,4), 0, 128, 32)
    TNT1 A 1
    TNT1 A 0 A_SpawnItemEx("FireFlare", random(-4,4), random(-4,4), random(33,45), random(-2,2), random(-2,2), random(-1,4), 0, 128, 32)
    TNT1 A 1
    stop
  /*Spawn:
    FIER A 1 BRIGHT
    FIER BAB 1 BRIGHT
    FIER C 1 BRIGHT
    FIER BCBCDCDCDEDED 1 BRIGHT
    FIER E 1 BRIGHT
    FIER FEFEFGHGHGH 1 BRIGHT
    stop*/
  }
}

actor ZombieMan_Spawner : RandomSpawner replaces ZombieMan
{
  //+ISMONSTER
  DropItem "RGAZombie_2", 255, 3
  DropItem "RGAZombie_3", 255, 3
  DropItem "RGAZombie_4", 255, 2
  DropItem "RGAZombie_5", 255, 2
  DropItem "RGAZombie_6", 255, 2
  DropItem "DrDude", 255, 2
  DropItem "DrDude2", 255, 2
}

actor ChaingunGuy_Spawner : RandomSpawner replaces ChaingunGuy
{
  //+ISMONSTER
  DropItem "RGAChaingun_2", 255, 5
  DropItem "RGAChaingun_3", 255, 5
  DropItem "RGAChaingun_4", 255, 3
  DropItem "RGAChaingun_5", 255, 3
  DropItem "GrenadeGuy_2", 255, 3
}

actor Gibs_REF : Gibs
{
}

actor RaisingChaingunGuy_Spawner : RandomSpawner replaces Gibs
{
  +ISMONSTER
  DropItem "Gibs_REF", 255, 123//52
  DropItem "RaisingRGAChaingun_2", 255, 5
  DropItem "RaisingRGAChaingun_3", 255, 5
  DropItem "RaisingRGAChaingun_4", 255, 3
  DropItem "RaisingRGAChaingun_5", 255, 3
  DropItem "RaisingGrenadeGuy", 255, 3
}

actor GibbedMarine_REF : GibbedMarine
{
}
actor GibbedMarineExtra_REF : GibbedMarineExtra
{
}

actor DeadPlayer2_Spawner : RandomSpawner replaces GibbedMarine
{
  +ISMONSTER
  DropItem "GibbedMarine_REF", 255, 12//5
  DropItem "ZombieMarine2"
  DropItem "GibbedChainGunguy"
}
actor DeadPlayer3_Spawner : RandomSpawner replaces GibbedMarineExtra
{
  +ISMONSTER
  DropItem "GibbedMarineExtra_REF", 255, 12//5
  DropItem "ZombieMarine2"
  DropItem "GibbedChainGunguy"
}

actor WolfensteinSS_Spawner : RandomSpawner replaces WolfensteinSS
{
  //+ISMONSTER
  DropItem "RGANazi", 255, 7
  DropItem "SpaceNazi", 255, 3
  DropItem "UziGuy", 255, 2
}

actor DoomImp_Spawner : RandomSpawner replaces DoomImp
{
  //+ISMONSTER
  DropItem "DoomImp_2", 255, 15
  DropItem "DarkImp_2", 255, 8
  DropItem "ImpBoy", 255, 6
}

actor Demon_Spawner : RandomSpawner replaces Demon
{
  //+ISMONSTER
  DropItem "Demon_2", 255, 11
  DropItem "BloodDemon_2", 255, 5
  DropItem "StoneDemon", 255, 1
}
actor Spectre_Spawner : RandomSpawner replaces Spectre
{
  //+ISMONSTER
  DropItem "Spectre_2", 255, 11
  DropItem "BloodSpectre", 255, 5
  //DropItem "StoneSpectre", 255, 1
}

actor LostSoul_Spawner : RandomSpawner replaces LostSoul
{
  //+ISMONSTER
  DropItem "LostSoul_2", 255, 9
  DropItem "DamnedSoul", 255, 3
}

actor PainElemental_Spawner : RandomSpawner replaces PainElemental
{
  //+ISMONSTER
  DropItem "PainElemental_2", 255, 9
  DropItem "DamnedElemental", 255, 3
}

actor Cacodemon_Spawner : RandomSpawner replaces Cacodemon
{
  //+ISMONSTER
  DropItem "Cacodemon_2", 255, 22
  DropItem "Cacolantern_2", 255, 7
  DropItem "BlueCacodemon", 255, 5
}

actor Revenant_Spawner : RandomSpawner replaces Revenant
{
  //+ISMONSTER
  DropItem "Revenant_2", 255, 20
  DropItem "GoldRevenant", 255, 7
  DropItem "GreenRevenant", 255, 2
  DropItem "GreenRevenant2", 255, 2
}

actor Revenant_Spawner2 : RandomSpawner
{
  //+ISMONSTER
  DropItem "Revenant_2f", 255, 20
  DropItem "GoldRevenantf", 255, 9
  DropItem "GreenRevenantf", 255, 3
  DropItem "GreenRevenant2f", 255, 3
}

actor HellKnight_Spawner : RandomSpawner replaces HellKnight
{
  //+ISMONSTER
  DropItem "HellKnight_2", 255, 14
  DropItem "HellSpectre", 255, 3
  DropItem "StoneKnight", 255, 2
}

actor BaronOfHell_Spawner : RandomSpawner replaces BaronOfHell
{
  //+ISMONSTER
  DropItem "BaronOfHell_2", 255, 19
  DropItem "LordPurg", 255, 4
  DropItem "Mechbaron", 255, 3
}

actor Fatso_Spawner : RandomSpawner replaces Fatso
{
  //+ISMONSTER
  DropItem "Fatso_2", 255, 39
  DropItem "Hectebus_2", 255, 12
  DropItem "Acubus", 255, 5
}

actor Arachnotron_Spawner : RandomSpawner replaces Arachnotron
{
  //+ISMONSTER
  DropItem "Arachnotron_2", 255, 16
  DropItem "ArachnoSpectre", 255, 3
  DropItem "Augnotron", 255, 6
}

actor Archvile_Spawner : RandomSpawner replaces Archvile
{
  //+ISMONSTER
  DropItem "Archvile_2", 255, 6
  DropItem "Deathvile", 255, 2
}

actor Cyberdemon_Spawner replaces Cyberdemon
{
  RenderStyle None
  Health 0x7FFFFFFF
  Radius 0
  Height 0
  +ISMONSTER
  +BOSSDEATH
  +SHOOTABLE
  +NORADIUSDMG
  +NOCLIP
  +NOTONAUTOMAP
  +INVISIBLE
  +NEVERRESPAWN
  +DONTGIB
  +NOICEDEATH
  +NOBLOOD
  DamageFactor "RGABullet", 0
  DamageFactor "Shotgungib", 0
  DamageFactor "Shotgun", 0
  DamageFactor "Dragon", 0
  DamageFactor "DragonF", 0
  DamageFactor "Dragonsplosion", 0
  DamageFactor "Rifle", 0
  DamageFactor "Sniper", 0
  DamageFactor "Knife", 0
  DamageFactor "LMG", 0
  DamageFactor "BigPistol", 0
  DamageFactor "Cyber", 0
  DamageFactor "Explosion", 0
  DamageFactor "ExplosionF", 0
  DamageFactor "ExplosionC", 0
  DamageFactor "Stun", 0
  DamageFactor "Stun2", 0
  DamageFactor "Stun3", 0
  DamageFactor "BarrelBoom", 0
  DamageFactor "ScriptedMarine", 0
  DamageFactor "Step", 0
  DamageFactor "Revive", 0
  DamageFactor "RGAFire", 0
  DamageFactor "Fire", 0
  DamageFactor "Ice", 0
  DamageFactor "NormalExplode", 0
  States
  {
  Spawn:
    TNT1 A 1
    TNT1 A 0 A_Jump(94,"Cyberlord")
  Cyberdemon:
    TNT1 A 5 A_SpawnItemEx("Cyberdemon_2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER|SXF_TRANSFERAMBUSHFLAG,0)
    goto Spawned
  Cyberlord:
    TNT1 A 5 A_SpawnItemEx("Cyberlord",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER|SXF_TRANSFERAMBUSHFLAG,0)
    goto Spawned
  Spawned:
    TNT1 A 5
	loop
  Death.Ice:
  Death:
    TNT1 A 70 
    TNT1 A 35 A_BossDeath
	stop
  }
}

actor SpiderMastermind_Spawner : Cyberdemon_Spawner replaces SpiderMastermind
{
  States
  {
  Spawn:
    TNT1 A 1
    TNT1 A 0 A_Jump(94,"Arachnid")
  Mastermind:
    TNT1 A 5 A_SpawnItemEx("SpiderMastermind_2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER|SXF_TRANSFERAMBUSHFLAG,0)
    goto Spawned
  Arachnid:
    TNT1 A 5 A_SpawnItemEx("ArachnidOverlord",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER|SXF_TRANSFERAMBUSHFLAG,0)
    goto Spawned
  Cyberdemon:
	stop
  Cyberlord:
	stop
  }
}

actor ZombieStepDamage
{
  RenderStyle None
  +NOCLIP
  PROJECTILE
  +NOTONAUTOMAP
  Speed 1
  Damage 0
  Scale 0.7
  DamageType "Step"
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(2,16,0)
    stop
  }
}

actor DemonStepDamage : ZombieStepDamage
{
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(2,25,0)
    stop
  }
}

actor GoatStepDamage : ZombieStepDamage
{
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(3,20,0)
    stop
  }
}

actor FatStepDamage : ZombieStepDamage
{
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(4,42,0)
    stop
  }
}

actor ArachStepDamage : ZombieStepDamage
{
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(4,56,0)
    stop
  }
}

actor CyberStepDamage : ZombieStepDamage
{
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(25,34,0)
    stop
  }
}

actor SpiderStepDamage : ZombieStepDamage
{
  States
  {
  Spawn:
    TNT1 A 0
    TNT1 A 10 BRIGHT A_Explode(20,92,0)
    stop
  }
}

actor LastStandHP : Inventory
{
    inventory.amount 0
    inventory.maxamount 50
}

actor CyberXP : CustomInventory
{
  inventory.maxamount 9999
  +ALWAYSPICKUP
  States
  {
  Spawn:
    TNT1 A 5
    stop
  Pickup:
    TNT1 A 5 ACS_ExecuteAlways(613,0,random(20,25),1,0)
    stop
  }
}

actor CyberXP2 : CustomInventory
{
  inventory.maxamount 9999
  +ALWAYSPICKUP
  States
  {
  Spawn:
    TNT1 A 5
    stop
  Pickup:
    TNT1 A 5 ACS_ExecuteAlways(613,0,random(40,50),1,0)
    stop
  }
}

actor StealthZombieMan_Spawner : RandomSpawner replaces StealthZombieMan
{
  //+ISMONSTER
  DropItem "RGAZombie_2Stealth", 255, 3
  DropItem "RGAZombie_3Stealth", 255, 3
  DropItem "RGAZombie_4Stealth", 255, 2
  DropItem "RGAZombie_5Stealth", 255, 2
  DropItem "RGAZombie_6Stealth", 255, 2
  DropItem "DrDudeStealth", 255, 2
  DropItem "DrDude2Stealth", 255, 2
}

actor StealthChaingunGuy_Spawner : RandomSpawner replaces StealthChaingunGuy
{
  //+ISMONSTER
  DropItem "RGAChaingun_2Stealth", 255, 5
  DropItem "RGAChaingun_3Stealth", 255, 5
  DropItem "RGAChaingun_4Stealth", 255, 3
  DropItem "RGAChaingun_5Stealth", 255, 3
  DropItem "GrenadeGuy_2Stealth", 255, 3
}

actor StealthDoomImp_Spawner : RandomSpawner replaces StealthDoomImp
{
  //+ISMONSTER
  DropItem "DoomImp_2Stealth", 255, 13
  DropItem "DarkImp_2Stealth", 255, 8
  DropItem "ImpBoyStealth", 255, 6
}

actor StealthDemon_Spawner : RandomSpawner replaces StealthDemon
{
  //+ISMONSTER
  DropItem "Demon_2Stealth", 255, 9
  DropItem "BloodDemon_2Stealth", 255, 5
  DropItem "StoneDemonStealth", 255, 2
}

actor StealthCacodemon_Spawner : RandomSpawner replaces StealthCacodemon
{
  //+ISMONSTER
  DropItem "Cacodemon_2Stealth", 255, 17
  DropItem "Cacolantern_2Stealth", 255, 7
  DropItem "BlueCacodemonStealth", 255, 5
}

actor StealthRevenant_Spawner : RandomSpawner replaces StealthRevenant
{
  //+ISMONSTER
  DropItem "Revenant_2Stealth", 255, 18
  DropItem "GoldRevenantStealth", 255, 8
  DropItem "GreenRevenantStealth", 255, 3
  DropItem "GreenRevenant2Stealth", 255, 3
}

actor StealthHellKnight_Spawner : RandomSpawner replaces StealthHellKnight
{
  //+ISMONSTER
  DropItem "HellKnight_2Stealth", 255, 8
  DropItem "StoneKnightStealth", 255, 1
}

actor StealthBaron_Spawner : RandomSpawner replaces StealthBaron
{
  //+ISMONSTER
  DropItem "BaronOfHell_2Stealth", 255, 5
  DropItem "LordPurgStealth", 255, 2
  DropItem "MechbaronStealth", 255, 1
}

actor StealthFatso_Spawner : RandomSpawner replaces StealthFatso
{
  //+ISMONSTER
  DropItem "Fatso_2Stealth", 255, 36
  DropItem "Hectebus_2Stealth", 255, 19
  DropItem "AcubusStealth", 255, 9
}

actor StealthArachnotron_Spawner : RandomSpawner replaces StealthArachnotron
{
  //+ISMONSTER
  DropItem "Arachnotron_2Stealth", 255, 9
  DropItem "AugnotronStealth", 255, 3
}

actor StealthArchvile_Spawner : RandomSpawner replaces StealthArchvile
{
  //+ISMONSTER
  DropItem "Archvile_2Stealth", 255, 5
  DropItem "DeathvileStealth", 255, 2
}