Classes:MeshArmor

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.
Mesh armor
Actor type Armor Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 8005 Class Name MeshArmor
Spawn ID 68 Identifier T_MESHARMOR


Classes: InventoryArmorHexenArmorMeshArmor

The Mesh Armor looks like a traditional chainmail cuirass, with a leather belt and plate pauldrons.

It increases a Hexen player class's Armor Class by a certain amount:

  • +5 for Baratus the Fighter
  • +2 for Parias the Cleric
  • +1 for Daedolon the Mage

In Hexen, it is designed to be used with the Amulet of Warding, Falcon Shield and Platinum Helm, but if imported in another game only one piece of Hexen Armor can be used at a time.

In Hexen.wad, the sprite is actually named ARM1A0 and is renamed at load-time by ZDoom.

DECORATE definition

ACTOR MeshArmor : HexenArmor
{
  +NOGRAVITY
  Health 0 // Armor class
  Inventory.Amount 0
  Inventory.PickupMessage "$TXT_ARMOR1" // "MESH ARMOR"
  States
  {
  Spawn:
    AR_1 A -1
    Stop
  }
}

Related Classes

ArtiBoostArmor, called in-game the Dragonskin Bracers, enhance a character's Hexen Armor class.