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

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.


All times are GMT -4. The time now is 04:38 AM.

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