ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Monsters switching target to players without being hurt

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Rejected Bugs
View previous topic :: View next topic  
Author Message
Keyboard_Doomer
Dominating!


Joined: 11 Jan 2015

PostPosted: Mon Oct 25, 2021 8:40 am    Post subject: Monsters switching target to players without being hurt Reply with quote

Behavior in vanilla, Boom, (G)ZDoom and MBF21:
If a monster is targeting a monster/player that hurt it, it can't switch targets until either its original target is dead or it's hurt by a different monster/player.

Current behavior in ZDaemon:
The monster switches target after a certain threshold passed, with its original target still alive and without ever being hurt by another monster/player.
The default behavior in MBF is similar but it is generally considered bad and it was one of the incentives that prompted the creation of the new MBF21 standard.

test wad (the zip includes a vanilla-compatible and a Boom-compatible demo to demonstrate the behavior in vanilla/Boom)
Back to top
View user's profile Send private message
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Mon Oct 25, 2021 7:56 pm    Post subject: Reply with quote

In vanilla Doom there is a difference between singleplayer and multiplayer:
In multiplayer the monster will search for a new player target after 100 tics "timeout" (in code actor->threshold and BASETHRESHOLD).

In function A_Chase ()


The same happens in ZD, which always runs in multiplayer mode.
Back to top
View user's profile Send private message Send e-mail
AF-Domains.net
Dark Messenger of IRC


Joined: 01 Jun 2002
Location: United Kingdom

PostPosted: Mon Oct 25, 2021 10:44 pm    Post subject: Reply with quote

Sent to oblivion by request.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Rejected Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group