Classes:BFG9000

From ZDoom Wiki

Jump to: navigation, search
BFG 9000
Actor type Weapon Game
DoomEd Number 2006 Class Name BFG9000
Spawn ID 31 Identifier T_BFG

Classes: InventoryWeaponDoomWeaponBFG9000


The BFG9000 is the deadliest and strongest weapon available in Doom. The weapon itself has a few effects not found in other weapons, such as the 40 hitscan tracers that fire out when the weapon hits a target, each doing 100 damage (cumulative with the damage from the projectile) to anything in the way. It uses 40 cell ammo per shot to function.


DECORATE definition

actor BFG9000 : DoomWeapon 2006
{
  Game Doom
  Height 20
  SpawnID 31
  Weapon.SelectionOrder 2800
  Weapon.AmmoUse 40
  Weapon.AmmoGive 40
  Weapon.AmmoType "Cell"
  +WEAPON.NOAUTOFIRE
  Inventory.PickupMessage "$GOTBFG9000" // "You got the BFG9000!  Oh, yes."
  States
  {
  Ready:
    BFGG A 1 A_WeaponReady
    loop
  Deselect:
    BFGG A 1 A_Lower
    loop
  Select:
    BFGG A 1 A_Raise
    loop
  Fire:
    BFGG A 20 A_BFGSound
    BFGG B 10 A_GunFlash
    BFGG B 10 A_FireBFG
    BFGG B 20 A_ReFire
    goto Ready
  Flash:
    BFGF A 11 bright A_Light1
    BFGF B 6 bright A_Light2
    Goto LightDone
  Spawn:
    BFUG A -1
    stop
  }
}
Personal tools