[minimod][v0.7.3] 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.
DoomMaykr
Posts: 1
Joined: Tue Dec 24, 2024 1:17 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Gearbox Error

Post by DoomMaykr »

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?
User avatar
Enjay
 
 
Posts: 26690
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

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

Post by Enjay »

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
User avatar
Delfino Furioso
Posts: 121
Joined: Sat Mar 27, 2021 3:21 pm

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

Post by Delfino Furioso »

and a fix has been proposed here
https://github.com/mmaulwurff/gearbox/pull/47
User avatar
m8f
 
 
Posts: 1447
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.7.3] Gearbox - weapon/inventory handling

Post by m8f »

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).
Last edited by m8f on Sat Dec 28, 2024 8:52 am, edited 2 times in total.
User avatar
Enjay
 
 
Posts: 26690
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

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

Post by Enjay »

Awesome! Thank you very much. It seems to be working nicely in 4.14.0. :thumb:
User avatar
Major Cooke
Posts: 8197
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

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

Post by Major Cooke »

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.

Return to “Gameplay Mods”