mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 21:11:52 +00:00
a2cfbec3cf
- fixed memory leaks in SBARINFO and WAD loading code. - added GetBloodColor and GetBloodType inline functions to AActor to wrap the GetMeta calls used for this. SVN r2234 (trunk)
62 lines
1 KiB
Text
62 lines
1 KiB
Text
|
|
// Zombie -------------------------------------------------------------------
|
|
|
|
ACTOR Zombie : StrifeHumanoid 169
|
|
{
|
|
Game Strife
|
|
Health 31
|
|
Radius 20
|
|
Height 56
|
|
PainChance 0
|
|
+SOLID
|
|
+SHOOTABLE
|
|
+FLOORCLIP
|
|
+CANPASS
|
|
+CANPUSHWALLS
|
|
+ACTIVATEMCROSS
|
|
MinMissileChance 150
|
|
MaxStepHeight 16
|
|
MaxDropOffHeight 32
|
|
Translation 0
|
|
ConversationID 28, -1, -1
|
|
DeathSound "zombie/death"
|
|
CrushPainSound "misc/pcrush"
|
|
States
|
|
{
|
|
Spawn:
|
|
PEAS A 5 A_CheckTerrain
|
|
Loop
|
|
Pain:
|
|
AGRD A 5 A_CheckTerrain
|
|
Loop
|
|
Death:
|
|
GIBS M 5 A_TossGib
|
|
GIBS N 5 A_XScream
|
|
GIBS O 5 A_NoBlocking
|
|
GIBS PQRST 4 A_TossGib
|
|
GIBS U 5
|
|
GIBS V -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
// Zombie Spawner -----------------------------------------------------------
|
|
|
|
ACTOR ZombieSpawner 170
|
|
{
|
|
Game Strife
|
|
Health 20
|
|
+SHOOTABLE
|
|
+NOSECTOR
|
|
RenderStyle None
|
|
ConversationID 30, -1, -1
|
|
ActiveSound "zombie/spawner" // Does Strife use this somewhere else?
|
|
States
|
|
{
|
|
Spawn:
|
|
TNT1 A 175 A_SpawnItemEx("Zombie")
|
|
Loop
|
|
}
|
|
}
|
|
|