i found where the scrolling keybinds are, in WorldView.lua, and while changing them disables scrolling with the arrows, i can't seem to get other keys to work. I'm a complete noob at .lua though. its coded like this:
Spoiler:
DefaultMessageHandler[KeyEvents.KeyDown] =
function( wParam, lParam )
if ( wParam == Keys.VK_LEFT ) then
Events.SerialEventCameraStopMovingRight();
Events.SerialEventCameraStartMovingLeft();
return true;
elseif ( wParam == Keys.VK_RIGHT ) then
Events.SerialEventCameraStopMovingLeft();
Events.SerialEventCameraStartMovingRight();
return true;
elseif ( wParam == Keys.VK_UP ) then
Events.SerialEventCameraStopMovingBack();
Events.SerialEventCameraStartMovingForward();
return true;
elseif ( wParam == Keys.VK_DOWN ) then
Events.SerialEventCameraStopMovingForward();
Events.SerialEventCameraStartMovingBack();
return true;
elseif ( wParam == Keys.VK_NEXT or wParam == Keys.VK_OEM_MINUS ) then
Events.SerialEventCameraOut( Vector2(0,0) );
return true;
elseif ( wParam == Keys.VK_PRIOR or wParam == Keys.VK_OEM_PLUS ) then
Events.SerialEventCameraIn( Vector2(0,0) );
return true;
elseif ( wParam == Keys.VK_ESCAPE and InStrategicView() ) then
ToggleStrategicView();
return true;
end
end
I tried changing the Keys.VK_LEFT to Keys.VK_A, i also tried simply KEY_A, but my knowledge of LUA is limited to a few hours asking Google the wrong questions.
i get the impression that its linked so a master keybind list elsewhere that i cannot find. its not in any of the LUA or XML files unless i missed something.
you should use notepad++ and search the civ directly for the keybinds your are looking for. Its search function is about 1000 times better than windows.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.