+FORCEINFIGHTING Actor property

Moderator: GZDoom Developers

Post Reply
User avatar
Enjay
 
 
Posts: 27088
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

+FORCEINFIGHTING Actor property

Post by Enjay »

As discussed here:

http://forum.zdoom.org/viewtopic.php?f= ... 39#p588239

and in another relatively recent thread (not by me) that I can't find ATM.

It would be useful to be able to have a flag (+FORCEINFIGHTING) that forces a particular enemy to always display the normal Doom infighting behaviour (and, I suppose, a way to have an individual enemy type to always act as if no infighting was set (+FORCENOINFIGHTING)).

At present, the game can be set so that all enemies will never infight or that all enemies will infight if damaged by another enemy. Sometimes, however, it would be useful to have an actor that bucks this particular trend and does the opposite to what the over all game setting says. I know that things can be set up using "species" relationships but that can involve a lot of work (possibly editing all the actors in the game) if all that is needed is just to have one actor type that does the opposite to what everyone else is doing.
Thomas
Posts: 53
Joined: Wed May 30, 2007 2:13 pm
Location: The Netherlands

Re: +FORCEINFIGHTING Actor property

Post by Thomas »

Got this flag implemented in my build, there is a small problem though. When infighting is forced off and an actor has this flag set, there is no way to set the infighting behaviour, e.g. wether it should only infight other species, or when it should infight any species that it gets hurt by.
User avatar
Enjay
 
 
Posts: 27088
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: +FORCEINFIGHTING Actor property

Post by Enjay »

Well, that's actually the behaviour that I would like.

However, I can appreciate that people might want 2 levels of forced infighting:
1) the default Doom "hitscans and other projectile species only"
2) the more aggressive "anyone who hits me gets it"
Thomas
Posts: 53
Joined: Wed May 30, 2007 2:13 pm
Location: The Netherlands

Re: +FORCEINFIGHTING Actor property

Post by Thomas »

So basically we gonna need 2 flags, one for each type? Would it not be better to have a property that totally covers all infighting behaviour if the actor?
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: +FORCEINFIGHTING Actor property

Post by NeuralStunner »

As far as enabling per-actor intra-species projectile damage/infighting, I would love to see that regardless.
Thomas
Posts: 53
Joined: Wed May 30, 2007 2:13 pm
Location: The Netherlands

Re: +FORCEINFIGHTING Actor property

Post by Thomas »

So an infight property sounds like a good idea? e.g. you could set infighting per monster on -1 0 1 just like the cvar. Or wouldn't this work?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: +FORCEINFIGHTING Actor property

Post by Graf Zahl »

added
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”