If NoInfighting is set for a map in MAPINFO, enemies will be unable to harm each other with projectiles, as if they were of the same species.
In the attached example, the Imp and Cacodemon will not damage each other if they accidentally shoot one another.
http://edthebat.com/doom/noinfighttest.wad
NoInfighting prevents enemy friendly-fire damage
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: NoInfighting prevents enemy friendly-fire damage
Yes... And everything is fine, i think!
NoInfighting means... NoInfighting.
NoInfighting means... NoInfighting.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: NoInfighting prevents enemy friendly-fire damage
This is by design indeed.
-
Guest
Re: NoInfighting prevents enemy friendly-fire damage
Logan MTM wrote:
> NoInfighting means... NoInfighting.
Yes, it means no infighting, not 'no damage.' This is why hitscan attacks between enemies, such as two zombiemen, still do damage, but they don't begin to fight each other.
Graf Zahl wrote:
> This is by design indeed.
Then the wiki is in dire need of serious updating in several places.
> NoInfighting means... NoInfighting.
Yes, it means no infighting, not 'no damage.' This is why hitscan attacks between enemies, such as two zombiemen, still do damage, but they don't begin to fight each other.
Graf Zahl wrote:
> This is by design indeed.
Then the wiki is in dire need of serious updating in several places.
Re: NoInfighting prevents enemy friendly-fire damage
Betsy Dartham wrote:Then the wiki is in dire need of serious updating in several places.
This may not be detailed, but it is correct. The monsters in the map will never turn on each other. They may be hit by another monster's projectile - and, because of the noinfighting flag, this will not damage them. They may be hit by another monster's hitscan attack, which will damage them, but they will still not in-fight. In other words, monsters will never turn on each other, even if they are hit by another monster's attacks which damage them.The Wiki wrote:Monsters in this map will never turn on each other, even if they are hit by another monster's attacks which damage them.
It's always been this way since the no infighting flag was a DEHACKED extension in ZDoom way back in the dim distant past.