Classes:ArtiInvulnerability2

From ZDoom Wiki

Jump to: navigation, search
Icon of the Defender
Actor type Artifact Game
DoomEd Number 84 Class Name ArtiInvulnerability2
Spawn ID 133 Identifier T_ITEMINVULNERABILITY

Classes: InventoryPowerupGiverArtiInvulnerability2

The Icon appears as a large gray chess rook surrounded by a purple halo. It is the equivalent of the ring of invincibility from Heretic. In Hexen.wad, the sprites are actually named ARTIINVU and INVUA0 to INVUD0 and are renamed at load-time by ZDoom.

The differences in behavior for Baratus the Fighter, Parias the Cleric and Daedolon the Mage are handled by the player class's Player.InvulnerabilityMode feature rather than by the item itself.

  • For Baratus: A rotating icon of a chess rook in the top right corner appears as long as the player is invulnerable, flickering in the last few seconds.
  • For Parias: As for Baratus, but in addition the player will phase in and out of ghost mode throughout the duration.
  • For Daedolon: As for Baratus, but in addition the player will reflect incoming projectiles.

DECORATE definition

actor ArtiInvulnerability2 : PowerupGiver 84
{
  Game Hexen
  SpawnID 133
  +COUNTITEM
  +FLOATBOB
  +INVENTORY.PICKUPFLASH
  Inventory.RespawnTics 4230
  Inventory.Icon ARTIDEFN
  Inventory.PickupMessage "$TXT_ARTIINVULNERABILITY2" // "ICON OF THE DEFENDER"
  Powerup.Type Invulnerable
  States
  {
  Spawn:
    DEFN ABCD 3
    Loop
  }
}
Personal tools