Rebinding hotkeys?

Distant Worlds is a vast, pausable real-time, 4X space strategy game which models a "living galaxy" with incredible options for replayability and customizability. Experience the full depth and detail of large turn-based strategy games, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game. Now greatly enhanced with the new Universe release, which includes all four previous releases as well as the new Universe expansion!

Moderators: Icemania, elliotg

Post Reply
tomchick
Posts: 8
Joined: Wed Apr 28, 2010 6:30 pm

Rebinding hotkeys?

Post by tomchick »

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
User avatar
Erik Rutins
Posts: 39635
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: Rebinding hotkeys?

Post by 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.
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: Rebinding hotkeys?

Post by madpainter »

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
Posts: 8
Joined: Wed Apr 28, 2010 6:30 pm

RE: Rebinding hotkeys?

Post by tomchick »

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
User avatar
Erik Rutins
Posts: 39635
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: Rebinding hotkeys?

Post by 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]
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: Rebinding hotkeys?

Post by madpainter »

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]
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
Posts: 22
Joined: Sat Apr 24, 2010 6:45 pm
Location: Scotland

RE: Rebinding hotkeys?

Post by Jamoid »

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. :}
User avatar
arioch
Posts: 41
Joined: Fri Dec 07, 2012 5:34 pm
Location: vermont

RE: Rebinding hotkeys?

Post by arioch »

[font="Courier New"]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
}

[/font]
DW+ROTS+Legends+1.7.0.16 update+GEM 2.3+Sirian mods
Buio
Posts: 365
Joined: Wed Nov 21, 2012 7:40 pm

RE: Rebinding hotkeys?

Post by Buio »

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.
Post Reply

Return to “Distant Worlds 1 Series”