v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User:Digger
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | Hi, I'm Digger, usually I go by a nick of Meat_Grinder, however in case of digging a fortress I had to assume this one. Usually I'm adding some minor stuff and just being nitpicky, feel free to remind me of that when you think I go overboard. These are my first wiki-contributions after all :) | + | Hi, I'm Digger, usually I go by a nick of Meat_Grinder or Kaktyc, however in case of digging a fortress I had to assume this one. Usually I'm adding some minor stuff and just being nitpicky, feel free to remind me of that when you think I go overboard. These are my first wiki-contributions after all :) |
− | == BEHOLD THE MOUSE SCRIPT | + | == BEHOLD THE MOUSE SCRIPT == |
I dedicate this script to '''ignir''', who, unable to use mouse in DF, left this awesome game long ago. | I dedicate this script to '''ignir''', who, unable to use mouse in DF, left this awesome game long ago. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
;This is a script that enables basic mouse controls in DF. The precision of the scipt is ~1 tile for me. | ;This is a script that enables basic mouse controls in DF. The precision of the scipt is ~1 tile for me. | ||
Line 20: | Line 15: | ||
;Once you get a hand of it, you will realize that you can navigate to the places you can't even see on the screen. | ;Once you get a hand of it, you will realize that you can navigate to the places you can't even see on the screen. | ||
− | + | ||
#InstallMouseHook ;This module of AutoHotKey tracks the mouse movement and clicks, it is not enabled by default, see AutoHotKey's readme for details | #InstallMouseHook ;This module of AutoHotKey tracks the mouse movement and clicks, it is not enabled by default, see AutoHotKey's readme for details | ||
− | ^ | + | ^+!z::Reload ;This one obviously reloads the script |
− | !s::Suspend ;This one toggles hotkeys on and off | + | ^!s::Suspend ;This one toggles hotkeys on and off |
Line 56: | Line 51: | ||
− | ;these ones scroll Up/Down. Hold Left Ctrl & scroll! Hold | + | ;these ones scroll Up/Down. Hold Left Ctrl & scroll! Hold z instead of Ctrl for a speed boost. |
~LCtrl & WheelUp:: | ~LCtrl & WheelUp:: | ||
Loop %A_EventInfo% | Loop %A_EventInfo% | ||
Line 81: | Line 76: | ||
Loop %A_EventInfo% | Loop %A_EventInfo% | ||
{ | { | ||
− | Send { | + | Send {NumpadPgDown} |
} | } | ||
return | return | ||
Line 102: | Line 97: | ||
− | ;Makes an Enter of Left Shift | + | ;Makes an Enter of Left Shift & LMB click. |
LShift & LButton:: | LShift & LButton:: | ||
− | |||
− | |||
− | |||
− | |||
Send {Enter} | Send {Enter} | ||
return | return | ||
Line 158: | Line 149: | ||
{ | { | ||
;estimating number of tiles to move, change 12x12 to YOUR tile size in order to get it right, it might be different in fullscreen/windowed, making it harder for you to use mouse | ;estimating number of tiles to move, change 12x12 to YOUR tile size in order to get it right, it might be different in fullscreen/windowed, making it harder for you to use mouse | ||
− | xpos2 /= 12 | + | xpos2 /= 12 |
− | ypos2 /= 12 | + | ypos2 /= 12 |
;MsgBox %xpos2% %ypos2% | ;MsgBox %xpos2% %ypos2% | ||
} | } | ||
Line 206: | Line 197: | ||
return | return | ||
− | |||
LWin:: | LWin:: | ||
xpos1 = 0 | xpos1 = 0 | ||
Line 212: | Line 202: | ||
xpos2 = 0 | xpos2 = 0 | ||
ypos2 = 0 | ypos2 = 0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
return | return | ||
</pre> | </pre> |