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.
Create monster that does not count in kills
Moderator: GZDoom Developers
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!)
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!)
-
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
- TheMightyHeracross
- Posts: 2100
- Joined: Sun Aug 18, 2013 9:41 am
- Location: Philadelphia, PA
Re: Create monster that does not count in kills
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
-
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
Re: Create monster that does not count in kills
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.
Thanks.
Re: Create monster that does not count in kills
You can add the
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.
*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:
Depends exactly what you want to do really.
Code: Select all
-COUNTKILL
Code: Select all
actor NJTestZombieman : Zombieman 1234
{
-COUNTKILL
}
The same actor can be used to auto-replace all zombiemen like this:
Code: Select all
actor NJTestZombieman : Zombieman replaces Zombieman
{
-COUNTKILL
}
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Create monster that does not count in kills
Furthermore, MAPINFO based editor numbers were done before ZDoom was discontinued.
-
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
Re: Create monster that does not count in kills
Oh! That was easy. Thanks.