Jump to content
  • 0

Making monsters not count toward kill percentage...


Doom-X-Machina

Question

Hey all...

Is there a way to flag or tag a monster in a map so that it doesn't count toward the final kill percentage? Example: I'm using some monsters (imps etc.) and placing them inside glass cylinders in a science lab-style map. These monsters can't activate or move and are strictly decorative... but they also can't be killed so it's impossible to achieve 100% kills on the map. Is there a way around this?

Thankyou all.

Share this post


Link to post

8 answers to this question

Recommended Posts

  • 0

If you're targeting the GZDoom family you can use the SetActorFlag function to set the COUNTKILL flag of things to FALSE. If you're targeting vanilla/Boom there's no direct way to do it on a per thing basis, but before exiting the map you could trigger crushers inside the glass cylinders that kill the monsters.

Share this post


Link to post
  • 0
20 hours ago, boris said:

If you're targeting the GZDoom family you can use the SetActorFlag function to set the COUNTKILL flag of things to FALSE. If you're targeting vanilla/Boom there's no direct way to do it on a per thing basis, but before exiting the map you could trigger crushers inside the glass cylinders that kill the monsters.


Yeah GZDoom... would executing a ThingRemove script on all the monsters in question before exiting also work?

Share this post


Link to post
  • 0
9 minutes ago, Doom-X-Machina said:


Yeah GZDoom... would executing a ThingRemove script on all the monsters in question before exiting also work?

I don't know, why don't you try it out?

Share this post


Link to post
  • 0

You are using GZDoom so another way is to make a DECORATE lump with a customized imp which removes the COUNTKILL flag -- it will need a different editor ID number of course.

Share this post


Link to post
  • 0

Recently GZDoom gained a spawn flag to remove the COUNTKILL and COUNTITEM flags from a mobj. It's usable in UDMF, the flag's name is "nocount" (if it's not included in editor configs yet, use the "custom" tab to add it).

 

 

Share this post


Link to post
  • 0

If you're going Vanilla I'd make an extended exit and crush the monsters in the meantime. Maybe dropping into a long hallway with the exit at the end. While the player is headed for the exit the monsters get crushed so the player gets 100% kills. 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...