Splitting weaponslots into different keys

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Splitting weaponslots into different keys

Post by Hirogen2 »

In a default Doom2 game, both SG and SSG are on '3'. Is there a way to only have the SG mapped to '3', while putting the SSG on, say, '8'? Perhaps overriding-replacing ACTOR DoomPlayer would work as a way out…
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Splitting weaponslots into different keys

Post by Gez »

There's always [wiki]KEYCONF[/wiki]. You can autoload a keyconf.txt file. It overrides newer slot definition methods, for compatibility purposes.

Alternatively, you supposedly could edit that on a player class-basis in the ini, but it seems it doesn't work. See this thread.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Splitting weaponslots into different keys

Post by randi »

Doing it in the INI works absolutely fine for me:

Code: Select all

[DoomPlayer.Weapons]
Slot[1]=Fist 
Slot[3]=Shotgun 
Slot[8]=SuperShotgun 
Slot[9]=Chainsaw
Unlisted slots will just be left at their defaults. Using setslot with no parameters will tell you exactly what to copy-and-paste into your INI.
Post Reply

Return to “General”