Git Product home page Git Product logo

nwngamepadcontrols's Introduction

NWNGamepadControls

A Unity/AutoIT repo to map Gamepad controls to mouse movements and clicks in the Game Neverwinter Nights

Installation

First, you need a build of the Unity project found here (TBD link) that outputs Gamepad controls to text files for consumption by AutoIT. Then simply run the NWNCustomControls.au3 file and follow the instructions in the dialogue boxes that appear.

Control Layout

  • Left Stick
    • Moves the mouse relative to your character or last selected center position
    • Press-in to unlock from its current position and move the cursur freely
    • Press-in again to re-lock to your character
    • Press B while unlocked to re-lock at that position
  • Right Stick
    • Moves the camera left or right (vertical axis is unused)
    • Press-in and hold to "free rotate" the camera
  • Left Bumper
    • Presses Tab
  • Right Bumper
    • Hold to activate "hot slot" mode if used with D-Pad
      • In hot slot mode, use the D-Pad to control which slot to select, and A to select it
      • Your mouse will return to its previous position upon release of the bumper
      • See D-Pad section for more details
  • Left Trigger
    • Zoom out
  • Right Trigger
    • Zoom in
  • Left Menu Button
    • Opens your Inventory
  • Right Menu Button
    • Opens the pause menu
  • D-Pad
    • Moves your cursor "1 square" in any directon (if not in hot slot mode)
      • Pressing and holding has no effect
      • Note that your cursor may not be "lined up" on the expected grid (reach goal will solve this)
    • If holding the right bumper (and therefore in "hot slot" mode), controls which slot is selected
      • Use the Up/Down of the d-pad to move to upper or lower slots (wraps around)
        • The main slot is treated as the "center" slot row
        • The Ctrl slots are treated as the "lower" slot row
        • The Shift slots are treated as the "upper" slot row
      • Once on the desired slot, press A or B to click how you want
        • If you need to right click keep holding the right bumper, and you will automatically have your cursor centered and controllable via the left stick
        • If you need to left click, you can release the right bumper as there are no further actions you would need to take
      • All other controls are disabled while you are holding the right bumper
      • The selected hot slot is saved, so the next time you press the right bumper your cursor will be in the same position
    • If holding the Left Bumper, each direction is mapped to a voice command shortcut. Release the bumper to initiate the voiceover. The order in which directions are pressed does not matter.
      • N: Follow me (v+e+e)
      • NE: Hi (v+s+s)
      • E: Bye (v+s+a)
      • SE: Laugh (v+x+w)
      • S: Attack (v+w+e)
      • SW: Battlecry (v+w+r)
      • W: Hold (v+w+x)
      • NW: Guard (v+w+f)
      • NES: Look here (v+e+w)
      • ESW: Bored (v+s+x)
      • SWN: Threaten (v+x+e)
      • NS: Thanks (v+x+x)
      • EW: Cheer (v+x+d)
      • NESW: Cuss (v+x+c)
    • Press and hold the down button to initiate a scroll down (if not in hot slot mode)
    • Press and hold the up button to initiate a scroll up (if not in hot slot mode)
  • A
    • Left click
  • B
    • Right Click
    • While not locked on your character, press B to lock at the current position (in order to access the circle menu at that point)
  • X
    • Rest
    • If holding right bumper, toggle Journal
    • If holding left bumper, toggle character sheet
  • Y
    • Toggle Map
    • If holding right bumper, toggle Spell Book
    • If holding left bumper, toggle Player List

nwngamepadcontrols's People

Contributors

jeffreygaydos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.