Classes:PowerCrystal
		
		
		
		Jump to navigation
		Jump to search
		
| Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why: 
 | 
| PowerCrystal | |||
|---|---|---|---|
| Actor type | Breakable | Game |  (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
  +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
  }
}