Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > RO2/RS General > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2012, 12:49 PM
Cwivey's Avatar
Cwivey Cwivey is offline
Senior Member
 
Join Date: Sep 2011
Location: In the hills! (of England)
Posts: 1,570
Default Key bindings fo' a Keyboard controled Turrets

Spent a "short" afternoon setting up a series of keys to control the tank's turret in-game with the keyboard. This is for thoes folk who loved the keyboard turret controls from RO:OST. You can still use the mouse along side it, but it's more for the feel of things rather than gameplay, so don't make comments on how mouse-users will still have an advantage when on the move.



Here's what it does:
  • Arrow keys to turn left / right / up /down at a moderate speed. (Normal aiming)
  • Holding Control (Left Conrtol or Right Control) makes the speed at which the turrets turns about a tenth of the normal movement speed. (Fine Aiming)
  • Holding Shift (Left Shift or Right Shift) Turns the turret at it's maximum speed. (Twizzle that shizle around)
  • Numpad 1 fires the MG (Numpad End).
  • Numpad 0 Fires the Main cannon (Numpad Insert).


The Important Bit


You will need to turn off Num-lock, this is because holding shift stops the Numpad from working.

"Installing"

Go to: DRIVE/Users/USERNAME/Documents/My Games/RedOrchestra2/ROGame/Config/ROInput.ini

Scroll down to the last section called [ROGame.ROPlayerInput]
Within this section, find and delete the code below...
Code:
Bindings=(Name="LookUp",Command="Axis aLookUp Speed=+25.0 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="LookDown",Command="Axis aLookUp Speed=-25.0 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="TurnLeft",Command="Axis aBaseX Speed=-200.0 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="TurnRight",Command="Axis aBaseX  Speed=+200.0 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Up",Command="MoveForward",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Down",Command="MoveBackward",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Left",Command="StrafeLeft",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Right",Command="StrafeRight",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)



Then, at the bottom of the same section, in the same file, simply copy and paste this code in...
Code:
Bindings=(Name="TurnLeft",Command="Axis aBaseX Speed=-5 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Left",Command="TurnLeft",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="CtrlTurnLeft",Command="Axis aBaseX Speed=-0.8 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Left",Command="CtrlTurnLeft",Control=True,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="ShiftTurnLeft",Command="Axis aBaseX Speed=-50.0 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Left",Command="ShiftTurnLeft",Control=False,Shift=True,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="TurnRight",Command="Axis aBaseX  Speed=+5 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Right",Command="TurnRight",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="CtrlTurnRight",Command="Axis aBaseX Speed=+0.8 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Right",Command="CtrlTurnRight",Control=True,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="ShiftTurnRight",Command="Axis aBaseX Speed=+50.0 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Right",Command="ShiftTurnRight",Control=False,Shift=True,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="LookUp",Command="Axis aLookUp Speed=+0.07 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Up",Command="LookUp",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="CtrlLookUp",Command="Axis aLookUp Speed=+0.02 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Up",Command="CtrlLookUp",Control=True,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="ShiftLookUp",Command="Axis aLookUp Speed=+0.5 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Up",Command="ShiftLookUp",Control=False,Shift=True,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="LookDown",Command="Axis aLookUp Speed=-0.07 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Down",Command="LookDown",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="CtrlLookDown",Command="Axis aLookUp Speed=-0.02 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Down",Command="CtrlLookDown",Control=True,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="ShiftLookDown",Command="Axis aLookUp Speed=-0.5 AbsoluteAxis=100",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Down",Command="ShiftLookDown",Control=False,Shift=True,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="Insert",Command="Fire",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="End",Command="AltFire",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
And it should work!

Known Issue
The fine aiming for up and down can occaisonly not work when angled upwards steeply, just let go of control and you can move it around, and the fine aiming ought to work afterwards.


If you want to change the controls used for whatever, use this guide to help you know which buttons you may use. http://udn.epicgames.com/Three/KeyBinds.html
The things to change would be, Up, Left, Down, Right, Insert and End. Located near the start of every second line.

Last edited by Cwivey; 06-30-2012 at 12:50 PM.
Reply With Quote
  #2  
Old 06-30-2012, 01:09 PM
Proud_God's Avatar
Proud_God Proud_God is offline
Senior Member
 
Join Date: Dec 2005
Location: Belgium
Posts: 2,631
Default

Just tried it and it works! Thanks for this man! +rep on your post! I'm gonna tweak the speeds around a bit though.

Edit: It's a nice effort, but it's still a bit clunky compared to RO1. Maybe it can be tweaked more.
__________________
aka Wakke

Last edited by Proud_God; 06-30-2012 at 02:20 PM.
Reply With Quote
  #3  
Old 06-30-2012, 02:39 PM
Cwivey's Avatar
Cwivey Cwivey is offline
Senior Member
 
Join Date: Sep 2011
Location: In the hills! (of England)
Posts: 1,570
Default

Quote:
Originally Posted by Proud_God View Post
Just tried it and it works! Thanks for this man! +rep on your post! I'm gonna tweak the speeds around a bit though.

Edit: It's a nice effort, but it's still a bit clunky compared to RO1. Maybe it can be tweaked more.
Which parts are clunky as it stands at the moment?

I'll work on it later tonight to see what I can do to it.



Although, even the mouse control feels a little clunky.
Reply With Quote
  #4  
Old 06-30-2012, 03:36 PM
Proud_God's Avatar
Proud_God Proud_God is offline
Senior Member
 
Join Date: Dec 2005
Location: Belgium
Posts: 2,631
Default

Quote:
Originally Posted by Cwivey View Post
Which parts are clunky as it stands at the moment?
There is no movement acceleration, besides using the ctlr and shift keys. So you only have 3 disctinct speeds, where as in RO1 the speed built up continuously the longer you held a button.
__________________
aka Wakke
Reply With Quote
  #5  
Old 06-30-2012, 06:12 PM
Kukki Kukki is offline
Member
 
Join Date: Aug 2011
Posts: 55
Default

Accualy, regarding turrent speed acceleration... I came up with an idea. If that kind of thing could be done you'd have a full control of the acceleration. Let's say we can bind the acceleration to the mousewheel(i know, mouse... wheel is the only thing that has such potential of control) You steer your turrent left, right, up and down with wsad/arrows and in the same time you manipulate it's acceleration with mousewheel. This way you'd have full control of it's speed.

On the other hand, i'm not sure if this idea is good in anything other than in theory. Things like that tend to be rather clunky.
Reply With Quote
  #6  
Old 06-30-2012, 07:23 PM
Cwivey's Avatar
Cwivey Cwivey is offline
Senior Member
 
Join Date: Sep 2011
Location: In the hills! (of England)
Posts: 1,570
Default

Mmf, as I gathered from RO:OST, the rotation speed built up to it's fastest in about 0.8 of a second, minute adjustments were made by tapping the key, held down for any longer and it'd just go at whatever speed the max was. Trouble is, I think this was handled in the native code, dug in deep somewhere in the tank modeling (I looked at RO:OST's ini files and nothing relating to it was found in there). And I believe it's the same with RO2. I could make an atempt at adding a delay / build up to max speed, but that'd invovle some actual coding, and I havn't a clue where to begin with that (exec commands and the like).

Quote:
Originally Posted by Kukki View Post
Accualy, regarding turrent speed acceleration... I came up with an idea. If that kind of thing could be done you'd have a full control of the acceleration. Let's say we can bind the acceleration to the mousewheel(i know, mouse... wheel is the only thing that has such potential of control) You steer your turrent left, right, up and down with wsad/arrows and in the same time you manipulate it's acceleration with mousewheel. This way you'd have full control of it's speed.

On the other hand, i'm not sure if this idea is good in anything other than in theory. Things like that tend to be rather clunky.
Essentially, you're asking for a step up / step down in speed of the turret from the mousewheel (or other set of buttons) right? Certainly possible, but would result in things being even more clunky than what I've currently done. For example, if you suddenly need to turn fast, you would have to scroll through all the other speeds etc.



So yeah, I think I'm going to have to leave this one as-is, reached the limit of my skill (and online tutorials :< ).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC