Rebinding hotkeys? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series



Message


tomchick -> Rebinding hotkeys? (4/28/2010 9:36:23 PM)

I'd be surprised if this hasn't been asked before, but I can't seem to get the forum's search to return anything but an error message. So, apologies if this has been hashed out already.

Is there any way to rebind hotkeys? I'm on a laptop that doesn't make it easy to use my home, insert, delete, and end keys to hop around various zoom levels. I'd love to rebind these, but there's no ingame option for this. Does anyone know if this is possible by editing a file or something?

-Tom




Erik Rutins -> RE: Rebinding hotkeys? (4/28/2010 9:51:11 PM)

Not within the game that I'm aware of, sorry. I will ask Elliot though. It may be possible to do this through external software though.




madpainter -> RE: Rebinding hotkeys? (4/28/2010 10:16:59 PM)

quote:

ORIGINAL: Erik Rutins

Not within the game that I'm aware of, sorry. I will ask Elliot though. It may be possible to do this through external software though.

Autohotkey would do it, It can also detect what your active window is so that the remapping only works during certain applications.

It's free but its not paticularly straightforward to use, full instructions are provided though.
@Tomchick ---Feel free to PM me if you try it and run into difficulty.[;)]




tomchick -> RE: Rebinding hotkeys? (4/28/2010 10:59:38 PM)

Ooh, I like the looks of that Autohotkey program!  Thanks for the tip, Mr. Painter.

Erik, it's not a major deal, but it might be a cool interface feature to fold into the game sometime down the road if it's not too difficult for Elliot.  DW has such excellent hotkey support already, but that extra bit of flexibility would push it over the top into bona fide nerdgasm interface nirvana.

   -Tom




Erik Rutins -> RE: Rebinding hotkeys? (4/28/2010 11:04:28 PM)

I just spoke with Elliot and we'll take a look at allowing rebinding for the next update. Can't promise, but we'll definitely take a look. Interface nirvana is something we would like to achieve. [8D]




madpainter -> RE: Rebinding hotkeys? (4/29/2010 12:10:24 AM)

quote:

ORIGINAL: Erik Rutins

I just spoke with Elliot and we'll take a look at allowing rebinding for the next update. Can't promise, but we'll definitely take a look. Interface nirvana is something we would like to achieve. [8D]

Even a text file we can edit would be handy.
Thank you
BTW when do you sleep? When your not working on the patches you're on the forums.[:D]

quote:

ORIGINAL: tomchick

Ooh, I like the looks of that Autohotkey program! Thanks for the tip, Mr. Painter.



Just don't do what I did, and remap the mouse buttons. Disabling it without using the mouse was a challenge in itself.[:D]
"I wonder what happens if I...........Oh bum"




Jamoid -> RE: Rebinding hotkeys? (4/29/2010 12:23:31 AM)


quote:

ORIGINAL: madpainter
Just don't do what I did, and remap the mouse buttons. Disabling it without using the mouse was a challenge in itself.[:D]
"I wonder what happens if I...........Oh bum"


haha, an "i wonder what happens if i change the language on my phone to korean" moment.

and yes, being able to change hotkeys would indeed be appreciated. :}




arioch -> RE: Rebinding hotkeys? (12/18/2012 3:53:17 PM)

Yes, autohotkey is very good for this. Here's what I came up.
I tend to use F for fleets so decided on the C-V-B-N which I don't use as much.

;#IfWinActive ahk_class WindowsForms10.Window.208.app.0.33c0d9d - note, can't use this as class changes
#IfWinActive, Distant Worlds ; only in DW
{
v::PgDn ; Makes the 'v' key send a 'page down' key - Zoom In
PgDn::v ; Makes the 'page down' send the 'v' key
c::PgUp ; Makes the 'c' key send a 'page up' key - Zoom Out
PgUp::c ; Makes the 'page up' send the 'c' key
b::Delete ; Makes the 'b' key send a 'delete' key - Sector View
Delete::b ; Makes the 'Delete' send the 'b' key
n::End ; Makes the 'n' key send a 'end' key - Galaxy View
End::n ; Makes the 'end' send the 'n' key
}

What would be great is to have the "Page Down-Zooms the main view In" to zoom to below the mouse pointer.
Can this be done?


12/20/12 update;
Yes, it can be done! ;-)

If you have the starting game option "MOUSE SCROLL-WHEEL BEHAVIOUR" set to "move to mouse cursor selection"
then the following works better for using Autohotkey remapping.

#IfWinActive, Distant Worlds
{
v::WheelUp ; Makes 'v' key send mouse 'wheel up' Zoom In
c::WheelDown ; Makes 'c' key send mouse 'wheel down' Zoom Out
PgUp::v ; Makes 'page up' send 'v' key victory conditions
PgDn::c ; Makes 'page down' send 'c' key cycle thru Colonies

b::Delete ; Makes 'b' key send 'delete' key Sector View
n::End ; Makes 'n' key send 'end' key Galaxy View
Delete::b ; Makes 'Delete' send 'b' key backward in selection history
End::n ; Makes 'end' send 'n' key forward in selection history
}





Buio -> RE: Rebinding hotkeys? (12/22/2012 2:49:49 PM)

quote:

ORIGINAL: madpainter
Even a text file we can edit would be handy.

As you say, a simple option where we can edit a text file would be fine for me. At the moment I hope they focus on the big new features in Shadows and maybe add editable hotkeys later on in a patch.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.75