Keymap problems with Hotbuild & GAZUI

Everything about mods can be found here.

Moderator: Morax

Keymap problems with Hotbuild & GAZUI

Postby SC-Account » 30 Apr 2013, 13:43

People seem to have trouble with hotbuild + GAZUI deleting the F1 key for custom keymapping or the Alt+F2 key combination for the cheat menu.
As I couldn't find a simple thread on how to fix this I decided to make one I can link in such cases:

The file that needs to be altered is the "game.prefs" file which usually can be found at "C:\Users\X\AppData\Local\Gas Powered Games\Supreme Commander Forged Alliance\game.prefs".

To re add the key for the cheat menu (F2) search for the entry "console_font_size" and add the following entry in the line below:
Code: Select all
            UserDebugKeyMap = {
                ['Alt-F2'] = 'debug_create_unit',
            },


Actually you can also add the other debug keys I guess:
Code: Select all
            UserDebugKeyMap = {
                ['Ctrl-Alt-F5'] = 'debug_scenario_method_ctrl_alt_f5',
                ['Ctrl-Alt-B'] = 'debug_blingbling',
                ['Shift-F4'] = 'debug_scenario_method_shift_f4',
                ['Shift-F5'] = 'debug_scenario_method_shift_f5',
                ['Ctrl-Shift-F5'] = 'debug_scenario_method_f5',
                ['Ctrl-Slash'] = 'debug_pause_single_step',
                ['Alt-T'] = 'debug_teleport',
                ['Ctrl-Alt-Shift-F8'] = 'debug_campaign_instawin',
                ['Alt-F9'] = 'debug_open_lua_debugger',
                ['Ctrl-Alt-Z'] = 'debug_sally_shears',
                ['Alt-W'] = 'debug_dump_focus_ui_control',
                ['Ctrl-Shift-C'] = 'debug_copy_units',
                ['Ctrl-Alt-W'] = 'debug_render_wireframe',
                ['Ctrl-F3'] = 'debug_scenario_method_ctrl_f3',
                ['Ctrl-Shift-Alt-C'] = 'debug_collision',
                ['Alt-D'] = 'debug_dump_ui_controls',
                ['Alt-B'] = 'debug_bones',
                ['Ctrl-Alt-Period'] = 'debug_graphics_fidelity_2',
                ['Shift-F6'] = 'debug_create_entity',
                ['Ctrl-Alt-Comma'] = 'debug_graphics_fidelity_0',
                ['Ctrl-Shift-X'] = 'debug_redo_console_command',
                ['Ctrl-Alt-P'] = 'debug_navpath',
                ['Shift-F7'] = 'debug_show_stats',
                ['Ctrl-Alt-O'] = 'debug_grid',
                ['Alt-Delete'] = 'debug_destroy_units',
                ['Alt-F11'] = 'debug_show_frame_stats',
                ['Ctrl-Alt-F4'] = 'debug_scenario_method_ctrl_alt_f3',
                ['Alt-Q'] = 'debug_show_focus_ui_control',
                ['Ctrl-Shift-W'] = 'debug_weapons',
                ['Ctrl-Alt-E'] = 'debug_show_emmitter_window',
                ['Alt-V'] = 'debug_skeletons',
                ['Alt-N'] = 'debug_nodamage',
                ['Alt-F2'] = 'debug_create_unit',
                ['Shift-F8'] = 'debug_show_army_stats',
                ['Ctrl-F10'] = 'debug_restart_session',
                ['Ctrl-F5'] = 'debug_scenario_method_ctrl_f5',
                ['Shift-F3'] = 'debug_scenario_method_shift_f3',
                ['Ctrl-Shift-V'] = 'debug_paste_units',
                ['Alt-F3'] = 'debug_scenario_method_f3',
                ['Ctrl-Shift-F4'] = 'debug_scenario_method_f4',
                ['Ctrl-Shift-F1'] = 'debug_toggle_pannels',
                ['Ctrl-F4'] = 'debug_scenario_method_ctrl_f4',
                ['Alt-A'] = 'debug_run_opponent_AI',
                F9 = 'debug_toggle_log_window'
            },


To re add the key for altering key bindings in game (F1) search for "Lobby_NoRushOption" and in the line below add:
Code: Select all
UserKeyMap = {
F1 = 'toggle_key_bindings',
},


That should do it.

Hope this helps...
Last edited by SC-Account on 30 Apr 2013, 14:33, edited 1 time in total.
SC-Account
Evaluator
 
Posts: 541
Joined: 07 Feb 2013, 05:10
Location: Colonial district of Germany
Has liked: 48 times
Been liked: 77 times
FAF User Name: Tnuoccacs

Re: Keymap problems with Hotbuild & GAZUI

Postby ZaphodX » 30 Apr 2013, 14:26

Nice, thanks for posting.
User avatar
ZaphodX
Contributor
 
Posts: 560
Joined: 02 Jan 2013, 01:55
Location: UK, GMT+0
Has liked: 0 time
Been liked: 0 time
FAF User Name: TAG_ZaphodX

Re: Keymap problems with Hotbuild & GAZUI

Postby krizzzz » 30 Apr 2013, 15:25

I changed the "Game.prefs" as described above. It doesn't seem to work for me. F1 and the zulan-hotkeys dont work.

GAZUI and hotbuild are enabled and the GAZUI and hotbuild-options in the menu ingame are available as before, but F1 still doesnt work. The Zulan hotbuild hotkeys don't work and all the normal hotkeys (like "e" for reclaim and F5 for ping-assist) alsoo don't work anymore when i tried it with the changed "Game.prefs".

I added my changed "Game.prefs". I alsoo added the "Game.pref" after i tried it. Because the system changes it.
Attachments
Game.prefs2.txt
The "Game.pref" AFTER test with the first one
(151.25 KiB) Downloaded 136 times
Game.prefs.txt
My changed "Game.pref" BEFORE the test (I changed it to *.txt because as a *.pref it wont upload)
(151.24 KiB) Downloaded 128 times
krizzzz
 
Posts: 4
Joined: 08 Aug 2012, 01:17
Has liked: 0 time
Been liked: 0 time
FAF User Name: krizzzz

Re: Keymap problems with Hotbuild & GAZUI

Postby STAR-BREAK » 30 Jul 2013, 00:30

This has been bothering me for days, augh!

It worked for me so I'm bumping this for great awareness! \o/
User avatar
STAR-BREAK
 
Posts: 5
Joined: 01 Jul 2013, 21:23
Has liked: 0 time
Been liked: 0 time
FAF User Name: STAR-BREAK


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest