Classes:ArtiPoisonBag


Classes: InventoryArtiPoisonBag
ArtiPoisonBag1
ArtiPoisonBag2
ArtiPoisonBag3
ArtiPoisonBagGiver
ArtiPoisonBagShooter

Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Fléchette
Actor type Artifact Game
DoomEd Number 8000 Class Name ArtiPoisonBag
Spawn ID 72 Identifier T_ITEMFLECHETTE

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 player class's Player.FlechetteType property.

  • Note: Because this item itself is never actually placed in the player's inventory but replaced by one of its 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 native
{
  +FLOATBOB
  Inventory.DefMaxAmount
  Inventory.PickupFlash "PickupFlash"
  +INVBAR
  +FANCYPICKUPSOUND
  Inventory.Icon "ARTIPSBG"
  Inventory.PickupSound "misc/p_pkup"
  Inventory.PickupMessage "$TXT_ARTIPOISONBAG" // "FLECHETTE"
  Tag "$TAG_ARTIPOISONBAG"
  States
  {
  Spawn:
    PSBG A -1
    Stop
  }
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.