![]() |
|
Controls threads Everything about controls in CoD |
|
Thread Tools | Display Modes |
#8
|
|||
|
|||
![]()
Ok. I've managed to work out something that works for me.
I'm using this little GlovePIE script: PIE.FrameRate = 108 Hz if Pressed(q) then if var.a=1 then var.a=0 Release(Mouse.MiddleButton) Else var.a=1 Key.End = True Key.End = False endif endif if var.a=1 then Mouse.MiddleButton = True Mouse.DirectInputY = RealTrackIR.z * 6 endif For this to work you have to map middle mouse button to "Hold to adjust FOV" setting within CoD, and put z-axis sensitivity in FreeTrack to minimum (this basicaly swiches off back and forth movement in cockpit). (For some reason FakeTrackIR.z = 0 didn't work. This is a workaround). How it works is when you press the "q" button z-axis will controll FOV but you won't be able to use the mouse until you press "q" again to regain control of the mouse and that's about it. You can play with the number - (* 6) to adjust sensitivity or change the buttons if you want. Last edited by lelek; 04-24-2011 at 04:54 PM. |
|
|