//Frenzy player..
ACTOR FrenzyPlayer : DoomPlayer
{
	Speed 1.0
	Health 100
	Radius 16
	Height 56
	//Mass 0x7fffffff //I'm sorry but i'm fucking tired of getting pushed around like crazy among hordes, specially Arch-Vile stampede
	damagefactor "MarineFire", 0.0
	damagefactor "MarineFire2", 0.0
	damagefactor "MarineFire3", 0.0667
	damagefactor "NoProfitKill", 0.0
	Species "Marines"
	PainChance 255
	Player.ColorRange 112, 127
	Player.DisplayName "Frenzy Player"
	Player.CrouchSprite "PLYC"
	Player.ViewHeight 46
	Player.StartItem "Beretta"
	Player.StartItem "Clip", 50
	Player.StartItem "Boomstick"
	Player.StartItem "Shell", 20
	Player.WeaponSlot 1, "Beretta", "Beretta_Dual", "Beretta_SMG", 	"Boomstick", "Boomstick_Full"		
	Player.WeaponSlot 2, "SSG", "SSG_Autoload", "SSG_Explosive", 
						"Quadshot", "Quadshot_Full", 
						"Buckshot", "Buckshot_Chamber", "Buckshot_Explosive", 
						"Spitter", "Spitter_SSG", "Spitter_GLauncher"
	Player.WeaponSlot 3, "Dualshot", "Dualshot_Razor", "Dualshot_FlakShells", 
						 "Repeater", "Repeater_DoubleSpeed", "Repeater_BlastShells", 
						 "Launcher", "Launcher_Multi", "Launcher_Exploder", 	
						 "Flinger", 	"Flinger_Expander", "Flinger_MinePlacer", 
						 "SF_Railgun", "Railgun_Taser", "Railgun_Slug", 
						 "PlasmaGun", "PlasmaGun_Advanced", "PlasmaGun_Spread"
	Player.WeaponSlot 4, "Flamer", 	"FlamerS", 	"BoomerCannon", "BFG", 	"BFG_Splash", "BFG_Overcharge"
	Player.WeaponSlot 5, "Supplier", "Supplier_Big", "Patcher", "Patcher_Advanced"
	
	//+NOSKIN
	+THRUSPECIES
	+USEDAMAGEEVENTSCRIPT
	States
	{
	Spawn:
		PLAY A -1
		goto Spawn
	See:
		PLAY ABCD 4 
		goto See
	Missile:
		PLAY E 12 
		Goto Spawn
	Melee:
		PLAY F 6 BRIGHT
		Goto Missile
	Pain:
		PLAY G 4 
		PLAY G 4 A_Pain
		Goto Spawn
	Death:
		TNT1 A 0 A_NoBlocking
		PLAY H 6 A_PlayerSkinCheck("AltSkinDeath")
		PLAY I 6 A_PlayerScream
		PLAY JK 6 
		PLAY L 6 A_NoBlocking
		PLAY M 6
		PLAY N 300
		PLAY N 5 A_FADEOUT(0.2)
		PLAY N 5 A_FADEOUT(0.2)
		PLAY N 5 A_FADEOUT(0.2)
		PLAY N 5 
		TNT1 A -1 //A_CheckPlayerDone
        stop
	XDeath:
		TNT1 A 0 A_PlayerSkinCheck("AltSkinXDeath")
		TNT1 A 0 A_NoBlocking
		PLAY O 5 
		TNT1 A 0 A_SpawnDebris("splatBlood_Eye")
    	TNT1 A 0 A_SpawnDebris("splatBlood_Spray")
   		TNT1 A 0 A_SpawnDebris("splatBlood_Rib")
   		TNT1 A 0 A_SpawnDebris("splatBlood_Spine")
		PLAY P 5 A_XScream
		PLAY Q 5 //A_SkullPop
		PLAY RSTUV 5
		PLAY W 300
		PLAY W 5 A_FADEOUT(0.2)
		PLAY W 5 A_FADEOUT(0.2)
		PLAY W 5 A_FADEOUT(0.2)
		PLAY w 5 
		TNT1 A -1 //A_CheckPlayerDone
        stop
	AltSkinDeath:
		TNT1 A 0 A_NoBlocking
		PLAY H 6
		PLAY I 6 A_PlayerScream
		PLAY JK 6
		PLAY L 6
		PLAY M 6
		PLAY N 300
		PLAY N 5 A_FADEOUT(0.2)
		PLAY N 5 A_FADEOUT(0.2)
		PLAY N 5 A_FADEOUT(0.2)
		PLAY N 5 
		TNT1 A -1 //A_CheckPlayerDone
        stop
	AltSkinXDeath:
		TNT1 A 0 A_NoBlocking
		PLAY O 5 
		TNT1 A 0 A_SpawnDebris("splatBlood_Eye")
    	TNT1 A 0 A_SpawnDebris("splatBlood_Spray")
   		TNT1 A 0 A_SpawnDebris("splatBlood_Rib")
   		TNT1 A 0 A_SpawnDebris("splatBlood_Spine")
		PLAY P 5 A_XScream
		PLAY Q 5 //A_SkullPop
		PLAY RSTUV 5
		PLAY W 300
		PLAY W 5 A_FADEOUT(0.2)
		PLAY W 5 A_FADEOUT(0.2)
		PLAY W 5 A_FADEOUT(0.2)
		PLAY W 5 
		TNT1 A -1 //A_CheckPlayerDone
        stop
	}
}

actor CommanderBlocker
{
	mass 999999999
	radius 16
	height 56
	
	+SOLID
	-SHOOTABLE
	
	states
	{
		Spawn:
		TNT1 A -1
		Goto Spawn
	}
}

actor DeploySpot : MapSpot{
	radius 8
	height 8
	states{
		Spawn:
			TNT1 A 0
			BAL1 A 1 A_Warp(AAPTR_DEFAULT, 0, 0, 0, 0, WARPF_NOCHECKPOSITION | WARPF_TOFLOOR)
		Loop
	}
}

actor DeployBlocker
{
	mass 999999999
	radius 32
	height 48
	
	
	+SOLID
	+FLOORHUGGER
	-SHOOTABLE
	
	
	states
	{
		Spawn:
		HEAD A -1
		stop
	}
}



ACTOR MarinePlasma_SF: ScriptedMarine replaces MarinePlasma
{
  Game Doom
  States
  {
  Missile:
    Goto Super::Missile.Plasma
  XDeath:
		PLAY H 0 A_XScream
		PLAY H 0 A_NoBlocking
		PLAY H 5
    		PLAY H 0 A_SpawnDebris("splatBlood_Eye")
    		PLAY H 0 A_SpawnDebris("splatBlood_Spray")
   		PLAY H 0 A_SpawnDebris("splatBlood_Rib")
   		PLAY H 0 A_SpawnDebris("splatBlood_Spine")
   		TNT1 A 1
            		Stop
  }
}
