File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Custom Hotkey Remapping - Installation
2+
3+ This patch adds in-game hotkey remapping for unit/building production keys per faction (USA, China, GLA).
4+
5+ ## Installation
6+
7+ After building the game from source, copy the ` .wnd ` files to your Zero Hour installation:
8+
9+ ```
10+ Patch/Window/Menus/KeyboardOptionsMenu.wnd → <ZH Install>/Window/Menus/KeyboardOptionsMenu.wnd
11+ Patch/Window/Menus/OptionsMenu.wnd → <ZH Install>/Window/Menus/OptionsMenu.wnd
12+ ```
13+
14+ Replace ` <ZH Install> ` with your Zero Hour directory, for example:
15+ ```
16+ C:\Program Files (x86)\EA Games\Command and Conquer Generals Zero Hour\
17+ ```
18+
19+ The loose ` .wnd ` files will override the ones inside ` WindowZH.big ` automatically.
20+
21+ ## What it does
22+
23+ - Adds a ** Keyboard Options** button to the Options menu
24+ - Opens a new menu with:
25+ - ** Category dropdown** (Control, Information, Interface, ... + Unit Keys: USA/China/GLA/Other)
26+ - ** Command list** showing all hotkeys for the selected category
27+ - ** Description and current key** display
28+ - ** Text input** to type a new key
29+ - ** Assign** and ** Reset All** buttons
30+ - Hotkey overrides are saved per CommandButton name and persist across sessions
You can’t perform that action at this time.
0 commit comments