• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery General Discovery RP 24/7 General Discussions
« Previous 1 … 48 49 50 51 52 … 778 Next »
multiple keymaps - possible ?

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Pages (4): 1 2 3 4 Next »
multiple keymaps - possible ?
Offline Stabby_Dave
08-02-2017, 06:19 PM,
#1
Member
Posts: 298
Threads: 83
Joined: Jan 2016

Hi.

I fly both snubs and caps (both badly) and have different keyboard setups for each.

Is it possible to have more than one keymap file and to switch to the relevant one, depending on the ship class I'm flying?

Cheers.

A database of helpful information
Reply  
Offline Sombs
08-02-2017, 06:31 PM,
#2
Naughty Catto
Posts: 6,790
Threads: 501
Joined: Feb 2014

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.




Uncharted System Stories: 18 | 32 | 34 | 37 | 38 | 85

Templates: Character | Transmissions

Alternative Soundtracks


Reply  
Offline Stabby_Dave
08-02-2017, 06:34 PM,
#3
Member
Posts: 298
Threads: 83
Joined: Jan 2016

Great idea. Would never have thought of that in a million years.

Fantastic (happy)

Cheers.

A database of helpful information
Reply  
DragonRider
08-02-2017, 07:21 PM,
#4
Unregistered
 

That won't work, as the 2 discovery games will read off the same keymap file.

You can have 2 different keymap files and switch them around. Or use some kind of macro system, but that will be much more complicated.
Reply  
Offline Stabby_Dave
08-02-2017, 11:53 PM,
#5
Member
Posts: 298
Threads: 83
Joined: Jan 2016

Even if they're discrete installations in discrete folders? Registry pointers to the same file? Would that be the problem?

Macro could work. I'm a DBA/programmer of over 30 years (although not in dos/windows), so it's a possibility, however remote.

In the meantime, it's a few keys to reassign every time, but it's not an "elegant" solution, which bugs me.

Some things you can't let go Smile

Any more ideas welcomed.

Cheers.

A database of helpful information
Reply  
DragonRider
08-03-2017, 07:18 AM,
#6
Unregistered
 

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.
Reply  
Offline Antonio
08-03-2017, 08:46 AM,
#7
PvP = RP
Posts: 3,194
Threads: 196
Joined: Nov 2009
Staff roles: Systems Lead

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.

[Image: BMdBL0j.png]
SNAC Montage Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Thruster SNAC
Reply  
Offline Stabby_Dave
08-03-2017, 02:32 PM,
#8
Member
Posts: 298
Threads: 83
Joined: Jan 2016

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

@Antonio : Also a good idea.

Thanks, all. Off to install AutoHotKey

Cheers.
Reply  
DragonRider
08-03-2017, 02:38 PM,
#9
Unregistered
 

Let me know if you need help with setting the macro. Like code and all.
Reply  
Offline Stabby_Dave
08-03-2017, 06:29 PM, (This post was last modified: 08-10-2017, 04:30 PM by Stabby_Dave.)
#10
Member
Posts: 298
Threads: 83
Joined: Jan 2016

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
    }
    
    MsgBox,0,,Scroll lock OFF
    
Return

;#IfWinActive

All help greatly appreciated.

Cheers.

A database of helpful information
Reply  
Pages (4): 1 2 3 4 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode