Classes:ArtiInvulnerability2
Classes: Inventory→PowerupGiver→ArtiInvulnerability2
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Icon of the Defender | |||
---|---|---|---|
Actor type | Artifact | Game | ![]() |
DoomEd Number | 84 | Class Name | ArtiInvulnerability2 |
Spawn ID | 133 | Identifier | T_ITEMINVULNERABILITY |
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 } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.