Way to create an always retaliate enemy?

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Way to create an always retaliate enemy?

Postby Enjay » Wed Oct 12, 2011 2:12 pm

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
Enjay
The Force is strong with this one.
 
Joined: 15 Jul 2003
Location: Scotland

Re: Way to create an always retaliate enemy?

Postby hugoroy » Wed Oct 12, 2011 6:19 pm

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.
User avatar
hugoroy
I think my eyes fell out a few miles back.
 
Joined: 23 Aug 2011
Location: The Caves II

Re: Way to create an always retaliate enemy?

Postby Blue Shadow » Wed Oct 12, 2011 9:11 pm

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
Blue Shadow
 
Joined: 14 Nov 2010

Re: Way to create an always retaliate enemy?

Postby Enjay » Thu Oct 13, 2011 5:23 am

That certainly would cover exactly what I need. I'll post a feature request and see if the idea floats.
User avatar
Enjay
The Force is strong with this one.
 
Joined: 15 Jul 2003
Location: Scotland


Return to Editing

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests