Classes:ArtiTeleport

From ZDoom Wiki

Jump to: navigation, search
Darchala's Chaos Device
Actor type Artifact Game
DoomEd Number 36 Class Name ArtiTeleport
Spawn ID 18 Identifier T_ITEMTELEPORT

Classes: InventoryArtiTeleport


The Chaos Device is a magic artifact that enters the player's inventory when picked up and, when activated, gives the player an "emergency escape" from dangerous situations and unmorphs them if they are currently morphed.


Using in DECORATE

When this (or inherited) actor is used it teleports the activator to one of the player starts. It also cancels player morph and plays the sound "*evillaugh" (if defined).


DECORATE definition

actor ArtiTeleport : Inventory 36
{
  Game Raven
  SpawnID 18
  +COUNTITEM
  +FLOATBOB
  +INVENTORY.INVBAR
  +INVENTORY.PICKUPFLASH
  +INVENTORY.FANCYPICKUPSOUND
  Inventory.Icon "ARTIATLP"
  Inventory.PickupSound "misc/p_pkup"
  Inventory.PickupMessage // "CHAOS DEVICE"
  States
  {
  Spawn:
    ATLP ABCB 4
    Loop
  }
}

Notes

The "*evillaugh" sound is now recognised in any game (development version only); previously it could be defined, but was only fully recognised by Heretic.

Personal tools