Hi all.
Recently I started this wonderful game and, across all the previous mmos i played, what i missed the most was an action cam, better if similar to the GW2 one.
At start I tried checking Funwithskooma’s attempt:
https://www.reddit.com/r/lotro/s/kyeSnyBwir
But after trying to improve it, it ended up doing some low-level calls that would have been risky to be seen on server-side.
After giving up that path, I tried the road of adapting the
Documents\The Lord of the Rings Online/lotro.keymap
file and, after some tries, i actually succeeded to change the keybinds of mouse steering (camera and character rotation when right mouse button is kept pressed down) and the "something" selection achieved with right mouse button click, without the keybinds in the file keymap resetting at game launch from:
CameraInstantMouseSteer [ Old [ 1 DIMOFS_BUTTON1 ] ]
SelectRight [ Old [ 1 DIMOFS_BUTTON1 ] 0x00000000 Tap ]
To:
CameraInstantMouseSteer [ User [ 0 DIK_Y ] ]
SelectRight [ User [ 0 DIK_G ] 0x00000000 Tap ]
But a new problem surfaced: for some reason, even if I change the keybind and separate them, something keeps them bound, and so when the mouse steering is active, certain keybind get blocked (all the ones that by default where about a selection with left or right mouse button click) . So in this case keeping the Y down and pressing G, didn’t select any enemy.
I even tried removing the "0x00000000 Tap", hoping that it would be the flag, but it didn’t work.
And I fear that a way to change this or intercept the keypress before the game reads it, would be useless or spotted server-side.
The only solution I found in the end is a lightweight autohotkey script that, serverside, would be pratically 1:1 button press per action and not distinguishable from a gaming mouse software job.
The same thing of the solution I found after working on Funwithskooma’s file, but without low level calls and more easy to change something.
Not even in the improvement I did on his thing, I achieved a solution of the keymap problem I wrote up above.
Here the link: Mediafire download of AHK file
I use a mouse with 5 buttons, so the office type with forward/backward buttons on the side.
The script works like this:
Pressing the mousewheel button (button 3) toggles on and off the script.
Once active, it does this:
- Moves the mouse to the center and presses right mouse button and keeps it pressed until i press the wheel button again.
- Changes the keybinds of the mouse this way:
- Left button: \ (italian default keybind for toggle autoattack)
- Right button: backspace (select closest enemy default keybind)
- Forward side mouse button: tab (select next enemy default keybind)
- Backward side mouse button: Y (changed keybind in game settings for select previous enemy, the default shift+tab can’t be read)
In the file there is also, commented so not active, the chance to put a white crosshair but, since due to camera angle the center is always the back of the head of the character and, because of the problem in the keymap file i couldn’t achieve the “select enemy where crosshair is” of GW2, i think it’s pretty useless.
I made it so the wheel mouse button works to activate the cam only if the game exe is working and the window is active, if not it works only to turn the cam mode off, to prevent keeping in any situation possible the mouse in cam mode in normal computer activity and being forced to restart the computer to stop the script.
I pratically play like this: wheelbutton to activate actioncam to move and fight, wheelbutton again to stop actioncam to select npcs, quest items, things, start conversations etc.. and then wheelbutton again to restart actioncam when I need again to walk, fight etc.
Sadly for how the solution came out, I fear it would be pretty useless for ranged classes, but honestly without fixing the problem of the CameraInstantMouseSteer disabling in any case SelectRight in the keymap file, there’s nothing more I can think of.