.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Anyway to disable "e" button? (http://forum.shrapnelgames.com/showthread.php?t=42548)

Ynglaur March 10th, 2009 02:59 PM

Anyway to disable "e" button?
 
After ending my turn by accident twice in the last 4 turns, I was wondering if there was any way to either:
1. Disable the 'e' key, since I can at least hide the right-hand menu from accidental hits
OR
2. Add a "are you sure?" prompt to the end turn command

Jazzepi March 10th, 2009 03:04 PM

Re: Anyway to disable "e" button?
 
Turn on caps lock.

Jazzepi

Ynglaur March 10th, 2009 03:15 PM

Re: Anyway to disable "e" button?
 
unfortunately, that prevents most of the other useful keyboard shortcuts from working (e.g. 'r' recruit, 't' army, even the map filters '1', '2', etc.).

Sombre March 10th, 2009 03:18 PM

Re: Anyway to disable "e" button?
 
How are you accidentally htting 'e' anyway? My fingers never go near it except maybe when I have orders set to '3' and,.. well,.. I can hit numbers without hitting letters?

Ynglaur March 10th, 2009 03:33 PM

Re: Anyway to disable "e" button?
 
Precision = 1?

Seriously, I'm just clumsy. I've hit it reaching for "3" and "r".

Jarkko March 10th, 2009 03:46 PM

Re: Anyway to disable "e" button?
 
I would love it if the "e" was changed to "ctrl+shift+e" or something. Dunno how many times I've hit "e" when trying hit "r", but it hurts each time :doh:

fungalreason March 10th, 2009 03:55 PM

Re: Anyway to disable "e" button?
 
Yeah I've done that a bunch too. "r"ecruit, "R"esearch, and province "d"efense are right nearby, and I use those very frequently. Fortunately I only do PBEM games for the most part, so it isn't a big issue.

It would be nice if we could change the hotkey, disable it, or even if it was something more difficult to accidentally hit.

llamabeast March 10th, 2009 04:02 PM

Re: Anyway to disable "e" button?
 
I bet you can get some program which intercepts key presses or something. Some techie must know how to do it!

Gregstrom March 10th, 2009 04:10 PM

Re: Anyway to disable "e" button?
 
Quote:

Originally Posted by Ynglaur (Post 679224)
unfortunately, that prevents most of the other useful keyboard shortcuts from working (e.g. 'r' recruit, 't' army, even the map filters '1', '2', etc.).


It doesn't stop the map filters for me. And I can get all the lowercase hotkeys by just holding shift.

Ynglaur March 10th, 2009 04:47 PM

Re: Anyway to disable "e" button?
 
If that's true, you can probably hit "Shift-e" too, then. ;)

thejeff March 10th, 2009 04:48 PM

Re: Anyway to disable "e" button?
 
But if you're holding shift and miss the 'r' key... you're back where we started.

And intercepting the key presses can work, but it's annoying to lose 'e' if you're switching in and out of dominions.

Ynglaur March 10th, 2009 05:06 PM

Re: Anyway to disable "e" button?
 
How 'bout it Kristoffer - feature for the next patch, perhaps? A simple "are you sure?" dialog (optional, perhaps) would be great.

JimMorrison March 10th, 2009 05:25 PM

Re: Anyway to disable "e" button?
 
It's important to note - the game autosaves when you End Turn. It runs SP the same way that it runs PBEM, so when you End Turn, it generates a file to "send to the host", and then it "hosts the game".

If you End Turn too early, you can then quickly close the program, reload and select "Continue From Where I Left Off", and your turn will be as it was at the exact moment that you hit End Turn.

Ynglaur March 10th, 2009 05:48 PM

Re: Anyway to disable "e" button?
 
Very good to know - thanks!

Micah March 10th, 2009 06:31 PM

Re: Anyway to disable "e" button?
 
Play MP ;-)

Ironhawk March 10th, 2009 06:48 PM

Re: Anyway to disable "e" button?
 
This problem also occurs for MP server-based games. But you can get around it there by playing your turns off the server. Not a problem for PBEM, of course.

thejeff March 10th, 2009 07:01 PM

Re: Anyway to disable "e" button?
 
Not a real problem in MP. If you're playing connected to the server and everyone else has already played, it would trigger the turn.

It's generally best to download the turn, disconnect, and play locally anyway. That way you don't have to do the whole turn at once.

vfb March 10th, 2009 07:10 PM

Re: Anyway to disable "e" button?
 
I think Ctl-E for end turn is a really good suggestion.

Confirmation dialog boxes are really annoying, but I have hit 'e' instead of 'r' in SP. Depending on the scenario, there may not be time to close the window.

Dedas March 10th, 2009 10:53 PM

Re: Anyway to disable "e" button?
 
I like it when games punish you for being clumsy or losing focus.

lebarjack March 11th, 2009 02:16 AM

Re: Anyway to disable "e" button?
 
An even better solution would be to let user mapping they own favorite key to all these actions...
That would also solve other keyboard problems (ie: I cannot record battle order with my french keyboard)

lch March 11th, 2009 07:41 AM

Re: Anyway to disable "e" button?
 
What he said. The keycodes for the hotkeys are hardcoded, at the moment, the only possibility that you have for editing them are to hex edit the game binary itself.

Mithras March 11th, 2009 10:21 AM

Re: Anyway to disable "e" button?
 
If playing SP a stop gap measure is to play two nations at once. Don't know if its apropriate but I might as well chuck it in there.

Loren March 11th, 2009 02:01 PM

Re: Anyway to disable "e" button?
 
Quote:

Originally Posted by vfb (Post 679294)
I think Ctl-E for end turn is a really good suggestion.

Confirmation dialog boxes are really annoying, but I have hit 'e' instead of 'r' in SP. Depending on the scenario, there may not be time to close the window.

Second this.

Agema March 13th, 2009 09:20 AM

Re: Anyway to disable "e" button?
 
Apart from the +/- key for fine tune adjustment and typing in some names during game setup, I'm not sure I've ever used the keyboard playing Dom3...

rdonj March 13th, 2009 09:26 AM

Re: Anyway to disable "e" button?
 
I have nerve issues with my hands and clicking can be painful sometimes, so I use the keyboard quite frequently :) I've only accidentally hit e once or twice, luckily when I was already solidly winning so it didn't really hurt the game.

theenemy March 13th, 2009 03:28 PM

Re: Anyway to disable "e" button?
 
There should at least pop up a message saying something like: Do you really wish to end your turn?
Please Illwinter! Pimp my Dom3!

darloth March 16th, 2009 05:36 PM

Re: Anyway to disable "e" button?
 
I support a confirmation box for the 'e' key, or making it ctrl-e or something. e+return to confirm is not much harder and prevents 99% of mispresses.

Dedas March 17th, 2009 05:25 AM

Re: Anyway to disable "e" button?
 
There should be a random chance each turn for the turn to end, simulating clumsiness for all players, thus making it more even. Just a thought.

Humakty March 17th, 2009 05:42 AM

Re: Anyway to disable "e" button?
 
Or a random attribution of hotkeys each turn.

Dedas March 17th, 2009 06:45 AM

Re: Anyway to disable "e" button?
 
That would be rad!

Illuminated One March 17th, 2009 01:06 PM

Re: Anyway to disable "e" button?
 
Well, you can change your keyboard layout to Dvorak while playing.

http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard

Dedas March 17th, 2009 02:18 PM

Re: Anyway to disable "e" button?
 
It would be nice to have a program that randomize your keyboard layout from a huge list of layouts after every keystroke. I would pay for such a program.

MaxWilson April 27th, 2009 08:04 PM

Re: Anyway to disable "e" button?
 
Quote:

Originally Posted by Mithras (Post 679383)
If playing SP a stop gap measure is to play two nations at once. Don't know if its apropriate but I might as well chuck it in there.

Or turn on --comptrn, which is loads of fun anyway. I love to watch the computer EA Ermor fighting ineffectively against the computer Niefelheim, and occasionally intervening to smash an army or something.

-Max

Rookierookie April 27th, 2009 10:07 PM

Re: Anyway to disable "e" button?
 
In SP you could just turn off the program while it's resolving the turn.

Jagdpanther April 27th, 2009 10:58 PM

Re: Anyway to disable "e" button?
 
I didn't read all of this thread: Don't shoot me if this solution has already been mentioned.

Here is a little script called 'dom' that re-maps the keyboard 'e' to 'r' (so you have two 'r' keys) and makes the 'end' key an 'e'. (It's harder to accidentally hit it there.) When dom3 quits, the script re-maps the original key-bindings. Unfortunately, this mapping, when in use is system wide. (ie. have fun trying to IM when playing ;-) ) This is for Linux.

Code:

#!/bin/bash

xmodmap -e "keycode  26 = 0x0072"    # make e --> r
xmodmap -e "keycode 103 = 0x0065"    # make end --> e
dom3                                # you might need the full path
xmodmap -e "keycode  26 = 0x0065"    # make e --> e
xmodmap -e "keycode 103 = 0xff57"    # make end --> end


Gandalf Parker April 27th, 2009 11:52 PM

Re: Anyway to disable "e" button?
 
Every system, linux or windows or mac, has various ways to reprogram a key. The trick is to do it on the script (or shortcut or icon) that takes you into Dom3, then have it change it back on the way out.

As for the linux system-wide thing, I dont think its system wide if you create a seperate user for playing Dom3.

MaxWilson April 28th, 2009 12:30 AM

Re: Anyway to disable "e" button?
 
Quote:

Originally Posted by Illuminated One (Post 680568)
Well, you can change your keyboard layout to Dvorak while playing.

http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard

Actually, for me that has been the only reason I ever accidentally End Turn. My computer is set to Dvorak by default, but I usually use QWERTY for Dominions--and if I hit 'D' for "province Defence", immediately after starting a game and before switchiing to QWERTY, the key 'D' is 'E' in Dvorak and it ends my turn. Much frantic process-killing ensues, to try to stop Dom3 before it finishes turn computation and saves the files to disk. Fortunately Dom3 often takes several minutes to process on my machine so I'm usually okay.

However, this is one of the main reasons I have taken to automatically backing up my files every turn via the --postexec command. The other reason is so that I can figure out what magic sites were in province X that I just lost.

-Max

Korwin January 14th, 2011 03:41 PM

Re: Anyway to disable "e" button?
 
Necro because a new patch is comming out.
Any chances for an CTRL + e change?

Edi January 14th, 2011 04:58 PM

Re: Anyway to disable "e" button?
 
No.

Gregstrom January 14th, 2011 05:00 PM

Re: Anyway to disable "e" button?
 
Waah.

NTJedi January 16th, 2011 03:07 AM

Re: Anyway to disable "e" button?
 
Quote:

Originally Posted by llamabeast (Post 679240)
I bet you can get some program which intercepts key presses or something. Some techie must know how to do it!

Yes there's an easy way to fix this for Dominions_3. Download Microsofts tool called Remapkey.exe. This tool is very easy to use and when you're finished playing Dominions_3 it's very easy to return the settings to normal.

Ideally Shift and e should end the turn instead of only e , perhaps a future patch.

JonBrave January 17th, 2011 06:55 PM

Re: Anyway to disable "e" button?
 
A keyboard only costs like $12. Why don't you buy a spare keyboard, remove the "E" key, and just plug it in when playing Dominions? I don't get what all the fuss is about, that's simple.

Gandalf Parker January 18th, 2011 11:10 AM

Re: Anyway to disable "e" button?
 
On the other hand a program like AutoHotKey is free to download. And it can be setup to make the change automatically whenever you start Dom3, and turn it back when you quit. Still not the best answer but its an answer.


All times are GMT -4. The time now is 02:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.