Google Answers Logo
View Question
 
Q: Command and Conquer Generals - Keyboard Shortcut Customization ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Command and Conquer Generals - Keyboard Shortcut Customization
Category: Computers > Games
Asked by: gllen-ga
List Price: $2.00
Posted: 04 May 2003 17:32 PDT
Expires: 03 Jun 2003 17:32 PDT
Question ID: 199382
I am looking for a way to customize my keyboard configuration for this
game. Even if it means using a 3rd party program.

Request for Question Clarification by sldreamer-ga on 05 May 2003 03:23 PDT
Hi gllen,

I have searched the various Command and Conquer Generals web sites and
their forums.  It appears that there is no program that lets you
change your keyboard mappings.  The only way to change your keyboard
mappings is to manually edit a certain text file.  Would you be
comfortable doing that?  If so, let me know and I will give you more
details.

Regards,
sldreamer

Clarification of Question by gllen-ga on 05 May 2003 05:53 PDT
Yes, if it's possible to do it by editing a text file that would be great!
Answer  
Subject: Re: Command and Conquer Generals - Keyboard Shortcut Customization
Answered By: sldreamer-ga on 05 May 2003 12:04 PDT
Rated:5 out of 5 stars
 
Hi gllen,

In the answer to your other C&CG question, I provided the following
link to a discussion on one of the official C&CG message boards:

General Discussion: "Scroll with arrows mod (works online)" 
http://messagebrd.westwood.ea.com/cgi-bin/boards/gen/ultimatebb.cgi?ubb=get_topic;f=1;t=022029
 
The author of the first post in that discussion was able to change
some of the keyboard mappings by modifying the CommandMap.ini file
located in the <install directory>\Data\english directory.  I
downloaded a copy of the modified file and examined it.  It contains
several entries, each of which represents a keyboard mapping.  Here is
one of the entries:

CommandMap SAVE_VIEW1
  Key = KEY_F1
  Transition = DOWN
  Modifiers = CTRL
  UseableIn = GAME
  Category = INTERFACE
  Description = GUI:SaveView1Description
  DisplayName = GUI:SaveView1
End

This is the keyboard mapping for saving view #1.  The mapping has
several values; you only need to be concerned with the Key and
Modifiers values.  The Key value for this particular mapping is set to
KEY_F1, and the Modifiers value is set to CTRL.  This means that
whenever you want to save view #1, you should press the CTRL and F1
keys.

Here is another entry:

CommandMap SELECT_TEAM1
  Key = KEY_1
  Transition = DOWN
  Modifiers = NONE
  UseableIn = GAME
  Category = TEAM
  Description = GUI:SelectTeam1Description
  DisplayName = GUI:SelectTeam1
End

This is the keyboard mapping for selecting team #1.  The Key value is
KEY_1 and the Modifiers value is NONE.  This means that whenever you
want to select team #1, you just have to press the 1 key.


It is not too difficult to change any of the mappings.  All you have
to do is open your CommandMap.ini file in a text editor (such as
Notepad) and modify the Key and Modifiers values for the mappings that
you would like to change.

You should be aware that there are some mappings that are represented
by a pair of entries.  Here is one of those mappings:

CommandMap BEGIN_CAMERA_ROTATE_LEFT
  Key = KEY_KP4
  Transition = DOWN
  Modifiers = NONE
  UseableIn = GAME
End

CommandMap END_CAMERA_ROTATE_LEFT
  Key = KEY_KP4
  Transition = UP
  Modifiers = NONE
  UseableIn = GAME
End

This mapping rotates the camera to the left when the 4 key on the
keypad is pressed, and it continues to do so until that key is
released.  If you want to change this mapping, then you need to change
the Key and Modifiers values for both of the entries.

Also, when changing the mapping for a particular action, you should
make sure that there are no other actions with the same mapping. 
Otherwise you may experience problems.


Here is a graphic that shows the default keyboard mappings:
http://cncden.com/cncgenerals_pics/genkeycom.jpg


If you have any questions, please let me know through a clarification
request.


Regards,
sldreamer


Search strategy:

command and conquer generals hotkeys
://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&safe=off&q=command+and+conquer+generals+hotkeys
gllen-ga rated this answer:5 out of 5 stars
Thanks a lot, exactly what I needed

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy