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 

Monster infight

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
Aeyesx
Spamming!


Joined: 13 Oct 2012
Location: Czech Republic

PostPosted: Thu Nov 13, 2014 5:14 pm    Post subject: Monster infight Reply with quote

Hello!

First thanks devs, for bringing so many uber-cool features and the effort you're putting into it...
I found "maybie" not-working behaviour...?

It is...
MAPINFO flag : "noinfighting"

And a dehacked behaviour :
Code:
Misc 0
Monsters Ignore Each Other = 1

From what it says... It should disable monster "infight" while monster(s) got hit it strikes back. This does not work, or did I misunderstood ?


Last edited by Aeyesx on Thu Nov 13, 2014 6:20 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Sr69Mm-jC
Spamming!


Joined: 21 Jul 2011

PostPosted: Thu Nov 13, 2014 5:38 pm    Post subject: Reply with quote

Note to others: don't be confused by another Misc 0 item that goes by the name of "Monsters Infight". This one defaults to zero, and when non-zero it makes monsters of the same type attack each other too (not just hitscanners etc) - so it's counter-productive for those trying to get rid of infighting in their wads.
Back to top
View user's profile Send private message
Maikl_Russia
has entered the game!


Joined: 18 Jul 2005
Location: RU

PostPosted: Thu Apr 16, 2015 1:38 pm    Post subject: Reply with quote

As for ACS - using Thing_Hate gives the same effect very good.

Thanx to Krawa for help. Smile
Back to top
View user's profile Send private message
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Fri Jul 31, 2015 8:33 pm    Post subject: Reply with quote

From the changelog:
Code:
15. Complete implementation of monster infighting with respect
    to the latest zdoom (2.7.1). There are two dehacked keywords
        "Monsters Ignore Each Other"
        "Monsters Infight",
    a dehacked flag called "NOINFIGHTING", as well as a new
    "infighting" CVAR which is an integer with 3 possible
    values (default value = 0):
       -1 : Monsters never fight other monsters
        0 : Monsters do not fight other monsters of their own
            kind unless they use bullet  attacks. This is the
            standard Doom behavior.
        1 : Monsters will fight other monsters, including
            those of their own kind.

It will appear on the next beta (110b04)


Last edited by Kilgore on Sat Aug 01, 2015 4:55 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Aeyesx
Spamming!


Joined: 13 Oct 2012
Location: Czech Republic

PostPosted: Sat Aug 01, 2015 10:13 am    Post subject: Reply with quote

Now this... is very VERY cool, especially the CVAR,
I owe you a cake or something nice Very Happy
Back to top
View user's profile Send private message Send e-mail
EarthQuake
Spamming!


Joined: 02 Apr 2004
Location: Athens, Ohio. Dieblieber gonna getcha!

PostPosted: Sun Aug 02, 2015 4:47 pm    Post subject: Reply with quote

Something seems wrong.

Monster species infighting is enabled by default. In Doom2 MAP01, the imps can hurt each other and start fighting.

Console says "infighting" is 0. Tried changing it too, but nothing happened.
Back to top
View user's profile Send private message Send e-mail
Buli
Spamming!


Joined: 19 May 2012
Location: France

PostPosted: Sun Aug 02, 2015 6:16 pm    Post subject: Reply with quote

That's awesome.
Back to top
View user's profile Send private message Send e-mail
Aeyesx
Spamming!


Joined: 13 Oct 2012
Location: Czech Republic

PostPosted: Sun Aug 02, 2015 8:05 pm    Post subject: Reply with quote

EarthQuake wrote:
Something seems wrong.

Monster species infighting is enabled by default. In Doom2 MAP01, the imps can hurt each other and start fighting.

Console says "infighting" is 0. Tried changing it too, but nothing happened.


So far i tried, everything works. The 0 is default doom behaviour...
do -1 to disable infights
Back to top
View user's profile Send private message Send e-mail
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Mon Aug 03, 2015 11:31 am    Post subject: Reply with quote

There was a bug in the implementation: in some (many) cases infighting=0 worked the same as infighting=1. There was a patch release a few hours ago: should be OK now.

BTW... suppose infighting = 1, two monsters (of the same kind) attack each other and you switch infighting to 0. You might expect the attacks to stop, but that may not be the case: the reason is that once some monsters have a certain target, they will not stop until that target is dead. So don't expect the infighting to stop instantly when you switch it: that's normal behavior for the engine. You might need to reset the map to see the difference in the infighting behavior.
Back to top
View user's profile Send private message Visit poster's website
bond
Dominating!


Joined: 30 Apr 2002
Location: Russia

PostPosted: Sun Aug 09, 2015 10:57 pm    Post subject: Reply with quote

Kilgore wrote:
There was a bug in the implementation: in some (many) cases infighting=0 worked the same as infighting=1. There was a patch release a few hours ago: should be OK now.

not yet. now infighting=0 worked half as infighting=1: monster of one kind dont fight but hurt (and kill) each other.
Back to top
View user's profile Send private message Visit poster's website
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Tue Aug 18, 2015 1:37 pm    Post subject: Reply with quote

Should be OK in the upcoming release
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 -> Implemented Requests 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