disable use key?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
Guest

disable use key?

Post by Guest »

Hello,

Finally managed to get GZDoom working with ZDL to play Dynamic Doom (also tried Arachnotron launcher but that didn't do anything).

I'm quite happy with it, apart from the fact that it forces me to press the Use key for picking up items. Having to look down to pick up every single thing is really getting on my nerves, is there any way to disable this please?

I looked on youtube, read the wiki, tried searching the forum for the answer (got too many results) but found no solution as of yet.

Thank you!
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: disable use key?

Post by Matt »

It's hard-coded into the mod itself. You'll have to alter whatever the mod is doing so it doesn't do that.

(Looking at some gameplay video it looks like something's checking for the player pressing the Use key and then setting the +PICKUP flag accordingly. Change that so the playerpawn always has +PICKUP and that should address it.)
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: disable use key?

Post by Mikk- »

Here's a quick & dirty fix that should work. It's a simple event handler that gives players an item that constantly sets the +PICKUP flag. Simply load this alongside your other mods, voila; all weapons and pickups are picked up automatically.
https://drive.google.com/file/d/1Xtmy4m ... sp=sharing
Post Reply

Return to “General”