File
- Defined in \monsters\Demons.txt
Flags
Properties
//$category | Monsters |
activesound | "demon/active" |
attacksound | "demon/melee" |
bloodtype | "BdBleed", "BdBleed", "BdBleedSaw" |
damagefactor | "Crush" 10.0 "Flak" 5.0 |
damagetype | Eat |
deathsound | "demon/death" |
fastspeed | 12 |
game | Doom |
gibhealth | 35 |
health | 200 |
height | 56 |
mass | 400 |
maxdropoffheight | 32 |
maxstepheight | 32 |
obituary | "%o was dispatched by a Demon." |
painchance | 200"Kick", 255 |
painsound | "demon/pain" |
radius | 22 |
scale | 1.1 |
seesound | "demon/sight" |
species | Demon |
speed | 12 |
States
Spawn:
SARG YZ 10 A_Look
Loop
SearchPlayer:
Idle:
SARG YZ 10 A_Look
TNT1 A 0 A_SetAngle(angle - 40)
SARG YZ 10 A_Look
TNT1 A 0 A_SetAngle(angle + 40)
SARG YZ 10 A_Look
Wander:
TNT1 AA 0 A_Wander
SARG A 2 A_Look
TNT1 AA 0 A_Wander
SARG A 2 A_Look
TNT1 AA 0 A_Wander
SARG B 2 A_Look
TNT1 AA 0 A_Wander
SARG B 2 A_Look
SARG CC 0 A_Wander
SARG C 2 A_Look
SARG CC 0 A_Wander
SARG C 2 A_Look
SARG DD 0 A_Wander
SARG D 2 A_Look
SARG DD 0 A_Wander
SARG D 2 A_Look
TNT1 A 0 A_Jump(128, "SearchPlayer")
Loop
See:
TNT1 A 0
SARG AA 2 A_Chase
TNT1 A 0 A_Recoil(-1)
SARG BB 2 A_Chase
SARG CC 2 A_Chase
SARG DD 2 A_Chase
Loop
Melee:
TNT1 A 0
SARG E 6 A_FaceTarget
SARG F 6 A_FaceTarget
TNT1 A 0 A_CustomMissile("DemonAttack",40,0,0,0)
SARG G 12 A_CustomMissile("DemonAttack",5,0,0,0)
TNT1 A 0 A_Jump(256, "See")
Pain:
SARG H 2
SARG H 2 A_Pain
TNT1 A 0 A_Jump(256, "See")
Pain.Shotgun:
TNT1 A 0 A_Pain
TNT1 A 0
TNT1 A 0 A_FaceTarget
TNT1 A 0 A_Recoil (2)
SARG H 2
SARG H 2
TNT1 A 0 A_Jump(256, "See")
Pain.Kick:
Pain.SuperKick:
TNT1 A 0 A_Pain
TNT1 A 0
TNT1 A 0 A_FaceTarget
TNT1 A 0 A_Recoil (5)
DEMP B 4
DEMP B 4
TNT1 A 0 A_Jump(256, "See")
Death:
Death.Bullet:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_Jump(256, "DieNormal", "DieNormal2")
Death.Kick:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_Jump(256, "DieNormal", "DieNormal2")
Death.SuperKick:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_Jump(256, "DieJustLegs", "DieX", "DieAlmostAllOff", "DieHeadOff", "DieSplit")
Death.Shotgun:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
AlternativeExplosionDeath:
TNT1 A 0 A_Jump(256, "DieNormal", "DieNormal2", "DieArmOff")
Death.RapidFire:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_Jump(256, "DieSplit", "DieArmOff", "DieAlmostAllOff", "DieJustLegs")
Death.Explosive:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_JumpIf(health > -10, "AlternativeExplosionDeath")
TNT1 A 0 A_Jump(256, "DieX")
Death.Plasma:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_Jump(256, "DiePlasma")
Death.Flak:
TNT1 A 0 A_ChangeFLag("NODROPOFF", 0)
TNT1 A 0 A_Scream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_Jump(256, "DieSplit", "DieHeadOff", "DieAlmostAllOff", "DieJustLegs", "DieX")
XDeath:
TNT1 A 0 A_XScream
TNT1 A 0 A_NoBlocking
TNT1 A 0 A_FaceTarget
TNT1 A 0 A_Jump(256, "DieX")
DieNormal:
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
S2RG IJKLMN 4 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
S2RG N -1
DieNormal2:
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
SARG IJKLMN 4 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
SARG N -1
DieSplit:
TNT1 A 0 A_CustomMissile ("BdGibDemonHead1", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonHead2", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAA 0 A_CustomMissile ("BdGibGut", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLumpBone", 35, 0, random (0, 360), 2, random (10, 160))
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
SARG PQRST 4 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
SARG T -1
DieHeadOff:
TNT1 AAAA 0 A_CustomMissile ("BdBloodLumpBone", 35, 0, random (0, 360), 2, random (10, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonHead1", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonHead2", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
SARH ABCD 6 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
SARH D -1
DieArmOff:
TNT1 A 0 A_CustomMissile ("BdGibDemonArm", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_Jump(64, "ArmOff") //Quarter of a chance to survive!
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
SAAR ABCDEF 6 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
SAAR F -1
DieAlmostAllOff:
TNT1 A 0 A_CustomMissile ("BdGibDemonHead1", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonHead2", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonArm", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAAA 0 A_CustomMissile ("BdGibGut", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAAAA 0 A_CustomMissile ("BdBloodLumpBone", 35, 0, random (0, 360), 2, random (10, 160))
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
SAAR GHI 6 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
SAAR I -1
DieJustLegs:
TNT1 A 0 A_CustomMissile ("BdGibDemonTopHalf", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAAAA 0 A_CustomMissile ("BdGibGut", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAAAAAA 0 A_CustomMissile ("BdBloodLumpBone", 35, 0, random (0, 360), 2, random (10, 160))
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerMed", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
SARC ABCD 6 A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40))
SARC D -1
DiePlasma:
SPRG A 5
TNT1 AAAAAAAAAAAAAAAAAAAAAAA 0 {
A_CustomMissile ("BdAshes", 32, 0, random (0, 360), 2, random (0, 180));
A_CustomMissile ("BdAshesHeavy", 32, 0, random (0, 360), 2, random (0, 180));
}
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerLarge", 35, 0, random (0, 360), 2, random (0, 160))
SPRG BBBBB 1 {
A_SpawnItemEx("BdPlasmaEvaporate", random(0 - radius/2, radius/2), random(0 - radius/2, radius/2), 35);
A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40));
}
SPRG CDEF 6 {
A_CustomMissile ("Blood", 10, 0, random (0, 360), 2, random (0, 160));
A_CustomMissile ("BdBloodDrop", 15, 0, random (0, 360), 2, random (0, 40));
}
TNT1 A 0 A_SpawnItem ("BdBloodPool")
SPRG FFFFFFFFFFFFFFFFFFFFFFFFF 8 {
A_CustomMissile ("MiniSmoke", 10, 0, random (0, 360), 2, random (0, 160));
A_SpawnItemEx("BdPlasmaEvaporate", random(0 - radius/2, radius/2), random(0 - radius/2, radius/2), 8);
}
SPRG F -1
DieX:
TNT1 A 0 A_CustomMissile ("BdBloodSpawnerLarge", 35, 0, random (0, 360), 2, random (0, 160))
TNT1 AAAAAAA 0 A_CustomMissile ("BdBloodLump", 35, 0, random (0, 360), 2, random(45, 80))
TNT1 AAAAAAAA 0 A_CustomMissile ("BdBloodLumpBone", 42, 0, random (0, 360), 2, random (10, 160))
TNT1 A 0 A_CustomMissile ("BdGibZombieRibcage", 42, 0, random (0, 360), 2, random (10, 160))
TNT1 AA 0 A_CustomMissile ("BdGibDemonArm", 48, 0, random (0, 360), 2, random (0, 160))
TNT1 AA 0 A_CustomMissile ("BdGibDemonLeg", 48, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonHead1", 48, 0, random (0, 360), 2, random (0, 160))
TNT1 A 0 A_CustomMissile ("BdGibDemonHead2", 48, 0, random (0, 360), 2, random (0, 160))
TNT1 A 1 //1-tic delay required after XDeath
Stop
ArmOff:
TNT1 A 0 A_SpawnItemEx ("ArmlessDemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
TNT1 A 1
Stop
Raise:
SARG NMLKJI 6
Goto See