[minimod][v0.7.0] 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 YOUR 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.

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

Postby Nimlouth » Fri Jul 30, 2021 1:03 pm

Hey! So, first of all, I know I'm that annoying dude that keeps asking for a dumb feature, but I just think it's a fun idea and I found an equally dumb way to dirty-hack it in that someone might find interesting.

So, in a previous post I said someone found a debug feature in GZDoom that sort of works like slow-mo, devs already said it is not currently a "modding feature" but more of a sort of buggy thing they implemented a while ago for testing purpouses. This is the i_timescale parameter. SgtMarkIV released a video talking about it and a simple mod that binds the console command to a key and adds a soundFX to make it feel like actual slow mo. There are several issues with i_timescale but the major thing seems to be that it messes with THE WHOLE engine, so i.e opening the console while on a lower timescale would make it open slower too, etc.

Having toyed around with it, I can say it works just well enough that it doesn't create major problems and the mini mod that binds it to a key makes it super useful for recording cool footage and such.

And so, while playing EoA (a DOOM2016 mod) I just sat thinking, man, the Gearbox weapon wheel would be just perfect for this if would toggle some sort of slow-mo like DOOM 2016 does.

I then just went ahead and learned did it with AutoHotkey haha here's a video demo I recorded:


I basically:

a) Bound alt to hold-release wapon wheel toggle.
b) Bound numpad8 to slow-mo toggle.
c) Made an AH script that sends a numapd8 key press each time I press alt AND also when I release alt. This toggles slow-mo on when pressing alt to open the wheel and toggles it off when I release alt to select a weapon. (0ω0)b

Here's the AH script for anyone interested, you can also find the "slow-mo" mod in as an attachment in this post.
Spoiler:


I think using i_timescale in its current state CAN be problematic, but maybe it could be implemented as an experimental feature within Gearbox?

Cheers!
You do not have the required permissions to view the files attached to this post.
User avatar
Nimlouth
 
Joined: 06 May 2020
Location: Argentina
Discord: Nimlouth#9203
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

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

Postby wildweasel » Fri Jul 30, 2021 2:58 pm

Mods cannot change i_timescale. The feature is unfinished and not intended to be used in such ways yet.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

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

Postby Nimlouth » Fri Jul 30, 2021 6:00 pm

wildweasel wrote:Mods cannot change i_timescale. The feature is unfinished and not intended to be used in such ways yet.


Oh :'c.

You mean "mods cannot change i_timescale" like in "you literally can't use it because there is no way to use it yet (like say, there's no way to use it zscript)" or like "you shouldn't use it because it's not finished yet and it would be bad developing practice?"
User avatar
Nimlouth
 
Joined: 06 May 2020
Location: Argentina
Discord: Nimlouth#9203
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

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

Postby wildweasel » Fri Jul 30, 2021 7:21 pm

Zscript has no way to access it, and there will be a lot of unintended side effects if you use the console command in the wrong kind of way (such as with input polling). I wouldn't recommend making a mod that relies on the current implementation.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

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

Postby saladofstones » Sat Aug 07, 2021 8:52 pm

Is it possible to have an option that emulates the old weapon menu? I've been using it until it stopped working for certain hideous destructor mods. I'm trying gearbox, but I really miss the old UI.
saladofstones
 
Joined: 31 Jul 2018

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

Postby m8f » Sat Aug 07, 2021 8:59 pm

I've been thinking about adding more representations, old-style text UI one of them. However, I don't want to bring back all the customizability of it, because it quickly becomes hard to maintain and error-prone. Can you please post a screenshot of your Weapon Menu UI?
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit

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

Postby Ermac » Sun Aug 08, 2021 3:45 pm

Is it possible to add colored borders for the selected weapon/item icon (so it looks like a highlighted icon) in LZDoom build since the wheel has no selection indicator on the icons themselves?
User avatar
Ermac
 
Joined: 01 Sep 2017
Discord: Ermac#4730
Github ID: iAmErmac
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

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

Postby m8f » Mon Aug 09, 2021 6:30 am

No, LZDoom doesn't support rotated graphics for that.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit

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

Postby Ermac » Mon Aug 09, 2021 11:09 am

Yes I know that's not possible in LZDoom. I was asking for something like this
Spoiler:

Like copying the icon itself but slightly bigger, with a color fill and placed underneath the actual icon, so it'll look like a highlighted icon when selected
User avatar
Ermac
 
Joined: 01 Sep 2017
Discord: Ermac#4730
Github ID: iAmErmac
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

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

Postby m8f » Mon Aug 09, 2021 11:20 am

Thanks for the suggestion. I have to think about it, created an issue for this.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit

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

Postby De-M-oN » Tue Aug 10, 2021 5:46 pm

That will be super helpful for VR because there I dont have so much buttons with the VR Controllers.
User avatar
De-M-oN
 
Joined: 26 May 2008

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

Postby m8f » Wed Aug 11, 2021 11:56 am

Gearbox updated to v0.6.0.

Changes since v0.5.1:

New:
  • Plain Text view.
Fixed:
  • Wheel mouse input affecting mouse input in Blocks view;
  • velocity being restored even if freezing is off;
  • hidden guns being selectable by number keys;
  • weapon scale defined in weapon class not being taken into account.

Thanks to Accensus and Someone64 for bug reports.

User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit

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

Postby Enjay » Wed Aug 11, 2021 1:21 pm

Very nice fixes and additions, thank you.

Is there a way to make Gearbox in Wheel mode respect my inverted mouse Y axis (when mouse is enabled in wheel mode)? It's very difficult to use wheel mode if your mouse is set to inverted. I normally use Blocks, where it isn't an issue but I just tried Wheel and couldn't see an option to address this.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

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

Postby Delfino Furioso » Thu Aug 12, 2021 4:12 am

I've tried the latest release and I'm loving the plain text UI... keep up the good work!
User avatar
Delfino Furioso
 
Joined: 27 Mar 2021

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

Postby saladofstones » Thu Aug 12, 2021 4:35 pm

i really appreciate the plain text UI, but is it possible to have the functionality to increase priority for certain weapons? Along with choosing the order of how weapons are selected. I realize this is probably a pretty extensive framework but I honestly consider the previous weapon mod to be so functional I'm having a hard time coping.
saladofstones
 
Joined: 31 Jul 2018

PreviousNext

Return to Gameplay Mods

Who is online

Users browsing this forum: Combine_Kegan, D2 Mod Player and 7 guests