S.T.A.L.K.E.R. 2: Heart of Chornobyl

S.T.A.L.K.E.R. 2: Heart of Chornobyl

View Stats:
Shotgun Mike Nov 24, 2024 @ 5:54am
How to shoot GP-25 grenade launcher?
What's the key to switch to the underbarrel grenade launcher and actually fire?
< >
Showing 1-14 of 14 comments
Kurt_ Nov 24, 2024 @ 6:18am 
Hold TAB and press the key for underbarrel attachment, should be on the bottom right. (Controls are a bit ♥♥♥♥♥ right now)
Shotgun Mike Nov 24, 2024 @ 6:26am 
The actual answer is open weapon wheel and press 'C' (default bind). What a horrible way to implement this. They really should hire some UX designers...
Kurt_ Nov 24, 2024 @ 6:31am 
Write to the devs about it, I already did. The more we do, the more likely they'll implement it next patch
carminius.exe Nov 27, 2024 @ 1:30am 
I guess the default key is to Hold B (Weapon change fire mode)
Shotgun Mike Nov 27, 2024 @ 6:04am 
Originally posted by Spraco:
I guess the default key is to Hold B (Weapon change fire mode)
That doesn't work for me although I have rebound it to 'X'. Maybe the launcher is hardcoded to 'B'.
Honkbonkmann Nov 27, 2024 @ 10:55am 
Hi guys... I found out how to respec the button. First you need to set ANY keybind in your game options to "B". You can then edit the file "CustomizeControls.cfg" in your \AppData\Local\Stalker2\Saved folder where you will find something like this:

DefaultID = -1
bIsPlayerMappable = true
PlayerMappableOption = ToggleAttachMode
InputActionSID = IA_ToggleAttachMode
Key = ***!!! ENTER YOUR KEY HERE !!!***
OldKey = B
Triggers : struct.begin
[0] = EPlayerActionInputTrigger::Hold

You can then keep that button pressed and it will change to your under barrel weapon (i.e. grenade launcher). You can also bind this to X, for example, if you're already changing firing modes with the same button.

Hope this helps!
Last edited by Honkbonkmann; Nov 27, 2024 @ 11:10am
Shotgun Mike Nov 28, 2024 @ 9:17am 
Great find but I'm too lazy to do any more config editing and tweaking...
shadowsc133 Nov 28, 2024 @ 3:28pm 
Originally posted by Honkbonkmann:
...

That did it! Thanks!
MrMattV2 Nov 29, 2024 @ 7:09pm 
Originally posted by Honkbonkmann:
Hi guys... I found out how to respec the button. First you need to set ANY keybind in your game options to "B". You can then edit the file "CustomizeControls.cfg" in your \AppData\Local\Stalker2\Saved folder where you will find something like this:

DefaultID = -1
bIsPlayerMappable = true
PlayerMappableOption = ToggleAttachMode
InputActionSID = IA_ToggleAttachMode
Key = ***!!! ENTER YOUR KEY HERE !!!***
OldKey = B
Triggers : struct.begin
[0] = EPlayerActionInputTrigger::Hold

You can then keep that button pressed and it will change to your under barrel weapon (i.e. grenade launcher). You can also bind this to X, for example, if you're already changing firing modes with the same button.

Hope this helps!
Bummer I was hoping this would fix my issue. I use the mouse thumb button for leaning and if I press and hold up on the mouse thumb button it will go to the under barrel, I really hate that and I can't remove that as a hidden default. I tried to edit the config with your little tutorial with no luck. But I appreciate you helping others I'm sure.
Croissan't Dec 2, 2024 @ 9:45am 
I have a mouse with 2 additional buttons and when I hold Mouse 5, I select the GP-25. I don't see any option to change it in the settings however.
Originally posted by Honkbonkmann:
Hi guys... I found out how to respec the button. First you need to set ANY keybind in your game options to "B". You can then edit the file "CustomizeControls.cfg" in your \AppData\Local\Stalker2\Saved folder where you will find something like this:

DefaultID = -1
bIsPlayerMappable = true
PlayerMappableOption = ToggleAttachMode
InputActionSID = IA_ToggleAttachMode
Key = ***!!! ENTER YOUR KEY HERE !!!***
OldKey = B
Triggers : struct.begin
[0] = EPlayerActionInputTrigger::Hold

You can then keep that button pressed and it will change to your under barrel weapon (i.e. grenade launcher). You can also bind this to X, for example, if you're already changing firing modes with the same button.

Hope this helps!

Which category do I put that in? I mean there are "None", "Inventory", "Trade", "Dialogue", "DialogueOnTheGo" etc. in the code. It is unclear where to paste your part of the code for it to work.
Also I did not find your part of the code already in the file at all, I only searched for "ToggleAttachMode", it only appears once you change the bind for it in-game but you can't.
Last edited by idk what to put here; Dec 5, 2024 @ 7:46am
WooKie Dec 8, 2024 @ 5:02am 
hold and release forward mouse button.
Last edited by WooKie; Dec 8, 2024 @ 5:03am
I managed to bind it to T by binding anything in the "fight and exploration" category (or whatever it's called) and looking for "ToggleAttachMode", then changed the key to T, did similiar with melee (bound to "LeftAlt" in code).

Originally posted by WooKie:
hold and release forward mouse button.

I bound forward and backward side mouse buttons to slots 1 and 3 respectively (1 and 3 press, 2 and 4 hold, it's different visually and in the settings) and couldn't find "ToggleAttachModeAlt" (I tried ToggleAttachMode) like it is with other binds so maybe I didn't have that bound from the beginning at all.
Last edited by idk what to put here; Dec 8, 2024 @ 7:49am
Diver27 Jan 22 @ 5:31am 
Originally posted by MrMattV2:
Originally posted by Honkbonkmann:
Hi guys... I found out how to respec the button. First you need to set ANY keybind in your game options to "B". You can then edit the file "CustomizeControls.cfg" in your \AppData\Local\Stalker2\Saved folder where you will find something like this:

DefaultID = -1
bIsPlayerMappable = true
PlayerMappableOption = ToggleAttachMode
InputActionSID = IA_ToggleAttachMode
Key = ***!!! ENTER YOUR KEY HERE !!!***
OldKey = B
Triggers : struct.begin
[0] = EPlayerActionInputTrigger::Hold

You can then keep that button pressed and it will change to your under barrel weapon (i.e. grenade launcher). You can also bind this to X, for example, if you're already changing firing modes with the same button.

Hope this helps!
Bummer I was hoping this would fix my issue. I use the mouse thumb button for leaning and if I press and hold up on the mouse thumb button it will go to the under barrel, I really hate that and I can't remove that as a hidden default. I tried to edit the config with your little tutorial with no luck. But I appreciate you helping others I'm sure.

I had the same problem and I finally figured out how to fix it. There is actually a hidden keybind "ToggleAttachModeAlt" and by default it's bound to ThumbMousebutton2, the same key for "ChangeFireTypeAlt". To override it you have to declare the entry in CustomizeControls.cfg and bind it to another key. For example:

[37] : struct.begin
DefaultID = -1
bIsPlayerMappable = true
PlayerMappableOption = ChangeFireTypeAlt
InputActionSID = IA_ChangeFireType
Key = T
OldKey = ThumbMouseButton2
Triggers : struct.begin
[0] = EPlayerActionInputTrigger::Tap
struct.end
struct.end
[38] : struct.begin
DefaultID = -1
bIsPlayerMappable = true
PlayerMappableOption = ToggleAttachModeAlt
InputActionSID = IA_ToggleAttachMode
Key = G
OldKey = ThumbMouseButton2
Triggers : struct.begin
[0] = EPlayerActionInputTrigger::Hold
struct.end
struct.end

I put it in the Exploration section of the cfg and it fixed the issue.
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: Nov 24, 2024 @ 5:54am
Posts: 14