• 0

Archvile resurrection conditions

Question

I'm trying to create an automated system for resurrecting monsters: dead monsters are fed via conveyer belts into the rooms they initially teleported into the map from. In these rooms are archviles, and in theory they should raise any corpses that wind up in front of them. The only problem is, no matter what I do, they refuse to do so. The only remote success I've had is to coax a free-roaming archvile towards me, which will occasionally resurrect dead monsters as it strides my way - but this would never normally occur during gameplay, as the dead monsters are at the farthest point away from the arena and can only be reached via noclip. And anyway, the archviles themselves must remain stationary so they can't escape and flood the map. I've tried boxing them in behind blocking lines, and standing them on raised platforms. I've tried them awake as well as deaf and inactive. I've given them more and less space to move in. Using additional conveyer belts I've tried to ensure dead monsters are never too close to the wall, and I even tried to increase their distance from the archies using more blocking lines. But in all cases the end result looks like this:

doom02.jpg

doom03.jpg

Share this post


Link to post

6 answers to this question

  • 1

OK. Before each step, Archvile checks the position one step in front of his current position under his current angle, and if a corpse overlaps that position and nothing physically blocks the corpse (including the Archvile's own body on his position before making the step), he resurrects it. If your Archviles have only enough room to move left and right, their angle will keep bouncing between directly left and directly right, and never steer to the side towards the corpses, so they will never check for corpses in that direction. Give them room to make steps into the direction where the corpses actually are.

Edited by scifista42

Share this post


Link to post
  • 0

Those corpses on the conveyor belt were actually once living monsters, they aren't the already-dead decorative-only corpses you can place in a map editor, right?

Share this post


Link to post
  • 0

No, they were all killed during the course of the level - that's the whole point.

Share this post


Link to post
  • 0

I know (or at least i'm pretty sure, if some threads about some similar topics I read last week are anything to go by) that on gzdoom if an enemy was killed then crushed it gets turned into a decorative corpse thing, which isnt resurrectable, so if you are testing on that port make sure that that isn't happening (there are ways to disable that but it is kind of complicated and not really worth it imo)

Share this post


Link to post
  • 0
9 hours ago, therektafire said:

I know (or at least i'm pretty sure, if some threads about some similar topics I read last week are anything to go by) that on gzdoom if an enemy was killed then crushed it gets turned into a decorative corpse thing, which isnt resurrectable, so if you are testing on that port make sure that that isn't happening (there are ways to disable that but it is kind of complicated and not really worth it imo)

OK, but I've been testing in Boom, as you can see from the screenshots I posted. And none of the monsters were crushed.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now