Kill dormant monster command

Moderator: GZDoom Developers

Post Reply
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Kill dormant monster command

Post by Pinky's ass »

If I type in console "kill monsters", all monsters are killed except the dormant ones. "Kill all monsters" could help.
User avatar
Enjay
 
 
Posts: 26953
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Kill dormant monster command

Post by Enjay »

The kill monsters command used to kill everything, regardless of whether they were dormant or not, way back in the dim, distant past. It was a deliberate decision to change it (although at the time I mitakenly reported it as a bug :) ). Personally, I generally found the old behaviour more useful, but I have had a use for the current one too. Both would be nice.


As a side issue, the -nomonsters flag means the level starts with no monsters (duh!) and it also prevents monsters being spawned if they are brought into the game using the old-style spawning methods. However, if spawnspot (etc) is used to spawn a monster, it doesn't prevent them appearing. I think that it probably should.
User avatar
MartinHowe
Posts: 2060
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Re: Kill dormant monster command

Post by MartinHowe »

You can kill dormant actors programmatically by using a very high damage amount to override dormancy, god mod, etc. In the original DOOM source the threshold was 10000 damage points; I generally use 1048576 to be absolutely sure the f**ker's dead :)

No idea if there's an equivalent console command; though, by the sound of it, there isn't :(
User avatar
Enjay
 
 
Posts: 26953
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Kill dormant monster command

Post by Enjay »

I only ever want it when testing a level and I need to kill all the monsters for whatever reason during play. Doing so used to kill everything on the level but now, as you walk through the level, you keep finding monsters waking up.

If I needed to script it, I'd just waken the monster before destroying it.

It's hardly the biggest issue on the planet though. :)
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Kill dormant monster command

Post by Pinky's ass »

Enjay wrote:If I needed to script it, I'd just waken the monster before destroying it.
Yeah, but doesn't work when I betatest my maps.
User avatar
Enjay
 
 
Posts: 26953
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Kill dormant monster command

Post by Enjay »

I know, which was what I was saying.

The comment you quoted was in response to Martin's suggestion as to how to do it with 1048576 damage points.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: Kill dormant monster command

Post by TheDarkArchon »

MartinHowe wrote: In the original DOOM source the threshold was 10000 damage points;
One zero too many there.
User avatar
Enjay
 
 
Posts: 26953
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Kill dormant monster command

Post by Enjay »

Could actors even be dormant in the original Doom source?
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Re: Kill dormant monster command

Post by Risen »

Enjay wrote:Could actors even be dormant in the original Doom source?
Dormancy was a Hexen addition.
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Kill dormant monster command

Post by Pinky's ass »

Enjay wrote:Could actors even be dormant in the original Doom source?
It's a bug.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Re: Kill dormant monster command

Post by Risen »

That's not dormancy.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: Kill dormant monster command

Post by Macil »

Yeah, it just prevents him from seeing the player - the sergeant in the glitch isn't any different than any enemy that hasn't been awaken yet.
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Kill dormant monster command

Post by Pinky's ass »

Risen wrote:That's not dormancy.
Something similar. :wink:
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: Kill dormant monster command

Post by Matt »

It's not even similar - one is an explicit "do not do these checks", the other is a miscalculation in line of sight.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”