Code: Select all
actor Lakitu 10003
{
health 50
painchance 256
speed 32
floatspeed 73
radius 32
height 48
mass 0
MONSTER
+FLOAT
+NOGRAVITY
+NOLIFTDROP
+NOBLOCKMONST
+SPAWNFLOAT
+SYNCHRONIZED
+FASTER
states
{
Spawn:
LAKI A 1 A_Look
loop
See:
LAKI A 1 A_FastChase
loop
Missile:
LAKI B 22 A_FastChase
LAKI A 1 A_FastChase
LAKI A 6 A_ThrowGrenade (SpinyEgg, 0, 55, 0)
goto See
Pain:
LAKI B 6
LAKI B 6 A_Pain
goto See
Death:
LAKI C 10 A_Scream
LAKI D 10 A_NoBlocking
LAKI EFGH 10
LAKI I -1
stop
}
}
actor SpinyEgg
{
Speed 1
radius 28
height 32
PROJECTILE
-NOGRAVITY
states
{
Spawn:
SEGG AB 9
loop
Death:
TNT1 A 0 A_SpawnItem (Spiny, 0, 0, 0)
stop
}
}
actor Spiny
{
speed 3
radius 32
height 30
mass 80
damage 20
painchance 0
health 100
MONSTER
+SYNCHRONIZED
+FASTER
states
{
Spawn:
STRL A 1 A_Look
loop
See:
STRL AB 8 A_Chase
loop
Missile:
SEGG AB 10 ThrustThingZ (0, 36, 0, 0)
SEGG ABABABABABABAB 7 A_FaceTarget
SEGG ABABABABABABABABABAB 8 A_SkullAttack
STRL AAAAAAA 3
goto See
Death:
EXLD A 7 bright A_Explode (3, 16, 0)
EXLD B 7 bright A_Explode (6, 26, 0)
EXLD D 7 bright A_Explode (12, 32, 0)
TNT1 A -1
stop
}
}
I can't figure out what causes these fast crashes (they give a very fatal error or just shuts down ZDoom), so I can't tweak it to cause less crashes.
Also, anyone know where to find some monster sounds?