Hey, it is possible to change keybinds depending on the gametype? In Onslaught I like to set the Avril to my middle mouse, but in Assault I want to set the middle mouse to Shield Gun secondary. Can I do that without editing the ini file every time I want to play a different gametype?
Announcement
Collapse
No announcement yet.
Complicated keybind
Collapse
X
-
Create a Text file in your UT2004\System directory
Make as many ONS-based set input (Key) [Command] as needed
Save it as ONSBinds.Ini
Repeat for AS binds(saving as ASBinds.Ini)
Open your User.Ini
Key=exec ONSBinds.Ini
*Note* Not 100% sure if this will work mid-game
Possibly will work while in the menu by typing exec ONSBinds.Ini in the console
Never used this method, so I dunno
Comment
-
I think setting both to the middle mouse button might work, Avril first, Shield Gun second. Since Assault (usually) doesn't have Avrils, it'll just go to the shield gun. I've been looking for how to set it up like that, but haven't found it yet. How would I combine these two on the same button?
SwitchWeapon 1|AltFire|OnRelease SwitchToLastWeapon
getweapon Onslaught.ONSAVRiL
Comment
-
Originally posted by marshdabeachy
SwitchWeapon 1|AltFire|OnRelease SwitchToLastWeapon
getweapon Onslaught.ONSAVRiL
You could try...
Aliases[XX]=(Command="getweapon Onslaught.ONSAVRiL|set input Key Bind2",Alias="Bind1")
Aliases[XX+1]=(Command="SwitchWeapon 1|AltFire|OnRelease SwitchToLastWeapon |set input Key Bind1",Alias="Bind2")
It's the harder method, but I'm sure it would work
Comment
-
Originally posted by marshdabeachy
I think setting both to the middle mouse button might work, Avril first, Shield Gun second. Since Assault (usually) doesn't have Avrils, it'll just go to the shield gun. I've been looking for how to set it up like that, but haven't found it yet. How would I combine these two on the same button?
SwitchWeapon 1|AltFire|OnRelease SwitchToLastWeapon
getweapon Onslaught.ONSAVRiL
MiddleMouse=pipedswitchweapon 7 |pipedswitchweapon 9
Must I come up with the easy solutions?
Comment
-
Hey, I got it working flawlessly. End result:
MiddleMouse=getweapon Onslaught.ONSAVRiL | pipedSwitchWeapon 1|AltFire|OnRelease SwitchToLastWeapon
And as an added bonus, the Avril will also switch back to the last weapon if you hold the middle mouse, but stay put if you just click it.
Thanks guys. :up:
Comment
Comment