Classes:BFG10kShot

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
BFG 10000 puff
Actor type Explosive Game MiniSkulltagLogoIcon.png (Skulltag)
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
  }
}