Classes:ArtiInvulnerability2
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:
|
Icon of the Defender | |||
---|---|---|---|
Actor type | Artifact | Game | (Hexen) |
DoomEd Number | 84 | Class Name | ArtiInvulnerability2 |
Spawn ID | 133 | Identifier | T_ITEMINVULNERABILITY |
Classes: Inventory→PowerupGiver→ArtiInvulnerability2
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 actor property 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 { +COUNTITEM +FLOATBOB +INVENTORY.PICKUPFLASH Inventory.RespawnTics 4230 Inventory.Icon ARTIDEFN Inventory.PickupMessage "$TXT_ARTIINVULNERABILITY2" // "ICON OF THE DEFENDER" Powerup.Type Invulnerable Tag "$TAG_ARTIDEFENDER" States { Spawn: DEFN ABCD 3 Loop } }