ACTOR UACMarineVulcan : Weapon
{
   Weapon.SelectionOrder 700
   Weapon.AmmoUse 1
   Weapon.AmmoGive 40
   Weapon.AmmoType "Clip"
   Inventory.PickupMessage "$GOTCHAINGUN" // "You got the chaingun"
   Obituary "$OB_MPCHAINGUN" // "%o was mowed down by %k's chaingun."
   Tag "30 Vulcanette"
   Inventory.RestrictedTo "UACMarineClass"
   States
   {
   Ready:
  TNT1 A 0 A_PLAYWEAPONSOUND("CHAINGET")
    CHGG A 1 OFFSET(9,128)
	CHGG B 1 OFFSET(7,96)
	CHGG A 1 OFFSET(5,72)
	CHGG B 1 OFFSET(3,48)
	CHGG A 1 OFFSET(1,36)
    GOTO READY2
	Ready2:
   CHGG A 1 A_WeaponReady
    Loop
  Deselect:
    CHGG AA 0 A_Lower
	CHGG A 1 A_Lower
    Loop
  Select:
    CHGG AA 0 A_Raise
	CHGG A 0 A_Raise
    Loop
   Fire:
   CHGG A 1 OFFSET(0,34)
   TNT1 A 0 A_PLAYWEAPONSOUND("DSCHNFIR")
   CHGF A 1 OFFSET(0,38) BRIGHT A_FireBullets(5.2,1,1,5,"SKIPPUFF")
   CHGF A 1 OFFSET(0,37) BRIGHT
   CHGG B 1 OFFSET(0,34)
   TNT1 A 0 A_PLAYWEAPONSOUND("DSCHNFIR")
   CHGF B 1 OFFSET(0,38) BRIGHT A_FireBullets(5.2,1,1,5,"SKIPPUFF")
   CHGF B 1 OFFSET(0,37) BRIGHT
   CHGG A 1 OFFSET(0,34)
   CHGG A 0 A_REFIRE
   TNT1 A 0 A_PLAYWEAPONSOUND("DSDOWN")
   CHGG B 1 OFFSET(0,34)
   CHGG A 1 OFFSET(0,33)
   CHGG B 1 OFFSET(0,32)
   CHGG A 4 OFFSET(0,32)
     Goto Ready2

   Spawn:
     MGUN A -1
     Stop
   }
}