| |
Topic : Issue with TurnOrActionStart/CameraOrSelectOrMoveStop for MouseLook view in 1.10
Hello,
I play on a French server (Europe obsviously), and we cannot post on the US forums, and we almost NEVER get technical answers (not even an answer).
The coming modifications in 1.10 will completly break my gameplay.
I've always played games like WoW using 90% of the time in my moves, a special camera/movement view called MouseLook.
With a single keybinding, it enables/disables the MouseLook mode (one keypress enables the mode, another disables it).
The mouselook mode is almost exactly like the mode where you hold the right mouse button down.
When in MouseLook mode, the cursor is not visible, and any movement of the mouse will turn your character's direction. Clicking the left mouse button will makes you move forward, and the right button will makes you move backward.
And you don't have to hold down a button to stay in this MouseLook mode.
I made an addon that offers this feature.
Here is what do the keybinding :
<Binding name="KIKIUTILS_ML" description="Active MouseLook" header="KIKIUTILSHEADER">
if(KU_MouseLookOn == 0)
then
<!-- Save bindings -->
KU_SaveBindings();
<!-- Stop previous button actions -->
CameraOrSelectOrMoveStop(arg1);
TurnOrActionStop(arg1);
if(KU_FollowModeOn == 1)
then
CameraOrSelectOrMoveStart(arg1);
else
TurnOrActionStart(arg1);
end
<!-- Set new bindings -->
SetBinding("BUTTON1","MOVEFORWARD");
SetBinding("BUTTON2","MOVEBACKWARD");
SetBinding("CTRL-BUTTON1","");
SetBinding("CTRL-BUTTON2","");
SetBinding("ALT-BUTTON1","");
SetBinding("ALT-BUTTON2","");
SetBinding("SHIFT-BUTTON1","");
SetBinding("SHIFT-BUTTON2","");
KU_MouseLookOn = 1;
else <!-- KU_MouseLookOn == 1 -->
<!-- Restore bindings -->
KU_RestoreBindings();
if(KU_FollowModeOn == 1)
then
CameraOrSelectOrMoveStop(arg1);
else
TurnOrActionStop(arg1);
end
MoveForwardStop(arg1);
MoveBackwardStop(arg1);
KU_MouseLookOn = 0;
end
</Binding>
If I'm following someone, I use the CameraOrSelectOrMoveStart function, instead of TurnOrActionStart, or it will break the follow.
The "Save" and "Restore" "Bindings" functions backup and restore the bindings overwritten by the MouseLook "enter" function (BUTTON1, BUTTON2, CTRL/ALT/SHIFT...)
There is nothing really complicated here, but this allow me to play like I've played for many years before WoW, and I don't plan to stop playing like this.. not now.
But blocking the TurnOrActionStart and CameraOrSelectOrMoveStop function will completly break my addon.
So please, either allow my addon to keep working (I can make whatever changes you can suggest), or implement this MouseLook mode into the game before 1.10 is released (a new keybinding that do exactly what I described)... I'm begging you.
Thanks for any answer,
Kiki from Cho'gall Europe
|