Create monster that does not count in kills

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Create monster that does not count in kills

Re: Create monster that does not count in kills

by NaturalTvventy » Sat Nov 17, 2018 6:57 pm

Oh! That was easy. Thanks.

Re: Create monster that does not count in kills

by Graf Zahl » Sat Nov 17, 2018 1:13 pm

Furthermore, MAPINFO based editor numbers were done before ZDoom was discontinued.

Re: Create monster that does not count in kills

by Enjay » Sat Nov 17, 2018 12:06 pm

You can add the

Code: Select all

-COUNTKILL
line to the decorate of the monster concerned as TheMightyHeracross said (put it towards the end of the section where the other flags are) or, if you only want some of them not to count, you can inherit from the original one and only change the flag. e.g. this creates a zombieman that does not count towards the kill total and can be placed using edit number 1234*. So, only the ones specifically placed using a map editor and using number 1234 would not count, the standard zombieman would be unchanged.

Code: Select all

actor NJTestZombieman : Zombieman 1234
{
	-COUNTKILL
}
*In current GZDoom it's best to define editor numbers in MAPINFO but given that you are using ZDoom, that won't be an option.

The same actor can be used to auto-replace all zombiemen like this:

Code: Select all

actor NJTestZombieman : Zombieman replaces Zombieman
{
	-COUNTKILL
}
Depends exactly what you want to do really.

Re: Create monster that does not count in kills

by NaturalTvventy » Sat Nov 17, 2018 11:52 am

Thanks! I’m using ZDoom so no ZScript. How can it be done with decorate? Does the monster need to be created completely using decorate?

Thanks.

Re: Create monster that does not count in kills

by TheMightyHeracross » Wed Nov 14, 2018 9:16 pm

You don't use ACS for that, you use DECORATE or ZScript in the actor's definition. Simply unset the COUNTKILL flag, like so:

Code: Select all

-COUNTKILL

Create monster that does not count in kills

by NaturalTvventy » Wed Nov 14, 2018 8:16 pm

Hi all,

I'd like one of custom monsters to not count towards kills (because it's a machine). Think lost souls in the original DOOM2. Is there a way to do this with ACS?

Thanks.

Top