[WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

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
Dr_Cosmobyte
Posts: 2562
Joined: Thu Jun 04, 2015 9:07 pm
Location: Killing spiders.

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by Dr_Cosmobyte »

Works for kriegsland as well, but the akimbo icons are messed up. Excellent job!

EDIT: decided to edit this after noticing i expressed myself badly. I defined akimbo spawn sprites as the same as their single counterparts, so the mod isn't guilty of everything.
Last edited by Dr_Cosmobyte on Tue Mar 26, 2019 12:37 pm, edited 2 times in total.
User avatar
Arch-vile90
Posts: 131
Joined: Tue Jul 01, 2014 4:39 pm
Location: Italy, the place of pizza

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by Arch-vile90 »

Really cool tool. I think it is something that everyone wanted but no one wanted to create! lol

BTW, a few things that I would have preferred ( or you will want to add in future or soon ):
- Toggle or not the button for the weapon weel;
- Custom Size;
- Custom HUD position;

BUG ( or maybe not ): :?:
- Ammotype 2 it is not showed, although it is specified in the weapon.
User avatar
Xaser
 
 
Posts: 10771
Joined: Sun Jul 20, 2003 12:15 pm

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by Xaser »

I'm tickled pink that this just so happened to with ARGENT out of the box. A happy accident. :P
User avatar
ShockwaveS08
Posts: 185
Joined: Thu Jul 07, 2016 7:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 10
Location: Manhattan, IL

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by ShockwaveS08 »

Given how this weapon wheel is inspired by Doom 2016, and also how later updates to that game gave you access to a "second wheel" in Snapmap mode, how feasible would it be to include a "switch page" button that can be pressed to flip to another set of weapons?

A prime example of this would be the outright massive amount of weapons in HXRTC Project: Golden Edition; the weapons become so tiny on the wheel that it might as well be split up into multiple wheels so you can actually see what you're selecting. Project Brutality, in any of its forms, is also guilty of weapon oversaturation, in a similar manner.

Side-note: When loading Death Foretold with this mod, the Praetor Gauntlets and EMG Pistol look a bit strange on the wheel; the first-person sprites are used due to lack of third-person viewmodels. Might I suggest using the "current weapon" sprites from the mod's internal SBARINFO instead?
User avatar
BROS_ETT_311
Posts: 182
Joined: Fri Nov 03, 2017 6:05 pm

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by BROS_ETT_311 »

Sorry to bump this, but I've noticed a bug with the release of GZDoom 3.7.0. Weapon sprites no longer display when accessing the weaponwheel.
User avatar
iancer
Posts: 5
Joined: Sun Aug 19, 2018 11:02 am

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by iancer »

I can confirm I have experienced this bug as well, hoping for help.
slyrboi
Posts: 50
Joined: Fri Mar 01, 2019 2:30 am

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by slyrboi »

there are still some bugs like "NetEvent cannot be used outside of the map" i was using this in a test map when i press the wheel, i got that error
slyrboi
Posts: 50
Joined: Fri Mar 01, 2019 2:30 am

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by slyrboi »

there's a bug with the modern gzdoom engine where there are no icons at all, therefore i use the legacy version, can you managed to optimize for the modern engine? since now gzdoom had version 4.x
User avatar
DrPyspy
Posts: 250
Joined: Sat Feb 21, 2015 7:35 pm
Location: Utah, USA

Re: [WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

Post by DrPyspy »

This new version should work with new GZDoom versions! Unfortunately, I think I was working on a new feature that I forgot to finish, and I don't know if it'll break anything, but everything seems to work fine. Try it out with the new Embers of Armageddon and Combined Arms support!

Link is here.
User avatar
EricaOnline
Posts: 5
Joined: Fri Mar 15, 2019 3:53 pm

Re: [WIP] PyWeaponWheel v0.2 - Universal weapon wheel!

Post by EricaOnline »

This mod is brilliant and it led me to actually try out GZDoom with a controller (which was much better than I was expecting, tbh).
ShockwaveS08 wrote:Given how this weapon wheel is inspired by Doom 2016, and also how later updates to that game gave you access to a "second wheel" in Snapmap mode, how feasible would it be to include a "switch page" button that can be pressed to flip to another set of weapons?
I like this idea, but I guess enabling the user to sort their weapons between the wheels would either require some fancy menu coding or more weapon-mod-specific addon files (which is fine and worth it IMO).
~Nevertheless~, DrPyspy, if you decide to implement this... would you consider taking it a step further and allowing, say, 10 separate wheels? They could be fully custom or maybe just based on the weapon slots - either way, the point would be to replace the vanilla system in cases where each slot has a lot of entries. The user could then set bindings so that e.g. holding the 2 key brings up a wheel with only pistols in it (rather than having to hammer it 5 times to get to the one they want or whatever).
This could also be cool for making a "favourites" wheel.


ALSO also, as far as I can tell, PyWeaponWheel works just fine with DRPG SE + DRLA.

It even coped preeetty well when I removed DRLA's arms limit...



...but it does seem that past ~20 guns, adding more to your inventory causes the probability that triggering the wheel will crash the VM to approach 1:
User avatar
Sgt Nate V
Posts: 168
Joined: Sat Mar 04, 2017 4:21 pm
Location: somewhere

Re: [WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

Post by Sgt Nate V »

I've noticed that with Beautiful Doom (specifically the test builds Grim has up), I cannot select the fist with the wheel at first until I select it manually with the hotkey I have Slot 1 binded to. This applies to all three weapon modes.

EDIT: Another thing it should do is override anything that disables mouselook whenever the wheel is opened.
Last edited by Sgt Nate V on Sun Jun 16, 2019 7:15 pm, edited 1 time in total.
User avatar
Enjay
 
 
Posts: 26430
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: [WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

Post by Enjay »

Nice little mod. Useful for mods where there are a lot weapons (but obviously not too many). It makes finding the right weapon in such a mod very quick and easy.

I noticed a bunch of floating point truncations on startup with dev messages on. Are these known about?

Code: Select all

Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 60:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 597:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 697:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 697:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 699:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 699:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 704:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 704:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 706:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 706:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 710:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 710:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 715:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 823:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 823:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 830:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_core.zsc" line 831:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_drawer.zsc" line 31:
Truncation of floating point value
Script warning, "PyWeaponWheel_v0.3.pk3:zscript/pyw/ev_drawer.zsc" line 32:
Truncation of floating point value
sdaa
Posts: 13
Joined: Tue Apr 09, 2019 4:31 am

Re: [WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

Post by sdaa »

Wheel does not scroll if always mouselook turn off.
User avatar
sirleviatan
Posts: 15
Joined: Sun Mar 15, 2015 2:14 pm

Re: [WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

Post by sirleviatan »

Doom 4 Weapon Wheel like! (this is a test, of course)
https://www.mediafire.com/file/ip6tcjns ... e.pk3/file
i love this mod,thank you very much bro.
ileblanc
Posts: 24
Joined: Sat Jun 22, 2019 7:37 pm
Graphics Processor: Intel (Modern GZDoom)

Re: [WIP] PyWeaponWheel v0.3 - Universal weapon wheel!

Post by ileblanc »

I know near to nothing about making mods for Doom but I was wandering if it's possible to make this mod work like an addon from WoW called Opie (https://www.curseforge.com/wow/addons/opie) with nested rings like behaviour, grouping weapons by slot or type

Return to “Gameplay Mods”