Actually, fk it, here’s my try at the bind you want. Completely untested.
under [ShooterGame.SGPlayerInputPawn], ctrl+f for the lines,
Bindings=(Name="WeaponSlotOne",Command="SelectWeaponSlot WS_Melee",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="WeaponSlotTwo",Command="SelectWeaponSlot WS_Secondary",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="WeaponSlotThree",Command="SelectWeaponSlot WS_Primary",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
and change them to,
Bindings=(Name="WeaponSlotOne",Command="SelectWeaponSlot WS_Melee | setbind Q EqPrimary 0",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="WeaponSlotTwo",Command="SelectWeaponSlot WS_Secondary | setbind Q EqMelee 0",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="WeaponSlotThree",Command="SelectWeaponSlot WS_Primary | setbind Q EqMelee 0",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
and, also under [ShooterGame.SGPlayerInputPawn], add lines,
Bindings=(Name="EqMelee",Command="WeaponSlotOne")
Bindings=(Name="EqPrimary",Command="WeaponSlotThree")
Bindings=(Name="Q",Command="EqMelee")
No guarantee of success, but it should, “switch my primary and melee easily (basically to cycle between), while also having it so that if I have my secondary equipped, it will always equip my melee, not my primary.” If that doesn’t work, maybe it’ll help you to have it to work off.
The configuration file is ShooterInput.ini which is in %USERPROFILE%\Documents\my games\UnrealEngine3\ShooterGame\Config
You will want to back up your changes as these config files sometimes get partially or entirely reset during game updates that make changes to their contents.