[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
DrPyspy
Posts: 250
Joined: Sat Feb 21, 2015 7:35 pm
Location: Utah, USA

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

Post by DrPyspy »

[imgur]https://i.imgur.com/dK4vHlB[/imgur]

The PyWeaponWheel is an addon that aims to be as compatible as possible with
any mod or IWAD. It grabs all weapon actors, selects the ones that fit a certain criteria, and organizes them into a lovely wheel. This process is detailed in the README located inside the pk3. Despite its efforts, however, sometimes undesirable weapons creep onto the wheel. That is where the PYWHEEL lump comes in.

The PYWHEEL lump contains a series of definitions for mods that don't play nicely with the wheel for any reason. The mod contains its own collection of premade definitions for mods that I play (or mods that were requested to be supported during development.) However, what if a mod is not covered by this existing list? Well, you can include a PYWHEEL definition inside your own pk3! The mod will parse through all available PYWHEEL lumps that it can find. The syntax and parsing are a bit too lenient and wonky at the moment, but the base support is there.

The PyWeaponWheel is great not only for normal play, but its also a great enhancement for gamepad play! No need to fumble with your buttons trying to find the right weapon for the job, as you can now just pluck it out of the wheel and blast away your opposition. The mod is in an early state, but I'm releasing it to gather feedback on how it performs with the base game, mods, and more.

= Known Issues: =
  • Anything other than weapons, monsters, and actors will not freeze when the weapon wheel is open, including ACS scripts and platforms/lifts.
= IWADS Confirmed To Work: =
  • Doom/Doom2
  • Heretic
  • Hexen
  • Chex Quest
  • Strife(?)
= Mods Confirmed To Work: =
  • Doom Delta
  • MetaDoom
  • Juvenile Power Fantasy
  • Argent
  • LegenDoom
  • Doom: The Golden Souls 2
  • Project Babel
  • QC: Doom Edition
  • Death Foretold
  • High Noon Drifter
  • Samsara
  • Weasel Presents: Terrorists!
  • Hunter's Moon
  • NEW! Embers of Armageddon
  • NEW! Combined Arms
= Downloads: =

PyWeaponWheel v0.3 - This is what you will want to grab!
Spoiler: Changelog
PyWeaponWheel example addon - An example addon for potential creators to reference. This example in particular implements support for Brutal Doom by fixing weapon names, icons, and more.
Spoiler: Old Versions
Last edited by DrPyspy on Thu Jun 13, 2019 12:07 pm, edited 3 times in total.
User avatar
m8f
 
 
Posts: 1422
Joined: Fri Dec 29, 2017 4:15 am
Location: Siberia (UTC+7)

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

Post by m8f »

It's a very neat concept and beautiful implementation.

I didn't find how to control the wheel with the keyboard. Is it gamepad/joystick-only?
Spoiler: When I press "Open Weapon Wheel" key and don't release it, I get
User avatar
DrPyspy
Posts: 250
Joined: Sat Feb 21, 2015 7:35 pm
Location: Utah, USA

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

Post by DrPyspy »

m8f wrote:It's a very neat concept and beautiful implementation.

I didn't find how to control the wheel with the keyboard. Is it gamepad/joystick-only?
Its intended to be controlled by holding down the weapon wheel key and moving the mouse around the wheel. What OS are you using? A bunch of people have been having problems with Linux, but I'm not sure why.
User avatar
m8f
 
 
Posts: 1422
Joined: Fri Dec 29, 2017 4:15 am
Location: Siberia (UTC+7)

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

Post by m8f »

Yes, I'm on Linux. I'll try to investigate later.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

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

Post by Pixel Eater »

I'm getting the division by Zero on my iMac as well O-)
User avatar
DrPyspy
Posts: 250
Joined: Sat Feb 21, 2015 7:35 pm
Location: Utah, USA

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

Post by DrPyspy »

Thanks to m8f, the weapon wheel should work for others now. Try it out!
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

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

Post by Pixel Eater »

DrPyspy wrote:Thanks to m8f, the weapon wheel should work for others now. Try it out!
Awwww yeah this is fun! :mrgreen:
User avatar
Juste_ssgunner
Posts: 23
Joined: Sat Sep 09, 2017 12:04 am
Location: in the earth...sent whit hell....

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

Post by Juste_ssgunner »

hey this looks fun and tried to look for a similar wad for a long time :D
User avatar
Super Chex
Posts: 8
Joined: Mon Jul 11, 2011 11:28 am

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

Post by Super Chex »

Version 0.2 fixed the divide-by-zero glitch for me on Linux. Thanks a ton!
User avatar
MaxRideWizardLord
Posts: 345
Joined: Tue Jan 26, 2016 8:05 pm

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

Post by MaxRideWizardLord »

What's that game\mod on bottom left on the screenshot?
User avatar
Kinsie
Posts: 7333
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33

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

Post by Kinsie »

DrPyspy wrote:Thanks to m8f, the weapon wheel should work for others now.
This Mac/Linux-centric engine difference should probably be reported as a bug so that it doesn't bite anyone else in the ass.
MaxRideWizardLord wrote:What's that game\mod on bottom left on the screenshot?
QC: Doom Edition
User avatar
MaxRideWizardLord
Posts: 345
Joined: Tue Jan 26, 2016 8:05 pm

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

Post by MaxRideWizardLord »

Kinsie wrote:
DrPyspy wrote:Thanks to m8f, the weapon wheel should work for others now.
This Mac/Linux-centric engine difference should probably be reported as a bug so that it doesn't bite anyone else in the ass.
MaxRideWizardLord wrote:What's that game\mod on bottom left on the screenshot?
QC: Doom Edition
Oh... :c Well, I always was wonder about where that awesome looking BFG originally came from, i.e. gurumaster from russian overkill.
jablon1000
Posts: 62
Joined: Thu Jul 06, 2017 8:09 am

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

Post by jablon1000 »

Good mod, it works quite well with many weapons mod, but i would like to see wheel scaling option i future.
User avatar
Kyotra
Posts: 44
Joined: Sat Sep 30, 2017 9:44 pm

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

Post by Kyotra »

It was inevitable that this type of weapon select mod would show up, and I'm glad for it since this is the menu method I prefer. Now if only it came with a function to stop time when you open the menu....
User avatar
wildweasel
Moderator Team Lead
Posts: 21516
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10, 21H1
Graphics Processor: nVidia with Vulkan support

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

Post by wildweasel »

Kyotra wrote:It was inevitable that this type of weapon select mod would show up, and I'm glad for it since this is the menu method I prefer. Now if only it came with a function to stop time when you open the menu....
It does, it's just slightly limited in what kind of things it can actually stop (GZDoom limitations, sadly).

I've confirmed this to work with Cola 3, and made steps to ensure that it looks good. I suppose later on, I'll look what things I can do with the pywheel lump, so I can see if I can change which ammo numbers are visible.

Return to “Gameplay Mods”