游戏狂人
 
- 贡献度
- 13
- 金元
- 15051
- 积分
- 1557
- 精华
- 0
- 注册时间
- 2010-5-26
|
使用 AutoHotkey 來設計按鍵模擬就可以達到只用滑鼠控制多部隊 (遊戲設定: Ctrl+滑鼠左鍵)
請參考, Copy下面代碼並存成文字檔 San13Hotkey.ahk (檔名自己喜歡就行), 啟動遊戲前先執行此檔案
***需先安裝 AutoHotkey 軟體
;======================================================
#SingleInstance Force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Menu, Tray, NoStandard
Menu, Tray, Add, 關閉三國志13快捷鍵, Exit
Menu, Tray, Tip, 滑鼠中鍵=[ Ctrl+滑鼠左鍵 ]
#IfWinActive, 三國志13 ; 設定只有玩遊戲時HotKey才會有效
; 設定滑鼠中鍵為 [ Ctrl+滑鼠左鍵 ] 快捷鍵
MButton::
Send {Ctrl Down}
Send {LButton Down}
Return
MButton Up::
Send {LButton Up}
Sleep, 500 ;(wait 0.5 seconds)
Send {Ctrl Up}
Return
Exit:
ExitApp
;======================================================
希望有人能研究更改讓一般滑鼠就能直接設定行軍路線 (遊戲設定: Shift+滑鼠左鍵), 個人認為中鍵+右鍵還蠻合適, 不過能力不足代碼改不來....
|
|