If you have enough space, just have two version of Discovery installed. I do that for example when I want to record something without any graphical alterations.
Every Discovery installation reads off the same files in My Documents>My Games>Freelancer. The file called "UserKeyMap" contains the keys. If you don't mind restating the game everytime you want to switch between snub and cap layouts, you can have 2 instances of this file and switch it around.
If you only have a few keys I may have a solution.
I often use a macro program called AutoHotKey. One feature is to make one key register as another. For example, I can make pressing the "A" key make the computer see as pressing "S".
So here's what you can do. Make a toggle that enables/disables this macro (caps lock or scroll lock is good if your keyboard has a light). Then say on your snub setup you use "R" to launch missiles and on your cap setup you use "Q". When the macro is enabled, make "Q" count as "R".
Only downside to this is you have to disable it every time you want to chat.
Posts: 3,001
Threads: 181
Joined: Nov 2009
Staff roles: Systems Developer
You can do what I do. If I'm flying a snub, I have my primary keys set as WASD for strafing, tab for thrust, X for reverse, Q for CD and 1-6 weapon groups. When I'm flying a cap, I switch the WASD for steering, but I also have a secondary strafing loadout which is needed in some scenarios (99% of that is on battleships, but sometimes strafing in other caps comes in handy) which is O,K,L and whatever is right of L for you for strafing, U for thrust, . for reverse, i for CD and 7,8,9,0,',+ for weapon groups.
(08-03-2017, 07:18 AM)DragonRider Wrote: Every Discovery installation reads off the same files in My Documents>My Games>Freelancer. The file called "UserKeyMap" contains the keys. If you don't mind restating the game everytime you want to switch between snub and cap layouts, you can have 2 instances of this file and switch it around.
If you only have a few keys I may have a solution.
I often use a macro program called AutoHotKey. One feature is to make one key register as another. For example, I can make pressing the "A" key make the computer see as pressing "S".
So here's what you can do. Make a toggle that enables/disables this macro (caps lock or scroll lock is good if your keyboard has a light). Then say on your snub setup you use "R" to launch missiles and on your cap setup you use "Q". When the macro is enabled, make "Q" count as "R".
Only downside to this is you have to disable it every time you want to chat.
I can help you set this up if you like the idea.
This is just what I'm after. I'll have my default setup for caps, then, if I fly a snub, I'll enable it and switch over. That way, I should be able to chat most of the time without a problem.
Cheers. Written some code. Not working yet. I'll post a copy when I get back from the pub.
[EDIT]
Hmmm. Can't get it working. It recognises when the scroll lock key is pressed, but doesn't seem to remap the keys correctly.
Registered on the AutoHotKey forum, but account not activated yet.
Here's the code:
Code:
; Changes the WASD keys to ARROW keys when Scroll Lock is toggled on. Reverts when off.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;#IfWinActive ahk_class Freelancer
~ScrollLock::
KeyWait, ScrollLock
while GetKeyState("ScrollLock","T")
{
MsgBox,0,,Scroll lock ON
$w:: send {Up}
$Up:: send w
$s:: send {Down}
$Down:: send s
$a:: send {Left}
$Left:: send a
$d:: send {Right}
$Right:: send d
}