ACTOR CrowM60 : DravenWeaponBase Replaces BFG9000
{

  	Weapon.AmmoType "Cell"
  	Weapon.AmmoGive 100
  	Weapon.AmmoUse 1
  	+WEAPON.NOALERT
  	+FloorClip
  	weapon.bobstyle inversesmooth
    weapon.bobspeed 2.0
  	weapon.bobrangex 0.75
  	weapon.bobrangey 0.75
  	Inventory.Pickupmessage "You got Top Dollar's M60!"
	inventory.pickupsound "misc/w_pkup"
	Obituary "%o was turned to swiss cheese by %k's M60 Gatling Gun. (Slot 7)"
	Weapon.UpSound "Weapon/switch"
	+WEAPON.NOAUTOAIM
	+FORCEXYBILLBOARD
	+weapon.noautoaim
	+weapon.noautofire
	Weapon.SelectionOrder 700
	Tag "M60 Gatling Machinegun"
	States
	{
	Ready:
		M60G A 1 A_WeaponReady(WRF_ALLOWZOOM|WRF_ALLOWRELOAD)
		Loop
	Fire:
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_AlertMonsters
		TNT1 A 0 A_SetPitch(pitch-1)
        TNT1 A 0 A_FireCustomMissile("RifleCaseSpawn",5,0,12,-14)
		TNT1 A 0 A_PlayWeaponSound("m60/fire")
		M60G B 1 Bright A_FireBullets(5,5,1,40,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		M60G DE 1
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_SetPitch(pitch-1)
        TNT1 A 0 A_FireCustomMissile("RifleCaseSpawn",5,0,12,-14)
		TNT1 A 0 A_PlayWeaponSound("m60/fire")
		M60G B 1 Bright A_FireBullets(5,5,1,40,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		M60G DE 1
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_SetPitch(pitch-1)
        TNT1 A 0 A_FireCustomMissile("RifleCaseSpawn",5,0,12,-14)
		TNT1 A 0 A_PlayWeaponSound("m60/fire")
		M60G B 1 Bright A_FireBullets(5,5,1,40,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		M60G DE 1
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_SetPitch(pitch-1)
        TNT1 A 0 A_FireCustomMissile("RifleCaseSpawn",5,0,12,-14)
		TNT1 A 0 A_PlayWeaponSound("m60/fire")
		M60G B 1 Bright A_FireBullets(5,5,1,40,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		M60G DE 1
		TNT1 A 0 A_Refire
		Goto Ready
    Flash:
        TNT1 A 0 A_AlertMonsters
        TNT1 A 0 A_ZoomFactor(0.98)
        TNT1 A 1
        TNT1 A 0 A_ZoomFactor(0.99)
        TNT1 A 1
        TNT1 A 0 A_ZoomFactor(1.0)
        Stop
	Select:
		M60G A 1 A_Raise
		M60G AA 0 A_Raise
		Loop
	Deselect:
		M60G A 1 A_Lower
		M60G AA 0 A_Lower
		Loop
	Spawn:
		M60G Z -1
		Loop
	KickFlash:
		M60G A 19
		stop
	}
}