[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
StraightWhiteMan
Posts: 60
Joined: Thu Jul 02, 2020 8:07 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: [minimod][v0.3.2] Gearbox - weapon selection mod

Post by StraightWhiteMan »

Not the biggest issue in the world by any means, but would it be possible to add an option to change the numbered slot boxes on top of the weapon slot boxes?
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.3.2] Gearbox - weapon selection mod

Post by m8f »

Change them to what? Font/color?
User avatar
StraightWhiteMan
Posts: 60
Joined: Thu Jul 02, 2020 8:07 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: [minimod][v0.3.2] Gearbox - weapon selection mod

Post by StraightWhiteMan »

Oops, sorry about that. I was referring to the colors, and only because sometimes after changing the weapon slot colors in Blocks Mode, the number slot colors will change to a random undesirable color. For example, if I set the weapon slot colors to a dark army green, the number slot colors will change to a hot pink, or sometimes they'll be a bright blue, the color seems to be random. As I said, it's definitely not a big deal, but it would be nice to have the option to choose if possible and have full control.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.3.2] Gearbox - weapon selection mod

Post by m8f »

Ah, that's actually a bug. Will be fixed in the next release. It was okay before I changed the formula for color calculation.
User avatar
StraightWhiteMan
Posts: 60
Joined: Thu Jul 02, 2020 8:07 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: [minimod][v0.3.2] Gearbox - weapon selection mod

Post by StraightWhiteMan »

Copy that, and thanks for clearing that up.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

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

Post by m8f »

Update! v0.4

Changelog since v0.3.2:

New:
  • inventory selection;
  • more accurate display of ammo and item quantity;
  • select previous weapon key;
  • VM abort handler (better reports);
  • optional background blur;
  • configurable position in blocks view;
  • command to reset settings to defaults;
  • options menu cleanup;
  • option to set if frozen player can open Gearbox.
Fixed:
  • repeated ticking when player has no weapons;
  • weapon wheel description moving when not necessary;
  • wrong complementary colors in blocks view;
  • wrong handling of tall weapon icons.
User avatar
Enjay
 
 
Posts: 26537
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

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

Post by Enjay »

Thanks for the update. Very much appreciated. I'm not sure how often I will use the inventory wheel/blocks (should their style be choosable independently?) but I can see some people really liking them.

BTW, our old friend the truncation warning is back. ;)

Code: Select all

Script warning, "gearbox-v0.4.pk3:zscript/gearbox/display/blocky_view.zs" line 65:
Truncation of floating point value
Script warning, "gearbox-v0.4.pk3:zscript/gearbox/display/blocky_view.zs" line 66:
Truncation of floating point value
User avatar
StraightWhiteMan
Posts: 60
Joined: Thu Jul 02, 2020 8:07 pm
Graphics Processor: nVidia (Modern GZDoom)

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

Post by StraightWhiteMan »

Great update m8f! The inventory selection is awesome and extremely handy. By far the best inventory management mod I've used. The previous weapon key is super handy too and makes gameplay smoother, and the options cleanup QoL improvements are nice and clean. Thanks for fixing the colors issue in blocks view as well.
Would it be possible to increase the weapon threshold so that when using this with mods like Brutal Doom, or Kriegsland all the weapons would be visible at once? It might look squished, but it would still be nice. If not though, it's okay, I'll live.
User avatar
JohnDoe8
Posts: 20
Joined: Tue Apr 14, 2020 9:28 am

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

Post by JohnDoe8 »

Thank you so much for reimplementing the last used weapon key! this mod is now permanently on my autoload list.

EDIT

Minor bug report, the previous weapon key does not carry over upon exiting the level.
User avatar
Colerx
Posts: 175
Joined: Thu Feb 11, 2021 6:16 am

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

Post by Colerx »

Nice update!! thank you!
User avatar
HDV
Posts: 7
Joined: Sun Jan 17, 2021 8:44 pm
Graphics Processor: nVidia (Modern GZDoom)

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

Post by HDV »

I want to say thanks, thanks a lot! Since I tried it, I cant play without it, it's soooo good! Love the wheel version with max number of visible weapons, intercepting the next/previous weapon key and mouse input disabled so I can still move the camera. More games should have this wheel thing to use with the mouse scroll, it's a huge quality of live improvement.
I just wish Smooth Doom's weapons would be visible.
User avatar
TheBeardedJedi
Posts: 63
Joined: Thu Mar 28, 2013 9:03 pm

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

Post by TheBeardedJedi »

m8f, Sorry if I didn't see this in one of the posts, but is there a plan to create controller compatiblity with this as well?
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

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

Post by m8f »

Enjay wrote:BTW, our old friend the truncation warning is back. ;)
Why my developer is 0 again? :D
StraightWhiteMan wrote:Would it be possible to increase the weapon threshold so that when using this with mods like Brutal Doom, or Kriegsland all the weapons would be visible at once?
Yup, will do.
JohnDoe8 wrote:Minor bug report, the previous weapon key does not carry over upon exiting the level.
Thanks for the heads up! Added to to-do list for v0.4.1.
HDV wrote:I just wish Smooth Doom's weapons would be visible.
Fixable, will do. I won't do it for every mod, but Smooth Doom deserves it. This is better be done on mod's side.
TheBeardedJedi wrote:m8f, Sorry if I didn't see this in one of the posts, but is there a plan to create controller compatiblity with this as well?
I'd prefer not to buy a controller to test one mod. Maybe if you describe what works and what doesn't, then I can make it compatible.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

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

Post by m8f »

Bugfix update: v0.4.1.

Bug fix release. Changelog from v0.4:
  • fixed selecting hidden weapons;
  • fixed constant ticking on tomed weapons and in some other cases;
  • fixed VM abort when the last inventory item is used up;
  • fixed truncation of floating point values warnings;
  • wheel: fixed misaligned quantity dots when quantity is odd;
  • blocks: fixed VM abort when there are no items;
New:
  • made previous weapon key carry information to the next level;
  • hardcoded icons for Smooth Doom;
  • blocks: don't draw placeholder icon;
  • wheel: increased max multiwheel threshold in settings;
  • wheel: draw the selected weapon/item above others for clarity;
User avatar
Nimlouth
Posts: 22
Joined: Wed May 06, 2020 8:34 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Argentina

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

Post by Nimlouth »

Time-freeze - probably yes. Time-slow - probably no.
Awww man! I was soooo loking forward to this since the old weapon menu mod had compatibility with the universal bullet-time mod :c

Return to “Gameplay Mods”