Classes:PowerCrystal

From ZDoom Wiki

Jump to: navigation, search
PowerCrystal
Actor type Breakable Game
DoomEd Number 92 Class Name PowerCrystal
Conversation ID 201 Puzzle Item ID N/A

Classes: PowerCrystal

This actor needs a description.

DECORATE definition

ACTOR PowerCrystal 92
{
  Game Strife
  ConversationID 201,-1,-1
  Health 50
  Speed 14
  Radius 20
  Height 16
  Mass 99999999
  +SOLID
  +SHOOTABLE
  +NOGRAVITY
  +NOBLOOD
  +FLOORCLIP
  DeathSound "misc/explosion"
  ActiveSound "misc/reactor"

  action native A_ExtraLightOff();
  action native A_Explode512();
  action native A_LightGoesOut();

  States
  {
  Spawn:
    CRYS A 16 A_LoopActiveSound
    CRYS B 5 A_LoopActiveSound
    CRYS CDEF 4 A_LoopActiveSound
    Loop
  Death:
    BOOM A 0 Bright A_Scream
    BOOM A 1 Bright A_Explode512
    BOOM B 3 Bright A_GiveQuestItem(14)
    BOOM C 2 Bright A_LightGoesOut
    BOOM D 3 Bright A_Bang4Cloud
    BOOM EF 3 Bright
    BOOM G 3 Bright A_Bang4Cloud
    BOOM H 1 Bright A_Explode512
    BOOM I 3 Bright
    BOOM JKL 3 Bright A_Bang4Cloud
    BOOM MN 3 Bright
    BOOM O 3 Bright A_Bang4Cloud
    BOOM PQRST 3 Bright
    BOOM U 3 Bright A_ExtraLightOff
    BOOM VWXY 3 Bright
    Stop
  }
}
Personal tools