Weapon wheel mod?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Weapon wheel mod?

Post by PooshhMao »

Hi,

I'm not sure what forum to ask this in.

I'm one of those players that strictly relies on the mousewheel to switch weapons, I've never grown accustomed to using keyboard shortcuts in my 20+ years of playing Doom.

I'm looking for a mod that would implement a half-life style weapons menu, that would pop up instantly when you roll the mouse wheel, allowing you to precisely and quickly select the weapon you need in intense situations.

More or less something like this > http://www.moddb.com/mods/brutal-doom/a ... apon-wheel,
but ideally not restricted for use by a single mod.

Questions:

- Does a mod like that exist? I've googled and stuff, honest
- If it doesn't exist, how feasible is it to develop one? As I said, it would only truly be useful if it would be mod-independent
PWAD Pete
Posts: 466
Joined: Wed Oct 09, 2013 11:11 pm

Re: Weapon wheel mod?

Post by PWAD Pete »

While I don't think it's exactly what you're asking for, there's a weapon spinner mod here. I do believe it would be possible to modify it to make it more like the half life weapon wheel. I'll put that on my list of things to eventually do.
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Re: Weapon wheel mod?

Post by PooshhMao »

Hi,

I tried your mod. Yeah, this is more or less what I've been talking about, however it's not really usable for me in it's current state.

- Not being compatible with anything else but vanilla, or the requirement for mod-specific builds is a problem. I am guessing implementing this is not as trivial as 'hey doom, please return me a list of all the weapons the player currently has possession of" ?

- It doesn't seem to do much more than represent selecting weapons graphically, and slowly at that.
It's too slow and clunky. The menu refuses input whenever the player is raising or lowering a weapon. Scrolling through It should always respond immediately, regardless of whatever the player is doing. Also, the animation seriously slows it down.

- The weapon should only be selected by clicking the mouse. The purpose is kind of defeated, otherwise.

Sorry if this sounds discouraging, it's definitely a promising start. The best advice I could give is 'make it behave exactly like Half-Life', and I would add this to my autostarts in a heartbeat. And buy you a beer if you're ever in the neighbourhood.

Thanks for your effort, hopefully you will take my suggestions into consideration :)
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Weapon wheel mod?

Post by wildweasel »

PooshhMao wrote:- It doesn't seem to do much more than represent selecting weapons graphically, and slowly at that.
It's too slow and clunky. The menu refuses input whenever the player is raising or lowering a weapon. Scrolling through It should always respond immediately, regardless of whatever the player is doing. Also, the animation seriously slows it down.

- The weapon should only be selected by clicking the mouse. The purpose is kind of defeated, otherwise.
The biggest obstacle here is that, while I imagine scripts can check for the proper inputs, they can't block those inputs and "take over" for them. I would really like to see an HL-style "weapon bucket" system, but I fear it'd require more than a mere PWAD can provide.
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Re: Weapon wheel mod?

Post by PooshhMao »

Oh good, so I'm not the only one.

Seriously, it would improve my game a lot. Also, I can't think of too many FPS games where this would be more useful than Doom. Most WADS I enjoy playing are rather intense affairs and all too often I don't even bother switching to the most optimal weapon for a particular enemy because I would need to switch back afterwards. Or I need to walk around dodging incoming attacks while I frantically try to select the weapon I need.

Holy shit, I want this. If this cannot be done using add-on modding, maybe the ZDoom devs are willing to take a look at it as a feature request?
User avatar
edward850
Posts: 5902
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Weapon wheel mod?

Post by edward850 »

It's not impossible, but it'd certainly be awhile before anybody could get a chance to do anything with such a request. The two key things that need implementing for a HL style weapon selection is some sort of interface to display what weapons can be selected (it'll all need to be reinvented), and hijacking the fire action from the tic constructor to prevent it from being passed on as an input event (and instead as a weapon selection action).

For the meantime however, Weapnext/prev can display what weapon you're selecting already, which you can use as instant feedback (weapon selection itself is already passive and can be "interrupted" with other selections). You can find it under HUD Options -> Display Nametags.
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Re: Weapon wheel mod?

Post by PooshhMao »

Okay, I've got that enabled now, but it's not all that helpful.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: Weapon wheel mod?

Post by Arctangent »

Depending on what PWADs you're using, that might be their fault. A lot of PWADs that add custom lowering and raising animations do not allow you to cancel them, forcing you to go through both of them if you don't get to your intended weapon before your current one completely lowers.
User avatar
edward850
Posts: 5902
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Weapon wheel mod?

Post by edward850 »

That's not quite true. You can't cancel a selection (as long as something exists in the selected weapon slot, you will eventually swap to it). Weapons with non-standard raise animations can't be immediately interrupted (a_raise needs to be called to be interrupted), but the moment the weapon is ready it'll immediately start deselecting again. You can always keep hot-cycling as long as you don't reselect the weapon you're already running.
User avatar
Oberron
Posts: 1048
Joined: Sun Aug 02, 2015 1:20 am
Graphics Processor: ATI/AMD (Modern GZDoom)
Location: Czech Republic
Contact:

Re: Weapon wheel mod?

Post by Oberron »

Half-Life style.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Weapon wheel mod?

Post by wildweasel »

Oberron wrote:Half-Life style.
Your post is so short that I have no idea what kind of context you were trying to use. In the future, I'm sure everyone would appreciate if you wrote complete thoughts.
User avatar
Oberron
Posts: 1048
Joined: Sun Aug 02, 2015 1:20 am
Graphics Processor: ATI/AMD (Modern GZDoom)
Location: Czech Republic
Contact:

Re: Weapon wheel mod?

Post by Oberron »

(off-topic) I'm sorry. I write long posts, though.
GleasSpty
Posts: 48
Joined: Tue Apr 19, 2016 6:17 am

Re: Weapon wheel mod?

Post by GleasSpty »

I just finished making a weapon wheel mod (see http://www.moddb.com/mods/brutal-doom/a ... apon-wheel).

Let me know what you think / if you find any bugs / have suggestions for improvement.
Last edited by GleasSpty on Sun May 08, 2016 8:07 pm, edited 1 time in total.
User avatar
maseter
Posts: 170
Joined: Wed Apr 15, 2015 1:16 pm

Re: Weapon wheel mod?

Post by maseter »

I can only select with left and right mouse movement, or left and right arrow keys, up and down with the mouse, ur up and down arrow keys makes me move, not select a weapon. For illustration, this is how his weapon wheel mod looks like, set they key in the controls:
Image
GleasSpty
Posts: 48
Joined: Tue Apr 19, 2016 6:17 am

Re: Weapon wheel mod?

Post by GleasSpty »

If you mean you cannot select a weapon with the "Next weapon" and "Previous weapon" keys, that's because I have not coded this feature. If you can explain in more detail about what you had in mind though, I can consider adding it.
Post Reply

Return to “General”