Classes:Pod
Classes: Pod
A strange fungal growth, floating a few inches over the ground, which explodes when damaged too much. Like Doom's explosive barrels, chain reactions are possible. In places where a PodGenerator is present, new pods will appear spontaneously to replace exploded pods.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| Pod | |||
|---|---|---|---|
| Actor type | Hazard | Game | |
| DoomEd Number | 2035 | Class Name | Pod |
| Spawn ID | 125 | Identifier | T_POD |
DECORATE definition
ACTOR Pod
{
Health 45
Radius 16
Height 54
PainChance 255
+SOLID
+NOBLOOD
+SHOOTABLE
+DROPOFF
+WINDTHRUST
+PUSHABLE
+SLIDESONWALLS
+CANPASS
+TELESTOMP
+DONTMORPH
+NOBLOCKMONST
+DONTGIB
+OLDRADIUSDMG
DeathSound "world/podexplode"
PushFactor 0.5
action native A_PodPain(class<Actor> podtype = "PodGoo");
action native A_RemovePod();
States
{
Spawn:
PPOD A 10
Loop
Pain:
PPOD B 14 A_PodPain
Goto Spawn
Death:
PPOD C 5 Bright A_RemovePod
PPOD D 5 Bright A_Scream
PPOD E 5 Bright A_Explode
PPOD F 10 Bright
Stop
Grow:
PPOD IJKLMNOP 3
Goto Spawn
}
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.