[minimod][v0.7.3] Gearbox - weapon/inventory handling
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.
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.
-
DoomMaykr
- Posts: 1
- Joined: Tue Dec 24, 2024 1:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
Gearbox Error
when i launch the mod it shows 3 errors here
GScript error, "gearbox-v0.7.2.pk3:zscript/gearbox/weapon_menu.zs" line 292:
GCannot convert SInt4 to TextureID
GScript error, "gearbox-v0.7.2.pk3:zscript/gearbox/weapon_menu.zs" line 314:
GCannot convert SInt4 to TextureID
GScript error, "gearbox-v0.7.2.pk3:zscript/gearbox/inventory_menu.zs" line 107:
GCannot convert SInt4 to TextureID
WHY?
GScript error, "gearbox-v0.7.2.pk3:zscript/gearbox/weapon_menu.zs" line 292:
GCannot convert SInt4 to TextureID
GScript error, "gearbox-v0.7.2.pk3:zscript/gearbox/weapon_menu.zs" line 314:
GCannot convert SInt4 to TextureID
GScript error, "gearbox-v0.7.2.pk3:zscript/gearbox/inventory_menu.zs" line 107:
GCannot convert SInt4 to TextureID
WHY?
-
Enjay
-

- Posts: 27511
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling
Yes, this is a known issue. It affects my projects too. However, it is the result of a deliberate change for very good reasons:
Explained:
viewtopic.php?t=79997
My own issues thread:
viewtopic.php?t=79987
Explained:
viewtopic.php?t=79997
My own issues thread:
viewtopic.php?t=79987
-
Delfino Furioso
- Posts: 122
- Joined: Sat Mar 27, 2021 3:21 pm
Re: [minimod][v0.7.2] Gearbox - weapon/inventory handling
and a fix has been proposed here
https://github.com/mmaulwurff/gearbox/pull/47
https://github.com/mmaulwurff/gearbox/pull/47
-
m8f
-

- Posts: 1469
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Location: Siberia (UTC+7)
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
Thanks! Gearbox v0.7.3 released.
Fixes include:
- TextureID type fixes for GZD 4.14 (thanks to jekyllgrim).
- Fix VM Abort when externalSelectedIndexInModel is not set (thanks to UndeadZeratul).
Fixes include:
- TextureID type fixes for GZD 4.14 (thanks to jekyllgrim).
- Fix VM Abort when externalSelectedIndexInModel is not set (thanks to UndeadZeratul).
Last edited by m8f on Sat Dec 28, 2024 8:52 am, edited 2 times in total.
-
Enjay
-

- Posts: 27511
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
Awesome! Thank you very much. It seems to be working nicely in 4.14.0. 
-
Major Cooke
- Posts: 8218
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
If this mod doesn't have it already, it might be worth adding an actual menu to select the weapon from in order to prevent scripts from running. This is a problem I had with D4D, where the holographic menu I tried making couldn't stop scripts or lifts from moving. Toggleable option though. Maybe ZForms might be able to help.
-
ToxicFrog
- Posts: 240
- Joined: Thu Oct 05, 2017 10:09 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): NixOS
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
As far as I can tell it doesn't, but you're right, that would be nice. A basic menu wouldn't be very aesthetic but would completely stop the playsim in a way that FreezePlayer()/FreezeLevel() can't, and a ZForms menu could be quite stylish.
-
anthraxthanasimos
- Posts: 21
- Joined: Sat Oct 26, 2024 7:42 am
- Preferred Pronouns: No Preference
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
Very cool! Thank you for the update! Is there any way to move the blocks across the screen in horizontal or vertical?
-
hestan667
- Posts: 5
- Joined: Fri May 30, 2025 7:19 pm
- Location: AALIENS.WAD Map24
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
found the bug, i cant move when playing with trailblazer upgraded nutcracker (it can stop the time) and using freeze command when playing original doom without mods
it always happen when you choose behaviour option freeze to 1 i use gzdoom-4-14-1
it always happen when you choose behaviour option freeze to 1 i use gzdoom-4-14-1
-
CthulhuInACan
- Posts: 15
- Joined: Sat Dec 22, 2018 3:41 am
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
Is there any way to use Gearbox to select an item without using it, so it's your active item and can be used with the normal item use key?
-
Cjoy1
- Posts: 3
- Joined: Mon Nov 17, 2025 9:40 am
- Operating System Version (Optional): win10
- Graphics Processor: nVidia with Vulkan support
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
Hi, how wouold i go about making it work with godcomplex? Wherever i put it in load order it spews a load of errors and crashes
-
Enjay
-

- Posts: 27511
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
You're going to have to give people something to work with. e.g. what errors does it "spew"?
Is is actually a crash (with a crash log) or a VM Abort?
A link to the mod would also be useful. Presumably https://www.moddb.com/mods/ultraviolence ?
The more information you can give and the less research other people have to do just to figure out what you are describing, the more likely you are to get help.
Is is actually a crash (with a crash log) or a VM Abort?
A link to the mod would also be useful. Presumably https://www.moddb.com/mods/ultraviolence ?
The more information you can give and the less research other people have to do just to figure out what you are describing, the more likely you are to get help.
-
Cjoy1
- Posts: 3
- Joined: Mon Nov 17, 2025 9:40 am
- Operating System Version (Optional): win10
- Graphics Processor: nVidia with Vulkan support
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
Sorry, here's some info
> e.g. what errors does it "spew"?
https://pastebin.com/vq7J61eY
> https://www.moddb.com/mods/ultraviolence ?
Yes, this is the version i'm using
I'm sorry I can't tell you more in this response because I don't know what else to tell you. Frankly, i'm pretty new troubleshooting doom specifically, beause usually all i try to play is either vanilla or vanilla adjacent so i don't run into many errors..
> e.g. what errors does it "spew"?
https://pastebin.com/vq7J61eY
> https://www.moddb.com/mods/ultraviolence ?
Yes, this is the version i'm using
I'm sorry I can't tell you more in this response because I don't know what else to tell you. Frankly, i'm pretty new troubleshooting doom specifically, beause usually all i try to play is either vanilla or vanilla adjacent so i don't run into many errors..
-
Enjay
-

- Posts: 27511
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
OK, that's a lot of errors. Interestingly, however, none of them that I can see list a problem with the Gearbox mod. I've also tried to run GodComplex on its own (following the instructions that come with the mod) and I can't get it to start in UZDoom, GZDoom Git build or GZDoom official.
Can you actually get GodComplex running without Gearbox loaded? My suspicion is that GodComplex is the problem, not Gearbox.
Can you actually get GodComplex running without Gearbox loaded? My suspicion is that GodComplex is the problem, not Gearbox.
-
Cjoy1
- Posts: 3
- Joined: Mon Nov 17, 2025 9:40 am
- Operating System Version (Optional): win10
- Graphics Processor: nVidia with Vulkan support
Re: [minimod][v0.7.3] Gearbox - weapon/inventory handling
> Can you actually get GodComplex running without Gearbox loaded? My
> suspicion is that GodComplex is the problem, not Gearbox.
Funnily enough, no it doesn't work in GZ 4.14 and 4.6, giving the same errors when trying to load it in 4.14 with gearbox
However, it does load in g4.11pre-150 and works fine. When trying to load it with gearbox in this working version it gives literally the same errors as in the previous error log
> suspicion is that GodComplex is the problem, not Gearbox.
Funnily enough, no it doesn't work in GZ 4.14 and 4.6, giving the same errors when trying to load it in 4.14 with gearbox
However, it does load in g4.11pre-150 and works fine. When trying to load it with gearbox in this working version it gives literally the same errors as in the previous error log