[12.25][steam] Weapon switching does not work

Bugs that are actually features.
Necris
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Mar 05, 2016 4:06 pm
Contact:

[12.25][steam] Weapon switching does not work

Post by Necris »

Hi, I have equipped a automatic rifle and a shotgun in my weapon slots and ammunition for each of them. Pressing Q does not change to the next weapon. I tryed to rebind the key to X, but the problem was still unsolved. The keyboard is a german one, but Q is on the same place there.

Bob's mods are installed, so there is a possibility, that it is a problem with the mod.

Loewchen
Global Moderator
Global Moderator
Posts: 8972
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [12.25][steam] Weapon switching does not work

Post by Loewchen »

Bobs does not change key-bindings, could you post your config.ini from your application directory (https://wiki.factorio.com/index.php?tit ... _directory)

Necris
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Mar 05, 2016 4:06 pm
Contact:

Re: [12.25][steam] Weapon switching does not work

Post by Necris »

Here it is.
Attachments
config.ini
(4.53 KiB) Downloaded 94 times

kovarex
Factorio Staff
Factorio Staff
Posts: 8195
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [12.25][steam] Weapon switching does not work

Post by kovarex »

Are both the slots green? Can you post the save game?

Necris
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Mar 05, 2016 4:06 pm
Contact:

Re: [12.25][steam] Weapon switching does not work

Post by Necris »

They should be both green? Ok I took a screenshot, just in case, that it works normal for you. I have installed the Tree Farm lite mod also, so i guess you need that to load the save.
Attachments
Weapon_bug.png
Weapon_bug.png (1.34 MiB) Viewed 2618 times
Necris.zip
(4.38 MiB) Downloaded 84 times

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [12.25][steam] Weapon switching does not work

Post by daniel34 »

Using your config.ini, save, mods and german keyboard I can replicate the issue, but only because you bound the key to X.

The reason is that X is already reserved for Inventory - Change active quickbar and it won't work if you also set it as Next weapon.
If I rebind the weapon switch to Q (default) or B for example (unused) then it works.
quick links: log file | graphical issues | wiki

Necris
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Mar 05, 2016 4:06 pm
Contact:

Re: [12.25][steam] Weapon switching does not work

Post by Necris »

Thank you! I changed it to X only because it was not working with Q. Now it works with Q and also with B. So if anyone encounters the same problem, just try to change the key and change it back to normal. I think the thread can be closed.

Thanks to everyone for the help.

Post Reply

Return to “Not a bug”