Classes:Gauntlets

From ZDoom Wiki

Jump to: navigation, search
Gauntlets of the necromancer
Actor type Weapon Game
DoomEd Number 2005 Class Name Gauntlets
Spawn ID 32 Identifier T_GAUNTLETS

Classes: InventoryWeaponGauntlets

 →GauntletsPowered

In Heretic, these are gauntlets worn by the player which fire green lightning while the attack button is held. The lightning damages enemies within melee range of the player, much like Doom's chainsaw weapon. When used with the Tome of Power, the lightning color changes to red and deals more damage.


DECORATE definition

ACTOR Gauntlets : Weapon 2005
{
  Game Heretic
  SpawnID 32
  +BLOODSPLATTER
  Weapon.SelectionOrder 2300
  +WEAPON.WIMPY_WEAPON
  +WEAPON.MELEEWEAPON
  Weapon.Kickback 0
  Weapon.YAdjust 15
  Weapon.UpSound "weapons/gauntletsactivate"
  Weapon.SisterWeapon "GauntletsPowered"
  Inventory.PickupMessage "$TXT_WPNGAUNTLETS" // "GAUNTLETS OF THE NECROMANCER"

  action native A_GauntletAttack(int power);

  States
  {
  Spawn:
    WGNT A -1
    Stop
  Ready:
    GAUN A 1 A_WeaponReady
    Loop
  Deselect:
    GAUN A 1 A_Lower
    Loop
  Select:
    GAUN A 1 A_Raise
    Loop
  Fire:
    GAUN B 4 A_PlayWeaponSound("weapons/gauntletsuse")
    GAUN C 4
  Hold:
    GAUN DEF 4 BRIGHT A_GauntletAttack(0)
    GAUN C 4 A_ReFire
    GAUN B 4 A_Light0
    Goto Ready
  }
}
Personal tools