Prevent in-fighting

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Ghostbreed
Posts: 1114
Joined: Wed Mar 24, 2010 6:19 am

Prevent in-fighting

Post by Ghostbreed »

How do I set up the flag to prevent monster from attacking eachother?
I've ported over some enemies from Wolf3D and Blake Stone and those enemies have only angle sprite when firing and that's towards you, so if someone else is attacking them from behind they still look at you but shoot what's behind them.

Already read the wiki but I must be [censored word] or something because I don't get it :3:
Last edited by Ghostbreed on Wed Jun 12, 2013 5:32 pm, edited 1 time in total.
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: Prevet in-fighting

Post by Mikk- »

+NOINFIGHTING

That wasn't so hard, was it? It's like you just want people to do the work for you. I fear for how you are going to fare when you actually need to do some ~actual~ work and not just finding [wiki]Actor flags[/wiki].
User avatar
Ghostbreed
Posts: 1114
Joined: Wed Mar 24, 2010 6:19 am

Re: Prevet in-fighting

Post by Ghostbreed »

I'd like to try out before I ask for help. As you easily could see in my first post, I did read the wiki but I didn't understand.
But thanks for your help, I guess. :glare:
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: Prevent in-fighting

Post by CaptainToenail »

I think you can also use DeHacked to disable infighting completely, saves you from editing every monster I guess.
User avatar
Ghostbreed
Posts: 1114
Joined: Wed Mar 24, 2010 6:19 am

Re: Prevent in-fighting

Post by Ghostbreed »

Nah, I just needed it for my custom monsters, which is just two ^^
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: Prevent in-fighting

Post by Ethril »

CaptainToenail wrote:I think you can also use DeHacked to disable infighting completely, saves you from editing every monster I guess.
There are [wiki=Map_definition#NoInfighting]MAPINFO options[/wiki] for this too.
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: Prevent in-fighting

Post by Matt »

How do you implement those mapinfo options without redefining every map? adding it to (add)defaultmap seems to do nothing.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Prevent in-fighting

Post by edward850 »

You cannot, as (add)defaultmap only applies to maps defined after it.
User avatar
Abba Zabba
Posts: 2166
Joined: Mon Sep 05, 2011 8:50 pm
Location: a place lol!
Contact:

Re: Prevent in-fighting

Post by Abba Zabba »

Boost worker morale

Make a dehacked.txt and fill it with "Monsters Ignore Each Other = 1"
Post Reply

Return to “General”