View previous topic :: View next topic |
Author |
Message |
New Member How do I cheat? Reputation: 0
Joined: 29 Jan 2016 Posts: 6
|
Posted: Thu Oct 04, 2018 1:41 am Post subject: How do I add the hotkey for Cheat Engine: mouselook |
|
|
I mean instead of using w,a,s,d as hotkeys for look up, look down, look left, look right. I want to use the mouselook controls instead. How do I do that? What do I write in the hotkey section?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Thu Oct 04, 2018 2:52 am Post subject: |
|
|
set the mouse cursor to the center of the screen and then use a very fast timer to read out the mouse cursor distance from the center of the screen and translate that into w,a,s,d key presses (and based on the distance longer down).
then afterwards set the mouse cursor back to the center and let that repeat
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
New Member How do I cheat? Reputation: 0
Joined: 29 Jan 2016 Posts: 6
|
Posted: Thu Oct 04, 2018 8:30 am Post subject: |
|
|
Dark Byte wrote: | set the mouse cursor to the center of the screen and then use a very fast timer to read out the mouse cursor distance from the center of the screen and translate that into w,a,s,d key presses (and based on the distance longer down).
then afterwards set the mouse cursor back to the center and let that repeat |
I found this answer from reddit but
Quote: | Read/write your mouse XY values via getMousePos() and use those values in place of isKeyPressed(), where applicable. |
How do I write or copy/paste "getMousePos()" in hotkey section?
http: // imgbox. com/ INKNp56A
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Oct 04, 2018 9:24 am Post subject: |
|
|
New Member wrote: | ...
How do I write or copy/paste "getMousePos()" in hotkey section?
... |
You don't/can't.
The quote from reddit tells you to do the same thing DB said to do (in way less detail).
_________________
|
|
Back to top |
|
|
|