Monsters can't go through dead bodies

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
rico345
Posts: 193
Joined: Mon Sep 08, 2008 5:24 am
Location: Gimhae City, Republic Of Korea

Monsters can't go through dead bodies

Post by rico345 »

Monsters can't come to me cuz corpse obstruct monsters. It mean Monsters can't pass Dead bodies!
But I remember that monsters can pass corpse in Doom Series (orig).
How to Fix it?
Julius Clonkus
Posts: 19
Joined: Fri Dec 26, 2008 6:38 am

Re: Monsters can't go through dead bodies

Post by Julius Clonkus »

I'd suggest checking the compatibility flags first. I only have the Movement Interpolation switched on, and they pass corpses.

Otherwise, if the monsters are custom ones, and the monster corpses as well, I'll need more information about them (Do the Monster Corpses have height? Are they blocking movement in their height and radius? Are the corpses piled up?). It could simply be more of a climb for the monsters than their maxstepheight allows.

Hope I could help :)
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house
Contact:

Re: Monsters can't go through dead bodies

Post by Remmirath »

Depends. Are you talking about monsters defined by yourself in Decorate? If so, in the death state you have to put A_NoBlocking.
rico345
Posts: 193
Joined: Mon Sep 08, 2008 5:24 am
Location: Gimhae City, Republic Of Korea

Re: Monsters can't go through dead bodies

Post by rico345 »

actor zombietest_01
{
+FLOORCLIP
mass 1000
height 80
Radius 25
health 150
Scale 0.2925
hitobituary "Zombie killed %o"
speed 20
meleedamage 10
MONSTER
PainChance 255

States
{
Spawn :
VAR1 A 1 A_Look
loop
See :
VAR1 A 0 A_JumpIfHealthLower(30, "LowSee")
VAR1 ABCD 8 A_Chase
loop
LowSee :
VAR1 ABCD 16 A_Chase
VAR1 A 4 A_Stop
goto See
Melee :
VAR1 EE 4 A_FaceTarget
VAR1 E 4 A_MeleeAttack
goto See
Pain :
VAR1 G 1
goto See
Death :
VAR1 HIJKLM 1
VAR1 N -1
Stop
}
}
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: Monsters can't go through dead bodies

Post by CaptainToenail »

You need
A_NoBlocking
in the death state
rico345
Posts: 193
Joined: Mon Sep 08, 2008 5:24 am
Location: Gimhae City, Republic Of Korea

Re: Monsters can't go through dead bodies

Post by rico345 »

Thanks!
Now ugly zombies coming to kill me :)
Locked

Return to “Editing (Archive)”