Jump to content
Sign in to follow this  
Latesleeper

GlovePIE 0.45 Script for 360 Controller and Mouse combo

Recommended Posts

Maps most of the Keyboard bindings to the left handed operation of a 360 Controller.  There is a full controller script available in this thread.

 

Instructions:  Download GlovePIE 0.45

 

Run GlovePIE, copy and paste the following script:

/*Dayz Controller + Mouse layout, some keyboard bindings must be changed in gameNew In Game Keyboard Binding Changes:    Under Infantry Movement:      Turbo --> B (this has been disabled, seemed wonky)      Fast Forward 2xW --> UChange Date 09-01-2014 12:00*/PIE.FrameRate = 120Hz//Left Stick NavigationKey.W = InRange(XInput.Joy1Y, .20,0.80) //walkKey.U = InRange(XInput.Joy1Y, .81,1.00)  //run//Key.B = InRange(XInput.Joy1Y, .90,1.0)  //Turbo (disabled)Key.S = InRange(XInput1.Joy1Y, -2.0,-.30) //BackKey.A = InRange(XInput.Joy1X, -2.0,-.30) //LeftKey.D = InRange(XInput.Joy1X, 0.30,2.00)   //Right// Main ControlsKey.V = XInput.LeftStick  //Click LeftStick for stepover or vaultKey.C = XInput.Up  //Dpad UP to stand upKey.Z = XInput.Down  //Dpad Down for proneKey.X = XInput.Right  //Dpad Right to crouchKey.Tab = XInput.Left //Dpad Left for GearKey.Enter = XInput.Back  //Toggle First/Third Person ViewKey.Spacebar = XInput.LeftShoulder  //Toggle Raised WeaponKey.LeftAlt = XInput.LeftTrigger  //Hold for Free Look//toggle Walk or Runif Released (XInput.Start) and (Key.LeftControl = True) then   Key.LeftControl = Falseelseif Released (XInput.Start) and (Key.LeftControl = False) then   Key.LeftControl = Trueendif//Toggle Steam Overlayif XInput.RightStick then   Press Key.Shift   Press Key.Tab   Wait 50ms   Release Key.Tab   Release Key.Shiftendif

Save the file, click run and start the game.  This was a quick conversion based on the other much lengthier script.  I understand many people are loathe to give up the superiority of having a mouse.  

 

Future versions can implement tap/long press functions on the Dpad for additional function

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×