[Fixed] [1764] Melee weapons not "sticking" ...

Bugs that have been investigated and resolved somehow.

Moderator: Developers

[1764] Melee weapons not "sticking" ...

Postby Project Dark Fox » Mon Aug 10, 2009 6:57 pm

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.
User avatar
Project Dark Fox
Nightmare Fuel Station Attendant
 
Joined: 14 Jul 2005
Location: The Gutter

Re: [1764] Melee weapons not "sticking" ...

Postby NeuralStunner » Wed Aug 12, 2009 1:19 pm

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").
User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies

Re: [1764] Melee weapons not "sticking" ...

Postby bagheadspidey » Wed Oct 14, 2009 6:46 pm

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.
User avatar
bagheadspidey
 
Joined: 20 Oct 2007

Re: [1764] Melee weapons not "sticking" ...

Postby Graf Zahl » Thu Oct 15, 2009 1:58 am

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.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [1764] Melee weapons not "sticking" ...

Postby Graf Zahl » Sat Oct 17, 2009 2:59 am

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.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [1764] Melee weapons not "sticking" ...

Postby Project Dark Fox » Sat Oct 17, 2009 2:59 pm

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...
User avatar
Project Dark Fox
Nightmare Fuel Station Attendant
 
Joined: 14 Jul 2005
Location: The Gutter

Re: [1764] Melee weapons not "sticking" ...

Postby Project Dark Fox » Sat Oct 17, 2009 3:10 pm

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.
Attachments
cacobug.wad
(2.02 KiB) Downloaded 36 times
User avatar
Project Dark Fox
Nightmare Fuel Station Attendant
 
Joined: 14 Jul 2005
Location: The Gutter

Re: [1764] Melee weapons not "sticking" ...

Postby Graf Zahl » Sat Oct 17, 2009 3:14 pm

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.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [1764] Melee weapons not "sticking" ...

Postby Project Dark Fox » Sun Oct 18, 2009 11:23 pm

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.

That might have been why floating monsters automatically descended to your level when you approached them.
User avatar
Project Dark Fox
Nightmare Fuel Station Attendant
 
Joined: 14 Jul 2005
Location: The Gutter

Re: [1764] Melee weapons not "sticking" ...

Postby Kate » Sun Oct 18, 2009 11:46 pm

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.
User avatar
Kate
Will love and tolerate THE SHIT out of you
 
Joined: 15 Jul 2003
Location: New Jersey, US

Re: [1764] Melee weapons not "sticking" ...

Postby Graf Zahl » Mon Oct 19, 2009 1:31 am

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.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [1764] Melee weapons not "sticking" ...

Postby HotWax » Tue Oct 20, 2009 7:05 pm

Project Dark Fox wrote:That might have been why floating monsters automatically descended to your level when you approached them.

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.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Re: [1764] Melee weapons not "sticking" ...

Postby Project Dark Fox » Tue Oct 20, 2009 9:23 pm

While I did say "might", that was probably the biggest reason. Thanks for pointing it out, I admit I forgot.
User avatar
Project Dark Fox
Nightmare Fuel Station Attendant
 
Joined: 14 Jul 2005
Location: The Gutter

Re: [1764] Melee weapons not "sticking" ...

Postby Tails Butt » Tue Oct 20, 2009 11:18 pm

A little easier with the cacodemon as a fish in a barrel and friendly.
Attachments
HitscanBug.wad
(4.71 KiB) Downloaded 34 times
User avatar
Tails Butt
Lower the thermostat
 
Joined: 06 Apr 2009
Location: GA: United States

Re: [1764] Melee weapons not "sticking" ...

Postby Graf Zahl » Wed Oct 21, 2009 1:37 am

HotWax wrote:
Project Dark Fox wrote:That might have been why floating monsters automatically descended to your level when you approached them.

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.



In fact, even ZDoom couldn't do it until version 2.1.0. Before that such shots just went through.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Next

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests