[minimod][v3.10.1] Weapon Menu +
-
- Posts: 195
- Joined: Thu Jul 07, 2016 7:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): SteamOS
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Manhattan, IL
Re: [v1.10] Weapon Menu
Is there any way to program this ZScript to take effect when using GZDoom's built-in Prev/Next Weapon inputs, instead of separate keybinds? Question coming from a Delta Touch user...
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: [v1.10] Weapon Menu
I'll look into it. It may be not possible to do this universally and within constraints of current implementation.
Delta Touch page says that it has "Custom buttons for GZDoom for mods". So I assume that Weapon Menu is usable on Delta Touch, just uncomfortable, is it?
Delta Touch page says that it has "Custom buttons for GZDoom for mods". So I assume that Weapon Menu is usable on Delta Touch, just uncomfortable, is it?
-
- Posts: 195
- Joined: Thu Jul 07, 2016 7:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): SteamOS
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Manhattan, IL
Re: [v1.10] Weapon Menu
It is, but only six custom buttons can be used at any given time, and more often than not they're already bound to vital functions in the mods I play...m8f wrote:So I assume that Weapon Menu is usable on Delta Touch, just uncomfortable, is it?
Brutal Doom: Reloading/Unloading (doublebind), Kicking, Throwing Grenades, Flashlight, Dual-Wielding, and Offending.
Doom Incarnate: Reloading, Hatchet Slice/Throw, Throw Grenade, Left Hand Firemode/Crosswield, Right Hand Firemode/Crosswield, Dual-Wielding.
...and the Prev/Next weapon inputs on my controller are hard-coded into Delta Touch, and cannot be bound to something else.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: [v1.10] Weapon Menu
Ok. Thanks for the input. I'll see how I can employ InputProcess function from EventHandler.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: Weapon Menu [v1.13] (+ weapon slot customization)
Updates:
1.10-1.13:
added Project MSX out of the box support.
added Accessories to Murder out of the box support.
fixed: selecting already selected weapon doesn't reset last used weapon now.
added keys for changing weapon slot. Now you can totally reorganize the order of the weapons! Weapon order changes are reset on new game.
1.10-1.13:
added Project MSX out of the box support.
added Accessories to Murder out of the box support.
fixed: selecting already selected weapon doesn't reset last used weapon now.
added keys for changing weapon slot. Now you can totally reorganize the order of the weapons! Weapon order changes are reset on new game.
Last edited by m8f on Fri Apr 20, 2018 3:46 am, edited 1 time in total.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: Weapon Menu [v1.13] (+ weapon slot customization)
There was a bug in version 1.13 that could cause a crash. Please download version 1.13.1 instead.
-
- Posts: 87
- Joined: Tue Jul 12, 2016 9:06 pm
- Location: Seabound
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
Wow, thank you for this, and a big thanks for the DRLA compatability! You're awesome
-
- Posts: 307
- Joined: Tue Sep 04, 2012 9:11 pm
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
Is there a way to clear/erase a list if the auto-detection doesn't quite work right? Two different mods, one that tries to TC all weapons, items and enemies into Duke Nukem 3D stuff, and Project Brutality, ended up detecting very limited weapons and thus making the mod kind of unusable for them normally. I think PB broke it because of the way it handles weapons and upgrades, probably too much for the mod. Meanwhile DN3D broke because it has a power-up that changes weapons into different variants, and "giving the player everything" for the auto-detection gave the power-up and thus only detected the power-up versions at the time.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
Yes. Open gzdoom.ini file, find variable "M8fWeaponMenuRememberedClass" and delete it or change its value.
Too much for the mod - I don't think so. Menu handles HXRTC Project, DoomRL Arsenal, Russian Overkill (with wmauto) without problems. Project Brutality forbids cheats, can you try setting "sv_cheats true" (note that it takes effect on next map, so "map *" may help)?
DN3D - I'll look into it. Can you say what mod is it?
Too much for the mod - I don't think so. Menu handles HXRTC Project, DoomRL Arsenal, Russian Overkill (with wmauto) without problems. Project Brutality forbids cheats, can you try setting "sv_cheats true" (note that it takes effect on next map, so "map *" may help)?
DN3D - I'll look into it. Can you say what mod is it?
-
- Posts: 307
- Joined: Tue Sep 04, 2012 9:11 pm
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
I tried the sv_cheats thing just to make sure and got the same result. Though strangely, the detection for PB hung for several seconds per each percentage jump until I think it hit 70%. The DN3D one did the same thing, though it just lists "Double Duke" infront of the weapons while keeping them selectable. And I dunno how old this thing is, it's probably not the best mod to be using nowadays but it's something.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
-
- Posts: 307
- Joined: Tue Sep 04, 2012 9:11 pm
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
Yeah, that's the full list. The names get influenced by the Double Duke power-up, but you can select them perfectly fine. Meanwhile for some reason Project Brutality isn't cooperating with the default pistol and rifle. Everything else shows just fine. I think it might have to do with the Weapon Upgrades for certain weapons replacing their normal counterparts in the menu somehow.
Edit: Turns out I was right. By disabling the 4 "weapon upgrade replacements" and then doing the check again, it added the rifle and pistol properly. I guess somehow having the replacement upgrades enabled hides the base ones from the detection.
Edit: Turns out I was right. By disabling the 4 "weapon upgrade replacements" and then doing the check again, it added the rifle and pistol properly. I guess somehow having the replacement upgrades enabled hides the base ones from the detection.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
Thank you for reporting! I'll add out-of-the box support for both.
Edit: maybe not, since mods are working fine with wmauto.
Edit: maybe not, since mods are working fine with wmauto.
-
-
- Posts: 1446
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
Tested both mods. I have no problems with Project Brutality at all. Rifle and pistol are present in the list and are selectable. Weapon that can be upgraded are present in the list and are selectable. Are you sure that you use the latest Project Brutality version (2.03)?RikohZX wrote:Brutality isn't cooperating with the default pistol and rifle. ...
Edit: Turns out I was right. By disabling the 4 "weapon upgrade replacements" and then doing the check again, it added the rifle and pistol properly. I guess somehow having the replacement upgrades enabled hides the base ones from the detection.
-
- Posts: 307
- Joined: Tue Sep 04, 2012 9:11 pm
Re: Weapon Menu [v1.14.1] (+ DoomRL Arsenal)
I'm using a 3.0 test, actually, so that probably might have something to do with it.