Responsive Weapons + Faster Weapon Switching

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
TheDoomctator
Posts: 21
Joined: Fri May 13, 2016 7:03 pm
Location: Stereotype Land,Well that's Brazil of Course

Re: Responsive Weapons + Faster Weapon Switching

Post by TheDoomctator »

I got killed a bunch of times because i was holding a rocket launcher after firing long range,then a pinky/imp came up at me and either i killed myself or did not have time to change weapon
You sir solved my problem there thanks!
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: Responsive Weapons + Faster Weapon Switching

Post by Nevander »

It's amazing how much more fluid the game becomes when you double the raise/lower speed of your weapons.
User avatar
DTDsphere
Posts: 133
Joined: Wed Jun 16, 2010 1:19 pm

Re: Responsive Weapons + Faster Weapon Switching

Post by DTDsphere »

Nevander wrote:It's amazing how much more fluid the game becomes when you double the raise/lower speed of your weapons.
It really is. Makes Doom even better in my opinion. I personally don't run this mod all the time because I'm a purist at heart. Whenever I play a new map pack I MUST play it with the proper settings configured (usually Doom Strict) before throwing gameplay mods at it.



My keybinds for this mod.
Spoiler:
Fist is seperate to chainsaw as to skip selecting the chainsaw when I have berserk. I have 2 binds for chainsaw so that I don't get punished for mixing z and x up. BFG is c to make it far away from the other binds.

To provide some context, here are my keybinds for other games.
Quake Live/3
Spoiler:

And finally this is my setup in Doom 4. Quake 3 was where I started using proper keybinds for weapons and my layout stuck with me.
Spoiler:
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Responsive Weapons + Faster Weapon Switching

Post by NightFright »

When using the IDKFA cheat and having one of the two shotguns selected, the weapon would go into its reload animation. It's not a big deal, but if there is a way to fix this, it'd be nice to have it applied.
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: Responsive Weapons + Faster Weapon Switching

Post by StroggVorbis »

Sounds like inventory items are used for the shotgun reload canceling, which are given by the IDKFA cheat. There's the CHEAT.NOTWEAPON flag, but I dunno if it works on non weapons too.
User avatar
mrtaterz
Posts: 236
Joined: Wed Feb 14, 2018 8:47 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Responsive Weapons + Faster Weapon Switching

Post by mrtaterz »

I know this is an older mod, but I also feel like I should chime in and say the pistol animation is really ugly and stuttering at the end there as well. Could use a bit of touching up or reworking to say the least.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Responsive Weapons + Faster Weapon Switching

Post by NightFright »

I have tweaked the mod a bit and hopefully improved a few things. The pistol should look smoother now when firing, however I had to use one of the previously unused frames (PISGD) to make it happen. Still, like this the pistol doesn't "stutter" any more and looks better. After all, what DTD did before also wasn't exactly the original animation any more, so it's within acceptable limits.

[DOWNLOAD DEPRECATED, NEW LINK IN POST BELOW]
Last edited by NightFright on Wed Jul 03, 2019 1:23 am, edited 4 times in total.
User avatar
mrtaterz
Posts: 236
Joined: Wed Feb 14, 2018 8:47 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Responsive Weapons + Faster Weapon Switching

Post by mrtaterz »

NightFright wrote:I have tweaked the mod a bit and hopefully improved a few things. The pistol should look smoother now when firing, however I had to use one of the previously unused frames (PISGD) to make it happen. Still, like this the pistol doesn't "stutter" any more and looks better. After all, what DTD did before also wasn't exactly the original animation any more, so it's within acceptable limits.

Changelog:
- File format switched from WAD to PK3 (renamed to fastweapons.pk3)
- KEYCONF coding converted to DECORATE/MAPINFO system
- Lump filtering for Doom and Doom II
- Uses modified pump action sound for Per Kristian's "Highres Doom Sound Effects Pack"
- Pistol: Firing animation improved (sequence: PISG BCAB --> BCDB)
- Shotgun: Now uses A_StopSound (CHAN_WEAPON) instead of playing silent sound to kill the pumping sound when lowering the weapon
- Shotgun: Now uses A_PlaySound instead of A_PlayWeaponSound for pumping sound
I love you.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Responsive Weapons + Faster Weapon Switching

Post by NightFright »

Good news:
I found out how to fix the issue with shotguns reloading when using the IDKFA cheat. The inventory tokens used to skip the reload animation now simply don't inherit from Ammo any more, but CustomInventory. A simple fix really. Please redownload from above post.
User avatar
Agitatio
Posts: 240
Joined: Mon Sep 05, 2011 10:07 am
Graphics Processor: nVidia with Vulkan support

Re: Responsive Weapons + Faster Weapon Switching

Post by Agitatio »

Switching from SG/SSG mid reload now finishes it, instead of coming back to it when you switch back, just like in the video.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Responsive Weapons + Faster Weapon Switching

Post by NightFright »

I didn't change anything about the shotgun animations. DTD made an update to the code later on, probably after he made the video. The way reload interruption works now is apparently intended.

Tomorrow I'll probably change the pistol animation once more. Just had an idea how to make the transition even smoother. Frame sequence BCDB seems like a harsh transition still. I'll try something with BCDCB.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Version 1.21 released

Post by NightFright »

Update released as promised. At the end of the day, I didn't touch the pistol animation any more since it looked better with its existing frame sequence (BCDB) than the one I had in mind (BCDCB). However, I was able to solve the pending issue with the berserk pack. From the other thread with my PerK animation improvement mod, I adapted Nevander's fix for the edited player actor.

Changelog v1.21 (Jul 3, 2019):
- Added GLDEFS to restore default dynamic light behavior for new player actor
- Berserk: Switches to fists again when picked up (vanilla behavior)
- Pistol: Now uses 100% vanilla animation (w/o previously unused frame PISGD)

Changelog v1.2 (Jul 2, 2019):
- File format switched from WAD to PK3 (renamed to fastweapons.pk3)
- KEYCONF coding converted to DECORATE/MAPINFO system
- Lump filtering for Doom and Doom II
- Uses modified pump action sound for Per Kristian's "Highres Doom Sound Effects Pack"
- Pistol: Firing animation improved (sequence: PISG BCAB --> BCDB)
- Shotgun/Super Shotgun: Fixed weapon reloading when using IDKFA cheat
- Shotgun: Now uses A_StopSound (CHAN_WEAPON) instead of playing silent sound to kill the pumping sound when lowering the weapon
- Shotgun: Now uses A_PlaySound instead of A_PlayWeaponSound for pumping sound
Attachments
fastweapons.pk3
Faster Weapons (v1.21)
(33.46 KiB) Downloaded 129 times
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Version 1.21 updated

Post by NightFright »

Found a way to use 100% vanilla animations for the pistol (i.e. no usage of non-vanilla PISGD frame any more) without losing the fast weapon firing feature. I would say it's pretty much spot-on now. Please redownload from my post above if you have already done so.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Version 1.22 released

Post by NightFright »

Tweaked the code a bit and found a more efficient way to increase weapon switching speed.

*UPDATE*
I found A_Raise/Lower(15) to be a bit too fast actually and went down to 12. This looks less "hacky"/weird. File attachment has been replaced.

Changelog v1.22 (Jul 11, 2019):
- Use A_Raise(12) and A_Lower(12) instead of TNT AA 0 frames, resulting in weapon raise/lower speed factor of 2x
- Berserk: Reverted change from v1.21 (not switching to fists on pickup)
- Simplified Shotgun/SSG reload checkers
Attachments
fastweapons.pk3
Fast Weapon Switching v1.22
(33.23 KiB) Downloaded 156 times
User avatar
Agitatio
Posts: 240
Joined: Mon Sep 05, 2011 10:07 am
Graphics Processor: nVidia with Vulkan support

Re: Responsive Weapons + Faster Weapon Switching

Post by Agitatio »

SG firing sound is getting cut off when switching from it right after firing. SSG doesn't have that problem though.
Post Reply

Return to “Gameplay Mods”