[2.8pre-362] Heretic gargolyes and fire gargs should infight
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.
[2.8pre-362] Heretic gargolyes and fire gargs should infight
Like the title says, these two different gargoyles should be able to fight with each other. Tested with chocolate-heretic and heretic-plus. Attached is a simple wad with a setup to encourage infighting. Plays on E1M1.
A regular gargoyle should never infight with another regular gargoyle, but I'm pretty sure they don't currently. (It's a little hard to get them to charge into one another to see.)
A regular gargoyle should never infight with another regular gargoyle, but I'm pretty sure they don't currently. (It's a little hard to get them to charge into one another to see.)
- Attachments
-
gargfite.wad
- (787 Bytes) Downloaded 29 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Yes, it's well known. ZDoom considers both the same species due to the way they are defined.
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Why don't they, by the way? I mean, they A_SkullAttack their targets just like lost souls do, but they don't get damaged and they don't infight when they accidentally hit each other.plums wrote:A regular gargoyle should never infight with another regular gargoyle, but I'm pretty sure they don't currently. (It's a little hard to get them to charge into one another to see.)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
The gargoyles do not do damage with their charge attacks. They only use it to move into an attacking position faster.
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
*huge facepalm*
Oh yeah, that was stupid of me. I forgot that they don't do damage when charging, to begin with...
Oh yeah, that was stupid of me. I forgot that they don't do damage when charging, to begin with...
- Zhs2
- Posts: 1300
- Joined: Fri Nov 07, 2008 3:29 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Maryland, USA, but probably also in someone's mod somewhere
- Contact:
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
This makes me wonder if Golems and NitroGolems should also be capable of infighting.
- 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: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Amusing: In vanilla, they'd still trigger a pain sound on impacting the player. You can avoid damage but still go "ouch".Graf Zahl wrote:The gargoyles do not do damage with their charge attacks. They only use it to move into an attacking position faster.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
It can be easily fixed by giving the fire gargoyle a new "species" property.Graf Zahl wrote:Yes, it's well known. ZDoom considers both the same species due to the way they are defined.
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Thing is, the last time this popped up it was decided the ZDoom behavior was more logical and made more sense, so it was deemed a [won't change].
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Graf Zahl wrote:Yes, it's well known. ZDoom considers both the same species due to the way they are defined.
Understood, sorry for the duplicate.Gez wrote:Thing is, the last time this popped up it was decided the ZDoom behavior was more logical and made more sense, so it was deemed a [won't change].
They do in fact infight in Vanilla.Zhs2 wrote:This makes me wonder if Golems and NitroGolems should also be capable of infighting.
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
To do so HereticImpLeader class must not be derived from HereticImp class in Decorate definitions. The same for golems/nitrogolems and their ghosted versions. So lots of stuff must be copy-pasted.Ed the Bat wrote:It can be easily fixed by giving the fire gargoyle a new "species" property.
An alternative solution is to add special case for the mentioned three classes to AActor::GetSpecies() function. Kind of a dirty hack though.
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Nah, the species property will bypass inheritance, so there is no need to copy/paste stuff. See Hexen's chaos serpents, Demon1 and Demon2 retain their inheritance link but are no longer the same species.
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
Indeed, an addition of a single line like below to the corresponding actor solves the problem.Gez wrote:Nah, the species property will bypass inheritance, so there is no need to copy/paste stuff.
Code: Select all
Species "HereticImpLeader"
-
-
- Posts: 3210
- Joined: Wed Nov 24, 2004 12:59 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Contact:
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
For reference here's a link to the last thread I can find on the issue: http://forum.zdoom.org/viewtopic.php?f=7&t=21967
Personally I'm in the camp that accuracy should be preserved where reasonable (like in this case where we already have the means to restore the behavior). Certainly anyone wanting the more logical behaviors could just load a mod?
Personally I'm in the camp that accuracy should be preserved where reasonable (like in this case where we already have the means to restore the behavior). Certainly anyone wanting the more logical behaviors could just load a mod?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [2.8pre-362] Heretic gargolyes and fire gargs should inf
The last time this got rejected the species property did not exist yet. Now that it exists there's no reason to restore the original behavior.