Classes:BFG10kShot

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
BFG 10000 puff
Actor type Explosive Game MiniSkulltagLogoIcon.png
DoomEd Number None Class Name BFG10kShot
Spawn ID 217 Identifier T_BFG10KSHOT
Center Warning: This class is a Skulltag-specific actor that is not included in ZDoom!


Classes: BFG10kShot

Hitscan blast from the BFG10K, with a high amount of splash damage.

DECORATE definition

ACTOR BFG10kShot
{
  SpawnID 217
  Radius 11
  Height 8
  Speed 20
  Damage 160
  DamageType BFG10k
  +NOBLOCKMAP
  +NOGRAVITY
  +ACTIVATEIMPACT
  +ACTIVATEPCROSS
  +NOTELEPORT 
  +PUFFONACTORS
  +PUFFGETSOWNER
  +FORCERADIUSDMG
  Renderstyle Add
  Alpha 0.75
  SeeSound "weapons/bfg10kx"
  AttackSound "weapons/bfg10kx"
  Obituary "$OB_BFG10K" // "%o was blasted by %k's BFG10K."
  States
  {
  Spawn:
    BFE1 A 0 Bright
    BFE1 A 3 Bright A_Detonate
    BFE1 BCDEF 3 Bright
    Stop
  }
}