[1764] Melee weapons not "sticking" ...
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.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
[1764] Melee weapons not "sticking" ...
When attacking monsters from the underside or above, melee weapons such as the chainsaw do not snap or grab the player towards the target. In the case of the chainsaw, in addition to before, the attack sound doesn't change, however damage is still being dealt as normal. Try latching onto a cacodemon while it descends and see what happens.
- 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: [1764] Melee weapons not "sticking" ...
I tried this one a bit. Those blasted cacodemons just don't cooperate... I had a hard time even getting one over me.
As for the lack of "pull", I would suspect this has to do with the player already having crossed the monster's center axis. I don't know for sure about the sound issue, I couldn't tell if it was actually doing damage. The caco kept moving out of range (Because, yes, the chainsaw wasn't "grabbing").
As for the lack of "pull", I would suspect this has to do with the player already having crossed the monster's center axis. I don't know for sure about the sound issue, I couldn't tell if it was actually doing damage. The caco kept moving out of range (Because, yes, the chainsaw wasn't "grabbing").
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: [1764] Melee weapons not "sticking" ...
Could it have something to do with the new autoaim flags for weapons? Melee weapons should autoaim by default (so maybe they should have that new flag in zdoom.pk3). Just a guess.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1764] Melee weapons not "sticking" ...
No, this has nothing to do with autoaim. The code just isn't equipped to handle a hit from above or below. That was never an option in Doom originally.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1764] Melee weapons not "sticking" ...
Since you seem to know how to reproduce this, can you please create a savegame which can be used for testing? Otherwise I can almost guarantee that this report will rot here until eternity or a stroke of dumb luck.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: [1764] Melee weapons not "sticking" ...
I'll do even better. Give me a minute to make a simple level where this can be recreated.
It's also been 150 revisions...
It's also been 150 revisions...
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: [1764] Melee weapons not "sticking" ...
Load this up in Doom II. Let the Cacodemon approach you and try to cut down the underside. The chainsaw won't stick, won't sound a hit, but will still do damage.
God mode is already activated and you already have a chainsaw.
God mode is already activated and you already have a chainsaw.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1764] Melee weapons not "sticking" ...
Damn. As I feared. This won't be easy to fix. It's precisely as I suspected: The hit from above or below just was never considered possible when all this was written.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: [1764] Melee weapons not "sticking" ...
That might have been why floating monsters automatically descended to your level when you approached them.Graf Zahl wrote:Damn. As I feared. This won't be easy to fix. It's precisely as I suspected: The hit from above or below just was never considered possible when all this was written.
Re: [1764] Melee weapons not "sticking" ...
You wanna know what's really funny? I mentioned this before and it got ignored.
I, in the other thread, wrote:EDIT: Now here's a strange fact that I noticed: if you hit the top of an object while looking down at it, it doesn't count as a hit to melee or A_JumpIfCloser, but if you're literally standing on top of the object so that the object is "behind" you and you attack straight down (I'm using GZDoom to test this since it would be impossible due to the constrained freelook), it does count as a hit.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1764] Melee weapons not "sticking" ...
Here's a hint: A demo WAD that's easy to debug works wonders in getting a bug fixed.
If you just report an odd situation without providing any assistance in reproducing it chances are slim that it gets addressed.
Speaking of this, you recently reported a bug over at the GZDoom forums but did not respond to any of my follow-up posts or the PM I sent you. So please don't be surprised that the bug is still open.
If you just report an odd situation without providing any assistance in reproducing it chances are slim that it gets addressed.
Speaking of this, you recently reported a bug over at the GZDoom forums but did not respond to any of my follow-up posts or the PM I sent you. So please don't be surprised that the bug is still open.
Re: [1764] Melee weapons not "sticking" ...
Doubtful. Remember you couldn't look up or down at all in Doom, and you couldn't stand on top of or under enemies, so I'm sure they never considered the case of a directly vertical hit because you couldn't possibly be in a position to fire one. The auto-levelling feature I'm sure was there so that cacodemons and other floating enemies wouldn't sit there pelting the player from above while he could do little about it because he couldn't look up to see where they were.Project Dark Fox wrote:That might have been why floating monsters automatically descended to your level when you approached them.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: [1764] Melee weapons not "sticking" ...
While I did say "might", that was probably the biggest reason. Thanks for pointing it out, I admit I forgot.
- Tails Butt
- Posts: 46
- Joined: Mon Apr 06, 2009 8:50 pm
- Location: GA: United States
Re: [1764] Melee weapons not "sticking" ...
A little easier with the cacodemon as a fish in a barrel and friendly.
- Attachments
-
HitscanBug.wad
- (4.71 KiB) Downloaded 61 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1764] Melee weapons not "sticking" ...
HotWax wrote:Doubtful. Remember you couldn't look up or down at all in Doom, and you couldn't stand on top of or under enemies, so I'm sure they never considered the case of a directly vertical hit because you couldn't possibly be in a position to fire one.Project Dark Fox wrote:That might have been why floating monsters automatically descended to your level when you approached them.
In fact, even ZDoom couldn't do it until version 2.1.0. Before that such shots just went through.