[minimod][v0.7.2] Gearbox - weapon/inventory handling

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
mamaluigisbagel
Posts: 387
Joined: Wed Jul 09, 2014 7:25 pm
Discord: Nonemployee#1013
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

I noticed sometimes when a monster is moving when you open gearbox (with "Freeze enemies & player enabled) enemies can get stuck moving in the direction they were going when you opened gearbox until you close it. I can't tell if this is normal or a side effect of me running Corruption Cards, but might be worth mentioning.
ItzMulpinHappy
Posts: 1
Joined: Tue Aug 02, 2022 2:18 pm
Discord: AT.P SOLDAT#3627

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by ItzMulpinHappy »

Pretty good mod and it works perfectly with hellrider on my phone!
User avatar
DrFrnknsprtr
Posts: 7
Joined: Mon Aug 08, 2022 8:13 am

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by DrFrnknsprtr »

Changing the first line of the keyconf from Alias +gb_toggle_weapon_menu "event gb_toggle_weapon_menu"
to Alias +gb_toggle_weapon_menu "netevent gb_prev_weapon; wait 1; event gb_toggle_weapon_menu" lets you select last weapon on press and open wheel on hold, similar to Doom Eternal's weapon wheel.
User avatar
DrFrnknsprtr
Posts: 7
Joined: Mon Aug 08, 2022 8:13 am

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by DrFrnknsprtr »

Is it ok to modify and distribute this with mods? I made a custom version to work like Doom Eternal's weapon wheel to go with EOA/KET, was just wondering how permissions go with that, thanks in advance
User avatar
generic name guy
Posts: 48
Joined: Wed Nov 11, 2020 3:25 pm
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by generic name guy »

DrFrnknsprtr wrote: Tue Aug 09, 2022 1:46 pm Is it ok to modify and distribute this with mods? I made a custom version to work like Doom Eternal's weapon wheel to go with EOA/KET, was just wondering how permissions go with that, thanks in advance
Yeah, at least that's what copying file says in the source code.
User avatar
m8f
 
 
Posts: 1397
Joined: Fri Dec 29, 2017 4:15 am
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit
Location: Siberia (UTC+7)

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by m8f »

Yes, it's ok to modify and distribute Gearbox by terms of GPLv3 license.

That said, if the changes are not too invasive, it would be great to incorporate them to the base Gearbox.
User avatar
generic name guy
Posts: 48
Joined: Wed Nov 11, 2020 3:25 pm
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by generic name guy »

m8f wrote: Wed Aug 10, 2022 6:42 amThat said, if the changes are not too invasive, it would be great to incorporate them to the base Gearbox.
I'll try them, hold on

It works, kind of, the weapon does swap like DE but the weapon wheel still pops up on the screen
User avatar
DrFrnknsprtr
Posts: 7
Joined: Mon Aug 08, 2022 8:13 am

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by DrFrnknsprtr »

m8f wrote: Wed Aug 10, 2022 6:42 am Yes, it's ok to modify and distribute Gearbox by terms of GPLv3 license.

That said, if the changes are not too invasive, it would be great to incorporate them to the base Gearbox.
The only changes I really made were removing the graphic for the pointer and adding this "+gb_toggle_weapon_menu "netevent gb_prev_weapon; wait 1; event gb_toggle_weapon_menu"" to combine the binds to one key, it's a bit weird so idk if you want to add it, it also isn't super compatible with older versions of gzdoom
User avatar
ShockwaveS08
Posts: 184
Joined: Thu Jul 07, 2016 7:29 pm
Discord: Shockwave_S08#0859
Github ID: ShockwaveS08
Location: Manhattan, IL

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by ShockwaveS08 »

One thing I would like to see from Gearbox is the following input method:

1) Quick-tap of inventory wheel button: use currently-selected item
2) If held for longer than a specified (configurable) duration, bring up the wheel without using an item

This sort of thing would greatly benefit not just gamepad users on desktops, but also gamepad users on Delta Touch.
User avatar
mamaluigisbagel
Posts: 387
Joined: Wed Jul 09, 2014 7:25 pm
Discord: Nonemployee#1013
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

Just had this crash when going from Episode 1 to Episode 2 using WadSmoosh. I don't know if this is actually the fault of gearbox, but figured I'd post it here since it shows its name in the error.

Mods loaded:
  • autoautosave v1.6.2
  • flashlight++ v8.5
  • gearbox v0.7.2
  • inventory keeper v2
  • mXhairs
  • nash cursors
  • togglefreecamera
  • Codename: DEMOLITIONIST v1.2.31
  • SmoothDoomLITE
  • Champions
  • Corruption Cards v3.8
User avatar
m8f
 
 
Posts: 1397
Joined: Fri Dec 29, 2017 4:15 am
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit
Location: Siberia (UTC+7)

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by m8f »

Thanks for reporting! Added a null check. Please check this build: https://github.com/mmaulwurff/gearbox/a ... master.zip
User avatar
mamaluigisbagel
Posts: 387
Joined: Wed Jul 09, 2014 7:25 pm
Discord: Nonemployee#1013
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

Seems to work now, thanks! If I find anything else, I'll make sure to edit this post.

Return to “Gameplay Mods”