Page 1 of 1

[FIXED] Action function appears broken

Posted: Tue Dec 06, 2016 9:22 pm
by CeeJay
When I was playing Duke it Out in DOOM, the Night-vision goggles (when acquired) would constantly turn on and off with me having seemingly no control over it. This was with the last build of 3DGE.

Re: Action function appears broken

Posted: Thu Dec 22, 2016 6:25 pm
by Corbachu
Is it all of the ACTION buttons that are toasted?

I think I might have forgotten to patch the code to work with the SDL2 input buffer, at least thats the only thing I can really think of. Ill take a peek tonight at it.

Re: Action function appears broken

Posted: Tue Dec 27, 2016 10:23 pm
by CeeJay
It appears so. I tried other mods that utilize the action function with the same results, as soon as the scripted requirements are met (item, ammo, etc) it activates itself.

Re: Action function appears broken

Posted: Sat Jan 14, 2017 8:58 pm
by ChillyWilly
I tried Duke it out... when I pick up the NV goggles, it blinks a couple times, then everything works fine. Hitting action2 toggles it on and off just fine. Not sure what the blinking is when you pick them up, if it's supposed to do that or not, but it works fine once it's done blinking.

Re: Action function appears broken

Posted: Sun Jan 15, 2017 12:05 pm
by Corbachu
@CeeJay (and others): try using this version of 3DGE attached to this post. I'm not officially circulating it yet, so I called it Test3-RC1. You would get the same results compiling from the Git repo.

One thing to take note of is that this version replaces edge2.wad with edge2.pak (so you don't need edge2.wad anymore, nor do you need herfix.wad). Opening it up in SLADE will give you a peek
at the namespace support we have for PAK/PK3/PK7 now.

Try this version out and let us know if it's confirmed fixed or not.

EDIT: this version has random sound pitching from Doom 1.2. Currently it cannot be toggled off, so Duke might sound slightly higher or slightly lower pitched ;)

Re: Action function appears broken

Posted: Sun Jan 15, 2017 2:32 pm
by CeeJay
Coraline wrote:EDIT: this version has random sound pitching from Doom 1.2. Currently it cannot be toggled off, so Duke might sound slightly higher or slightly lower pitched ;)
I believe Duke 3D had random sound pitching too.

Tried it with vanilla. The range of the sound pitching might be a little too much, makes the chainsaw sounds really odd.

EDIT: If not too much work, perhaps add a command to SOUNDS.DDF to disable sound pitching for specific sounds.

Re: Action function appears broken

Posted: Mon Jan 16, 2017 2:58 am
by Corbachu
@CJ: Try the attached RC2 copy. We fixed the sliding bug, but additional testing would be cool, so try this out.

Also, the ACTION buttons are both working fine in Duke it Out in DOOM, so not sure what is happening there. I was
able to drink Beer, activate and deactivate the Nightvision at will, so not sure what is up with that because it is working
on both my machine (Windows), and Chilly's (Linux).

Re: Action function appears broken

Posted: Wed Jan 18, 2017 7:49 am
by ChillyWilly
Different size frames for animated things IS common, which is why code was added to attempt to deal with the issue. Animated thing frames should NOT be different dimensions! That's what caused the graphic bugs we saw last year where things wobbled back and forth and up and down and stretched and contracted. Any one thing should always have all its frames be the exact same dimensions to avoid graphic glitches. Just because I could add code to fix a few of the worst offenders (the popular ones) is no reason to keep offending. ;)

If it would be too much work to go back and change, let me know what the thing is (sprite/patch/wall texture/whatever) and the size ranges and I'll see about wedging in another fudge to "fix" it. I imagine if we do that enough, we'll eventually cover enough cases to handle damn near all of them. :lol:

Re: Action function appears broken

Posted: Fri Jan 20, 2017 5:16 pm
by Corbachu
CeeJay: Can we verify this as FIXED so we can mark it as such? Thanks friend =)

Re: Action function appears broken

Posted: Thu Jan 26, 2017 12:46 pm
by CeeJay
Sorry, been kind of out of it for a few days. Lots of crap on my plate at the moment. I'll have a look tomorrow when I'm clean, sober and rested. Peace.

EDIT: Consider it FIXED