mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-03 09:22:31 +00:00
a90ba9deb6
- Made the Ettin's and Centaur's howling sound an actor property. - Added A_CustomComboAttack function to finally have something that can replace the old A_ComboAttack function. - Added A_SpawnItemEx function that removes the problems with A_SpawnItem and which also should make most of the A_CustomMissile abuse unnecessary. - Added A_QueueCorpse to the list of DECORATE code pointers. - Made the size of Hexen's corpse queue configurable by CVAR (sv_corpsequeuesize.) Setting this CVAR to -1 will disable corpse queuing completely so that even in Hexen all corpses will stay forever. SVN r392 (trunk)
61 lines
1,007 B
Text
61 lines
1,007 B
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"
|
|
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 1400
|
|
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
|
|
}
|
|
}
|
|
|