Way to create an always retaliate enemy?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Enjay
 
 
Posts: 27069
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Way to create an always retaliate enemy?

Post by Enjay »

I'm sure there was a thread about this quite recently but I can't seem to find it.

In a game where enemy infighting is explicitly switched off via mapinfo, is there a DECORATE way to create an actor that, if it gets caught in the crossfire from other enemies, it would infight the enemy that hurt it (ie, it would behave like a normal Doom monster when the rest of the game does not have this behaviour). I would like to be able to do this solely with the new "angry" monster rather than changing all the other enemies to simulate teams.

The idea is to try and create a "dumb beast" enemy in a game where most of the enemies are disciplined, logical-thinking, intelligent beings who would not infight.
User avatar
hugoroy
Posts: 221
Joined: Tue Aug 23, 2011 4:59 pm

Re: Way to create an always retaliate enemy?

Post by hugoroy »

Enjay wrote: The idea is to try and create a "dumb beast" enemy in a game where most of the enemies are disciplined, logical-thinking, intelligent beings who would not infight.
I can't really help with the problem, but the disciplined beast idea sounds interesting.
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: Way to create an always retaliate enemy?

Post by Blue Shadow »

I guess a FORCEINFIGHTING flag could come in handy; a monster with this flag set will turn on other monsters if it gets hit by them even if noinfighting is set in MAPINFO.
User avatar
Enjay
 
 
Posts: 27069
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Way to create an always retaliate enemy?

Post by Enjay »

That certainly would cover exactly what I need. I'll post a feature request and see if the idea floats.
Locked

Return to “Editing (Archive)”