Classes:PowerCrystal
Classes: PowerCrystal
This actor needs a description.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| PowerCrystal | |||
|---|---|---|---|
| Actor type | Breakable | Game | |
| DoomEd Number | 92 | Class Name | PowerCrystal |
| Conversation ID | 201 | Puzzle Item ID | N/A |
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
}
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.