Username:    Password:    Remember Me?         

Reverie World Studios Forums - View Single Post - Hotkeys?
Thread: Hotkeys?
View Single Post
  #3  
Old 06-04-2013, 02:02 AM
Wynn Wynn is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Wynn has a default reputation
Default

BUMP. Hotkeys and assignable keybindings are a mainstay of games these days. The ability to press a key, or combination of keys to perform a GUI menu action should be high on the to-do list (after fixing bugs but before working on new DLC).

There are a couple of text files in the Steamlibrary\SteamApps\Common\Dawn of Fantasy\Setting folder that contain the existing keybindings. You can either modify those or use something like AutoHotKey. I created a script for AHK that remaps w,s,a,d to up,dn, left, right arrow keys as I prefer to use arrow keys to pan around the map instead of rotate and zoom in and out (I use the mouse to rotate and zoom). It also remaps Numpad 1-9 to normal 1-9 so when I have units assigned to control groups I can just hit the number on the numpad instead of the numbers above the QWERTY keys. The AHK script also disables the right WINDOWS key so pressing it doesn't minimize the game and bring up the START menu. Here's what mine looks like in case you are interested in something similar. The following is entered in a text file named DoFKW keymap.ahk that you can create with notepad. AHK has a sample file that already includes the stuff at the top so you don't have to type that in. *EDIT* You can easily copy the text from here and paste it into your own text file. I don't work for AHK but use the utility in several games including Skyrim and Fallout New Vegas. END EDIT* The key remapping is at the bottom and follows the convention key1::key2 where pressing key1 will output key2. RWin:: simply returns a null value so when you press the key it doesn't do anything. Its freeware and has a good help file that includes a lot more information.



;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#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.

Numpad1::1
Numpad2::2
Numpad3::3
Numpad4::4
Numpad5::5
Numpad6::6
Numpad7::7
Numpad8::8
Numpad9::9
Up::w
Down::s
Left::a
Right::d
Rwin::
Return

Last edited by Wynn : 06-04-2013 at 07:01 PM.
Reply With Quote