neverwinter screen

Neverwinter, Perfect World’s new D&D MMO is now in open Beta. It has a traditional design that combines bits and pieces recognizable from other popular MMOs to create an atmospheric, fun, well put together enjoyable experience. It is free to play and most definitely worth checking out.

neverwinter screen

I prefer a controller over a mouse and keyboard for longer gaming sessions, but with the exception of TERA, controller support is not usuallyan option in massively multiplayer on-line games. The relatively small number of combat keys used in Neverwinter lends itself well to playing with a controller. I use a GlovePIE script to add my own controller support. It is simplistic and focused on using the controller in combat and questing and does not contain all the interface keys. The layout is as follows:

Left analog stick controls movement and the right viewpoint. A is jump, B to interact with elements, X is the primary at will skill and Y the secondary at will skill. The next three combat abilities (Q,E,R on the keyboard) is mapped to the triggers and right bumper. Tab, used as a modifier for abilities, is mapped to the left bumper. I have mapped the special spells and potion quick slots (1-4 on the keyboard) to the D-pad. The select button is alt, used to free the cursor and open access to the user interface and escape is bound to the start button that closes the menu system and pop-up boxes. I have not mapped the analog stick clicks, so two further buttons can be mapped to those.

To use my script, just copy and paste it into GlovePIE. To modify it, change the keys before running it.

GlovePIE is an opensource free to use program. Further details on GlovePIE and installation instructions are here.

Neverwinter GlovePIE script (Dodge disabled)

Note: The script below works best with dodge (roll/spring) disabled. If it is enabled, you will trigger dodge whenever you move the analog stick fast enough to translate to a double click, resulting in running with random dodging occassionally. See the alternate script to circumvent this without disabling roll/sprint.

//Left Stick – Movement

keyboard.W = XInput1.Joy1Y > 0.2
keyboard.S = XInput1.Joy1Y < -0.2
keyboard.A = XInput1.Joy1X < -0.2
keyboard.D = XInput1.Joy1X > 0.2

// Right Stick – Mouse Pointer
Mouse.DirectInputX = Mouse.DirectInputX + 10*deadzone(XInput1.Joy2X)
Mouse.DirectInputY = Mouse.DirectInputY – 10*deadzone(XInput1.Joy2Y)

// 360 Bumpers
keyboard.tab = XInput1.LeftShoulder
keyboard.r = XInput1.RightShoulder

//360 Triggers
keyboard.q = XInput1.RightTrigger
keyboard.e = XInput1.LeftTrigger

//360 Buttons ABXY
keyboard.space = XInput1.A
keyboard.F = XInput1.B
Mouse.RightButton = XInput1.Y
Mouse.LeftButton = XInput1.X

//360 dPad
keyboard.1 = Xinput1.Up
keyboard.2 = Xinput1.Right
keyboard.3 = Xinput1.Down
keyboard.4 = Xinput1.Left

//360 Start and Select
keyboard.esc = XInput1.start
keyboard.alt = XInput1.back

//360 Stick Clicks
= XInput1.LeftThumb
= XInput1.RightThumb

To play Neverwinter, you must download and install the game client. It is free to download and play here.

Alternate GlovePIE script with autorun and dodge

Thanks to the handy autorun key, it is possible to move in Neverwinter without using the WASD keys. The script below retains the same layout as the one above with a few notable changes. Auto-run is now bound to the right thumb. Movement can now be done without using the left analog or WASD keys. Just click the right stick for autorun and use the right analog to control movement. WASD is still bound to the left analog for situations where you want or need more control than autorun can offer. This layout should also be much better for one handed players who would like to use a controller.

The left shoulder is bound to S, but you can bind it to any of the directional keys. Double tapping left bumper now dodges. The left analog stick click is now bound to tab, which used to be on the left bumper.

//Left Stick – Movement

keyboard.W = XInput1.Joy1Y > 0.2
keyboard.S = XInput1.Joy1Y < -0.2
keyboard.A = XInput1.Joy1X < -0.2
keyboard.D = XInput1.Joy1X > 0.2

// Right Stick – Mouse Pointer

Mouse.DirectInputX = Mouse.DirectInputX + 10.0*deadzone(XInput1.Joy2X)
Mouse.DirectInputY = Mouse.DirectInputY – 10.0*deadzone(XInput1.Joy2Y)

// 360 Bumpers
keyboard.s = XInput1.LeftShoulder
keyboard.r = XInput1.RightShoulder

//360 Triggers
keyboard.q = XInput1.RightTrigger
keyboard.e = XInput1.LeftTrigger

//360 Buttons ABXY
keyboard.space = XInput1.A
keyboard.F = XInput1.B
Mouse.RightButton = XInput1.Y
Mouse.LeftButton = XInput1.X

//360 dPad
keyboard.1 = Xinput1.Up
keyboard.2 = Xinput1.Right
keyboard.3 = Xinput1.Down
keyboard.4 = Xinput1.Left

//360 Start and Select
keyboard.esc = XInput1.start
keyboard.alt = XInput1.back

//360 Stick Clicks
keyboard.tab = XInput1.LeftThumb
keyboard.t = XInput1.RightThumb


Comment

  1. Elliot 13/05/2013 at 7:44 am - Reply

    I am trying to use ds3 tool to emulate a 360 controller as my ps3 controller. everything e lse seems to have binded properly except I can not move up and down with the right analong stick.

    10 end of line expected (instead of “I”)
    37 Statements can’t begin with =

    Any ideas?

    • tod 20/05/2013 at 9:01 pm Reply

      //Left Stick – Movement

      keyboard.W = XInput1.Joy1Y > 0.2
      keyboard.S = XInput1.Joy1Y < -0.2
      keyboard.A = XInput1.Joy1X 0.2

      // Right Stick – Mouse Pointer

      Mouse.DirectInputX = Mouse.DirectInputX + 10.0*deadzone(XInput1.Joy2X)
      Mouse.DirectInputY = Mouse.DirectInputY + 10.0*deadzone(XInput1.Joy2Y)

      // 360 Bumpers
      keyboard.shift = XInput1.LeftShoulder
      keyboard.6 = XInput1.RightShoulder

      //360 Triggers
      Mouse.RightButton = XInput1.RightTrigger
      Mouse.LeftButton = XInput1.LeftTrigger

      //360 Buttons ABXY
      keyboard.space = XInput1.A
      keyboard.r = XInput1.B
      keyboard.q = XInput1.X
      keyboard.e = XInput1.Y
      //360 dPad
      keyboard.1 = Xinput1.Up
      keyboard.2 = Xinput1.Right
      keyboard.3 = Xinput1.Down
      keyboard.4 = Xinput1.Left

      //360 Start and Select
      keyboard.esc = XInput1.start
      keyboard.alt = XInput1.back

      //360 Stick Clicks
      keyboard.tab = XInput1.LeftThumb
      keyboard.F = XInput1.RightThumb

      i made a couple changes to the script and disabled double tap in game and set shift as a bumper

    • Chris Ellis 13/05/2013 at 9:35 am Reply

      So to be clear are you trying to use the DS3 tool from MotionInJoy to get the PS3 controller to emulate a Xbox360 then use Glovepie to map that to the keyboard for Neverwinter? I can see how that would work but its convoluted and it sounds like you’re having timing and priority issues. From a few minutes of research Glovepie can be used directly with a PS3 controller, but its not something that many people have had success with or something I’ve personally tried.
      When you say you can’t move up and down do you mean character movement isn’t smooth or that that particular movement isn’t working? I’m wondering if its again to do with the dodge.

      I’ve reached out to the Neverwinter devs to see about the dodge rebinding and hopefully we can get some more information.

  2. DeanGrey 09/05/2013 at 10:36 pm - Reply

    It works nicely, mostly. The downside is that dodging seems to happen randomly on its own. If the game allows for binding a dodge key then perhaps doing that and setting it to a controller button would be best. Either way, thank you.

    • Lily Ellis 10/05/2013 at 9:49 am Reply

      Dodging (roll/sprint) cannot be bound to a different key, but it can be deactivated in the Options menu. Unfortunately, that does mean loosing the ability to dodge.

      It’s a bit tricky to prevent dodge happening randomly with the left analog stick without affecting the character’s movement, but we will keep trying.

      I have added an alternative script above that circumvents the WASD keys by using autorun and the right analog stick. It is not ideal, but at least characters should stop dodging all over the place. Glad to hear it works nicely otherwise.

Leave a Reply