.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old August 19th, 2007, 12:43 PM

Jagdpanther Jagdpanther is offline
Corporal
 
Join Date: Mar 2004
Location: Los Angeles, CA
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Jagdpanther is on a distinguished road
Default Disable or re-map Hot-Key? [Resolved]

How do I disable or re-map hot-keys? I have accidentally pressed the 'e' key ... I really just want to disable the 'e'.
Reply With Quote
  #2  
Old August 19th, 2007, 02:23 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Disable or re-map Hot-Key?

Impossible AFAIK.
Reply With Quote
  #3  
Old August 19th, 2007, 02:25 PM
Jazzepi's Avatar

Jazzepi Jazzepi is offline
Major General
 
Join Date: Jan 2004
Location: Columbus, OH
Posts: 2,204
Thanks: 67
Thanked 49 Times in 31 Posts
Jazzepi is on a distinguished road
Default Re: Disable or re-map Hot-Key?

1. Find a flat, metallic object. A butter knife will do well.
2. Pry up the E key.
3. Pry up any other key of the same size.
4. Interchange said keys.

Viola! You are done.

Jazzepi
Reply With Quote
  #4  
Old August 19th, 2007, 08:06 PM

Jagdpanther Jagdpanther is offline
Corporal
 
Join Date: Mar 2004
Location: Los Angeles, CA
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Jagdpanther is on a distinguished road
Default Re: Disable or re-map Hot-Key?

Because this really was bugging me and physically changeing the keys wouldn't help :-) (I don't look at my keyboard enough, that is the real problem) here is a cheesy hack that will re-map your 'e' key to 'r' ... so if you press 'e' you get the recruitment page. 'Cheesy' because it re-maps your entire XWindows session.

This only works on Linux ...

Script 1, change 'e' to 'r'

no_e_key.bash:

#!/bin/bash
xmodmap -e "keycode 26 = 0x0072" # make e --> r


And when you want your 'e' back:

yes_e_key.bash:

#!/bin/bash
xmodmap -e "keycode 26 = 0x0065" # make e --> e


Also, if you logout of your XWindows session the original settings will be back.
Reply With Quote
  #5  
Old August 19th, 2007, 08:38 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Disable or re-map Hot-Key?

You could always include it in your xwindows startup script.

Yay! Another reason that Linux rules.
I would have been really surprisd if there was no way to do it in linux.

WARNING: Do not use Linux if you want to be able to ask a question and get an answer how to do it. Use Linux if you want to ask a question and get a hundred different answers on how to do it.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #6  
Old August 19th, 2007, 10:05 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: Disable or re-map Hot-Key?

Use remapkey.exe for any systems using a Microsoft operating system. Very easy to use and no editing of the registry or yanking out keys from the keyboard.

Fun tool to play a trick on your friends too.
__________________
There can be only one.
Reply With Quote
  #7  
Old August 20th, 2007, 08:24 AM
Hadrian_II's Avatar

Hadrian_II Hadrian_II is offline
Major
 
Join Date: Oct 2006
Location: Bern, Switzerland
Posts: 1,109
Thanks: 14
Thanked 17 Times in 14 Posts
Hadrian_II is on a distinguished road
Default Re: Disable or re-map Hot-Key?

Quote:
Gandalf Parker said:
You could always include it in your xwindows startup script.

I think this would be to agressive, but just create a dom3 startscript with it.

something like this:

#!/bin/bash
xmodmap -e "keycode 26 = 0x0072" # make e --> r
./dom3_x86 #here you need the right path
read # just that it waits after the game started
xmodmap -e "keycode 26 = 0x0065" # make e --> e
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:45 PM.


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