Remapping keys

Can you, and how to do it, remap the keys?  There are several keys that are "hard mapped" in by the game, that I cannot change via options.  Would be nice to have all the keys needed on the left side of the keyboard, instead of having to fish for them.

4,155 views 8 replies
Reply #1 Top

I've desparately wanted to know that too lol.

j

Reply #2 Top

 

You can override the keys using the game.prefs file.

 

Game.prefs is in "\My Documents\My Games\Gas Powered Games\Demigod"

Search for userkeymap section

My qwerty setup is something like this:

UserKeyMap = {


                F1 = 'show_skills',
                ['1'] = 'control_minions_all',
                ['2'] = 'control_minions_allplushero',
                ['3'] = 'control_minions_regroup',
                ['4'] = 'use_summon_1',
                ['5'] = 'use_summon_2',
                ['6'] = 'use_summon_3',
                A = 'use_inventory_1',
                S = 'use_inventory_2',
                D = 'use_inventory_3',
                F = 'use_achievement',
                Q = 'use_ability_1',
                W = 'use_ability_2',
                E = 'use_ability_3',
                R = 'use_ability_4',
        ['Shift-Q'] = 'rotate_left',
        ['Shift-E'] = 'rotate_right',
        ['Shift-W'] = 'pan_up',
        ['Shift-A'] = 'pan_left',
        ['Shift-S'] = 'pan_down',
        ['Shift-D'] = 'pan_right'

}

 

I have the camera controls as shift+thier default key, but most of the time i just use spacebar and the mouse to adjust the camera angle/zoom.

Reply #3 Top

thank u Peppe !

Reply #4 Top

I love you.

Reply #5 Top

Is it possible to remap to mousebuttons 4/5? (I.e. the back and forward buttons). Because that has always annoyed me that it won't let me do that...does the Game.prefs method allow that?

Reply #6 Top

Never tried mapping to the mouse buttons but you could try some varations on what they might have named the input if its in there like

'MOUSE4' = 'use_ability_1',

'MOUSE04' = 'use_ability_1',

'MOUSE_4'= 'use_ability_1',

etc...

Try one at a time and  and see if any of them get picked up by the game.   Or most mouse software lets you map the mouse buttons to a keyboard key/key combination.  So you could map 'Q' to mouse button 4, and use my map above and whichever mousebutton is 4 would send keyboard letter Q when clicked, which would use ability one in game.  If i recall the logitech software allows you to set these custom setups by game, so you can still use the mouse normally in windows.

Reply #7 Top

I have a program that my mouse came from that allows me to remap my mouse button to be equivalent to keys on the keyboard for certain executables.

Reply #8 Top

I've heard tale of a hotkey for special minions. Does anyone know it?