Classes:ArtiPoisonBag
From ZDoom Wiki
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| Fléchette | |||
|---|---|---|---|
| Actor type | Artifact | Game | |
| DoomEd Number | 8000 | Class Name | ArtiPoisonBag |
| Spawn ID | 72 | Identifier | T_ITEMFLECHETTE |
Classes: Inventory→ArtiPoisonBag
→ArtiPoisonBag1
→ArtiPoisonBag2
→ArtiPoisonBag3
→ArtiPoisonBagGiver (development version r3379+ only)
→ArtiPoisonBagShooter (development version r3379+ only)
A collectible vial of green liquid which acts as a versatile support weapon for the player characters of Hexen. The item's subclasses provide the differing behaviours for the three Hexen player classes. The correct subclass is placed in the player's inventory when the item is picked up, based on the class of the player.
- Note: Because this item itself is never actually placed in the player's inventory but replaced by one of its three subclasses, it cannot be activated by the use artipoisonbag console command. A special useflechette command is provided instead, which activates the correct type of ArtiPoisonBag depending on the player's class.
DECORATE definition
ACTOR ArtiPoisonBag : Inventory 8000 native { Game Hexen SpawnID 72 +FLOATBOB +INVBAR +FANCYPICKUPSOUND Inventory.DefMaxAmount Inventory.PickupFlash "PickupFlash" Inventory.Icon "ARTIPSBG" Inventory.PickupSound "misc/p_pkup" Inventory.PickupMessage "$TXT_ARTIPOISONBAG" // "FLECHETTE" States { Spawn: PSBG A -1 Stop } }