Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Latesleeper

Members
  • Content Count

    31
  • Joined

  • Last visited

Everything posted by Latesleeper

  1. Latesleeper

    Xbox 360 GlovePIE 0.45 Script

    Using a controller under GlovePIE doesn't preclude you from using the mouse and keyboard. So, if you want to play most of the game with the controller, then when you want to manage some inventory using the mouse, you absolutely can. I have while testing this script, though I'm trying to tweak it in a way that you shouldn't have (that much). As for your statement about Controllers are for casual gaming, please consider all of the games for consoles and whether or not they are all casual.
  2. Latesleeper

    Xbox 360 GlovePIE 0.45 Script

    The left stick movement should behave like this: If you press it 0 - 80% of the way forward: you jog or walk, this can be toggled back and forth when you click the left stick in If you jam it all the way forward: you sprint (this is one of the default keybindings you'll have to change) The Strafe Left, Strafe Right and Back movements have one speed so they work if you press the stick more than 30% in those directions. Having said this, if you look at the code you can tweak those numbers. If you find something that seems to function more smoothly, let us know. I've played around with them a bit (for some reason GlovePIE liked an illogical value of 200% over 100% for left and right) and have gotten to something that does what I expect it to do. I was playing with the "turbo" button, but seemed weird and left the character standing at times. I think it may be incorporated later with vehicle stuff (and all this is moot or it can be incorporated back in)
  3. Latesleeper

    Xbox 360 GlovePIE 0.45 Script

    Well, the script can certainly be changed to do this. But, if you consider moving the the scroll wheel to the up/down on D-pad, you'll be removing your left thumb from the left stick to make this movement. This means that running (or any movement, possibly for your life) can't be done when you're scrolling options. DayZ is set up so that you can scroll through a list of option and select one with one finger (roll up on the mouse wheel, roll down on the mouse wheel, center click the mouse wheel) while still making commands with your left hand. I've tried to retain that function on the controller. X for previous, B for Next, A to Interact (like open/close a door). Also, doing this will displace the stance functions (Stand up = DpadUP, Crouch = DpadRIGHT, Prone = DpadDOWN). In most cases you will be stopped (there for, your left thumb is off the left stick) when you want to change stances (and available for use on the Dpad). I do agree that Interact/Reload should share the same button (more logical). Moving Reload to LeftSHoulder + A and retaining Interact to A is a better choice. That makes TapX=1, HoldX=4, TapY=2, HoldY=5,TapB=3, HoldB=6. On the other hand..... While proof reading this post it occurred to me this as a possibility, as it retains the "up/down" notion of the scroll wheel: X = Interact Y = Scroll Up A = Scroll Down B = Vault/Step Over LeftShoulder + X = Reload LeftShoulder + TapY = Inv. 1 LeftShoulder + HoldY = Inv. 4 LeftShoulder + TapB = Inv. 2 LeftShoulder + HoldB = Inv. 5 LeftShoulder + TapA = Inv. 3 LeftShoulder + HoldA = Inv. 6 ShoulderLeft + X = Reload Thanks for the feedback omgwtfbbq
  4. Latesleeper

    Xbox 360 GlovePIE 0.45 Script

    If you're missing the Xbox controller, give it a go and tell me what you think. I attempted to keep the layout as simple/logical as I could without missing any important keybindings. (most of what you need is available in the main controls, more "weapons-based" controls when you hold the left shoulder) My goal wasn't to rattle the KBM people, I've just noted in the other threads where using a controller was discussed I had to wade through pages of off-topic posts regarding how the idea was stupid/crazy.
  5. Latesleeper

    Xbox 360 GlovePIE 0.45 Script

    No, all GlovePIE is doing is reading input from the Xbox controller and emulating a keypress. As far as the game is concerned, you're using the keyboard and mouse.
  6. GlovePIE 0.45 script for Xbox 360 Controller: Left Stick: Walk/Run, strafe, back Right Stick: Mouse (variable speed based on action like aiming or running around, adjustable) Y = vault or stepover X = Previous (mouse wheel) B = Next (mouse wheel) A = default action Right Trigger = Left Mouse click (with rumble when hitting/shooting) Left Trigger = Zoom in, look down sights when double pulled (mouse speed slowed down) DpadUP = Stand DpadRight = Crouch DpadDown = Prone DpadBack = Voice Chat Start = Toggle Gear (mouse speed slowed down) Back = Back RightShoulder = Toggle Weapon ready Click Right Stick = Free Look Click Left Stick = Toggle run/walk WHILE HOLDING LEFT SHOULDER DOWN: Y = Reload tapX = Inventory slot 1 tapA = Inventory slot 2 tapB = Inventory slot 3 holdX = Inventory slot 4 holdA = Inventory slot 5 holdB = Inventory slot 6 DpadUP= Toggle single fire/rapid fire DpadLEFT = Lean Left DpadRIGHT = Lean Right Single click DpadDOWN = Wave Double Click DpadDOWN = One finger Wave Back = ThirdPerson/Firsrt Person toggle Start = Player List To get started download GlovePIE, copy and paste the script (note that you will have to change a couple of default keyboard bindings in game): /*Dayz control 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 --> E Lean Left Q --> K Lean Right E --> L Remove Lean Left Toggle, Lean Right Toggle, Evasive Left, Evasive Right Under Infantry Weapons: Remove Headlights on/off*/PIE.FrameRate = 120Hz//Left Stick NavigationKey.W = InRange(XInput.Joy1Y, .20,0.80) //walkKey.E = InRange(XInput.Joy1Y, .81,1.00) //run//Key.B = InRange(XInput.Joy1Y, .90,1.0) //TurboKey.S = InRange(XInput1.Joy1Y, -1.0,-.30) //BackKey.A = InRange(XInput.Joy1X, -2.0,-.30) //LeftKey.D = InRange(XInput.Joy1X, 0.30,2.00) //Right//Aiming Control - Right Stick - different sensitivity settings if Aiming(slowest), Looking at Gear(slow), or Normal (fastest)if var.GearTog = True Mouse.DirectInputX = Mouse.DirectInputX + 15*deadzone(XInput1.Joy2X) Mouse.DirectInputY = Mouse.DirectInputY - 15*deadzone(XInput1.Joy2Y) elseif (var.aim = True) or (XInput.LeftShoulder and Xinput.RightShoulder) then Mouse.DirectInputX = Mouse.DirectInputX + 10*deadzone(XInput1.Joy2X) Mouse.DirectInputY = Mouse.DirectInputY - 10*deadzone(XInput1.Joy2Y) else Mouse.DirectInputX = Mouse.DirectInputX + 28*deadzone(XInput1.Joy2X) Mouse.DirectInputY = Mouse.DirectInputY - 28*deadzone(XInput1.Joy2Y)endif//Mouse Left and Right Buttons with rumble (rumble removed when looking at gear)mouse.LeftButton = XInput.RightTriggerif var.GearTog = False then if helddown (XInput1.RightTrigger, 400ms) then XInput.Vibration2 = .60 XInput.Vibration1 = .80 wait 80 ms XInput.Vibration2 = 0 XInput.Vibration1 = 0 wait 80 ms elseif helddown (Xinput1.RightTrigger, 5ms) then XInput.Vibration2 = 1.0 XInput.Vibration1 = .50 wait 100 ms XInput.Vibration2 = 0 XInput.Vibration1 = 0 wait 300 ms endifelseif var.GearTog= True then XInput.Vibration2 = 0 XInput.Vibration1 = 0endifmouse.RightButton = XInput.LeftTriggerif Helddown (XInput.LeftTrigger, 400ms) and (var.aim = False) then var.aim = True endifif Released (XInput.LeftTrigger) and (var.aim = True) then var.aim = False endif// Main Controlsif not XInput.LeftShoulder then Key.V = XInput.Y //vault or hop //Next if XInput.B then mouse.WheelDown = True wait 200 ms mouse.WheelDown = False endif //Previous if XInput.X then mouse.WheelUp = True wait 200 ms mouse.WheelUp = False endif Key.F = XInput.A // use default action Key.C = XInput.Up //stand up Key.Z = XInput.Down //prone Key.X = XInput.Right //crouch Key.CapsLock = XInput.Left //Voice Chat Key.BackSpace = XInput.Back //Back Key.Tab = XInput.Start //Gear if released (XInput.Start) and (var.GearTog = False) then var.GearTog = True elseif released (XInput.Start) and (var.GearTog = True) then var.GearTog = False endif Key.Spacebar = XInput.RightShoulder //Toggle Raised Weaponendif//Left Shoulder Button holdif XInput.LeftShoulder then Key.R = XInput.Y //Reload if XInput.X then //Selects Inventory 1 by Tapping X or Inventory 4 by Holding X var.Xhold = false endif if Helddown (XInput.X, 200ms) then var.Xhold = True endif if var.Xhold = false and Released (XInput.X) then press key.One release key.One elseif var.Xhold = True and Released (Xinput.X) then press key.Four release key.Four endif if XInput.A then //Selects Inventory 2 by Tapping A or Inventory 5 by Holding A var.Ahold = false endif if Helddown (XInput.A, 200ms) then var.Ahold = True endif if var.Ahold = false and Released (XInput.A) then press key.Two release key.Two elseif var.Ahold = True and Released (Xinput.A) then press key.Five release key.Five endif if XInput.B then //Selects Inventory 3 by Tapping B or Inventory 6 by Holding B var.Bhold = false endif if Helddown (XInput.B, 200ms) then var.Bhold = True endif if var.Bhold = false and Released (XInput.B) then press key.Three release key.Three elseif var.Bhold = True and Released (Xinput.B) then press key.Six release key.Six endif Key.K = XInput.Left //Lean Left Key.L = XInput.Right //Lean Right Key.F1 = SingleClicked (XInput.Down) //Wave Key.F4 = Doubleclicked (XInput.Down) // Flip Off Key.T = XInput.Up //toggle automatic weapon to single shot Key.Enter = XInput.Back //Toggle View Key.P = XInput.Start //Player Listendif//toggle Walk or Runif Released (XInput.LeftThumb) and (Key.LeftControl = True) then Key.LeftControl = Falseelseif Released (XInput.LeftThumb) and (Key.LeftControl = False) then Key.LeftControl = Trueendif//Toggle Free Lookif Released (XInput.RightThumb) and (Key.Alt = False) then Key.LeftAlt = Trueelseif Released (XInput.RightThumb) and (Key.Alt = True) then Key.LeftAlt = FalseendifThe right stick movement speed changes based on whether you're looking at your Gear, are zoomed in (looking down a weapon) or running around. You can also hold both shoulder button in to slow down the speed (so you don't fling yourself down some stairs or off a ledge). They are adjustable by changes the values under that section. If things like leaning, waving, and giving people the bird aren't important to you, those can be easily remapped to other in game functions more suitable for you.
×