View on GitHub

rift-mouselooktoggle

Mouse Look Toggle Script and Addon for Rift MMO.

Download this project as a .zip file

What Does It Do ?

Mouse Look Toggle lets you rotate the camera and turn your character without having to hold down the right mouse button all the time. Besides being more comfortable to play, it frees the mouse buttons to activate skills on your Action Bars.

Features

Controls

The following key binds are set by default in the script.

TAB Toggle Mouse Look
F Interract You can use this to interract with NPCs, harvest nodes, etc. When Mouse Look is active, it will right click in the center of the view so try to aim the camera towards the object (usually somewhere near the head of your character in 3rd person view).

NOTE : the script tries to recognize when the user is typing in chat and allows the controls above to pass through. Thus you should be able to press TAB in the chat window to expand slash commands (eg. /lau => /laugh) and also enter the letter F in chat and other input areas.

Additional keys triggered by mouse buttons (set these in game to your Action Bars).

Shift Left Click Numpad7
Shift Right Click Numpad9
Left Click Numpad4
Right Click Numpad6
Scroll Wheel Up Numpad8
Scroll Wheel Down Numpad5

If you already use the Numpad keys, you can change these in the .ahk script.

To zoom the camera while Mouse Look is active, use Shift + Mouse Wheel.

Installation

  1. Download the archive and extract into the Rift Addons folder. There should be a “MouseLookToggle” folder alongside your other Addons.

  2. Download and install Autohotkey (from ahkscript.org, newer version).

  3. Double click the MouseLookToggle.ahk file to run the Autohotkey script. A little “H” icon should show up in the tray bar. The Autohotkey script will only work within the active Rift game window. If you exit and restart the game, right click the Autohotkey icon in the tray and select “Reload This Script” to make sure it works properly.

  4. Enable the “Mouse Look Toggle” Addon within Rift (this needs to be done only once).

Set up the following options in game:

Hint Type /exportkeybindings in the chat window to save your key configuration, log into another character and then type /importkeybindings (assuming you want to use the same hotkeys across all your characters).

Testing that the Addon works properly

  1. Double check that both the Autohotkey script and the ingame Addon are active.
  2. Place the mouse cursor over a Mail box or NPC and press the Interract key : the Mail or NPC should activate.
  3. Again place the mouse cursor over a Mail box or NPC. Now, without moving the mouse cursor type Enter to start typing in chat and try both the Interract and Mouse Look Toggle keys. Both keys should function as expected in chat (eg. TAB should auto-complete slash commands). The Interract key should NOT activate whatever the mouse is pointing to while typing in chat.

Known Limitations

Thanks

Mouse Look Toggle for Rift is inspired by pvpproject’s Combat Mode 1.1 script which provides similar functionality for Guild Wars 2.

F.A.Q

Is it safe to use Autohotkey?

While Autohotkey has many legitimate uses it is also being used to create “bots” in various games, including Rift. A “fishing bot” script apparently made the rounds a couple years ago and it appears that Trion World implemented rather crude detection of the Autohotkey as a result.

Quoting January 9th 2013 Patch Notes: “That said, some folks do innocently use keyboard-assistance software while they’re at their computer.” (…) “for the next week or two, until the bot situation gets back under control, use of this software may intentionally be randomly unreliable, up to causing random disconnects.”

This was in January 2013. A Google search of Autohotkey on the Rift forums doesn’t show up any recent posts relating to bans for legitimate uses of Autohotkey. Obviously if pressed, the developers and customer service are going to say something along the lines that “use of unauthorized third-party software is not allowed”.

If you are still worried about using Autohotkey you can compile the script. Simply look for the ahk2exeprogram in your Autohotkey installation folder, it is very easy to use. This will create a new, completely standalone executable that can be run without Autohotkey.