From ZDoom Wiki
Jump to navigation Jump to search
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 will 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.
Actor type Breakable Game MiniStrifeLogoIcon.png (Strife)
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
  Health 50
  Speed 14
  Radius 20
  Height 16
  Mass 99999999
  DeathSound "misc/explosion"
  ActiveSound "misc/reactor"

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

    CRYS A 16 A_LoopActiveSound
    CRYS B 5 A_LoopActiveSound
    CRYS CDEF 4 A_LoopActiveSound
    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