Classes:SkullRod

From ZDoom Wiki

Jump to: navigation, search
Hellstaff
Actor type Weapon Game
DoomEd Number 2004 Class Name SkullRod
Spawn ID 30 Identifier T_SKULLROD

Classes: InventoryWeaponHereticWeaponSkullRod

 →SkullRodPowered

The hellstaff is a rapid-fire weapon throwing a stream of red projectiles.

DECORATE definition

ACTOR SkullRod : HereticWeapon 2004
{
  Game Heretic
  SpawnID 30
  Weapon.SelectionOrder 200
  Weapon.AmmoUse1 1
  Weapon.AmmoGive1 50
  Weapon.YAdjust 15
  Weapon.AmmoType1 "SkullRodAmmo"
  Weapon.SisterWeapon "SkullRodPowered"
  Inventory.PickupMessage "$TXT_WPNSKULLROD" // "HELLSTAFF"

  action native A_FireSkullRodPL1();

  States
  {
  Spawn:
    WSKL A -1
    Stop
  Ready:
    HROD A 1 A_WeaponReady
    Loop
  Deselect:
    HROD A 1 A_Lower
    Loop
  Select:
    HROD A 1 A_Raise
    Loop
  Fire:
    HROD AB 4 A_FireSkullRodPL1
    HROD B 0 A_ReFire
    Goto Ready
  }
}
Personal tools