1- Em SEUOTCLIENT\modules\game_minimap, abra o .lua nomeado de "minimap", em seguida adicione estas linhas:
local gameRootPanel = modules.game_interface.getRootPanel() g_keyboard.bindKeyPress('Alt+Left', function() minimapWidget:move(1,0) end, gameRootPanel) g_keyboard.bindKeyPress('Alt+Right', function() minimapWidget:move(-1,0) end, gameRootPanel) g_keyboard.bindKeyPress('Alt+Up', function() minimapWidget:move(0,1) end, gameRootPanel) g_keyboard.bindKeyPress('Alt+Down', function() minimapWidget:move(0,-1) end, gameRootPanel) g_keyboard.bindKeyDown('Ctrl+M', toggle) g_keyboard.bindKeyDown('Ctrl+Tab', function() g_game.talk('/togglemap') end)
Esta também:
local gameRootPanel = modules.game_interface.getRootPanel() g_keyboard.unbindKeyPress('Alt+Left', gameRootPanel) g_keyboard.unbindKeyPress('Alt+Right', gameRootPanel) g_keyboard.unbindKeyPress('Alt+Up', gameRootPanel) g_keyboard.unbindKeyPress('Alt+Down', gameRootPanel) g_keyboard.unbindKeyDown('Ctrl+M') g_keyboard.unbindKeyDown('Ctrl+Tab') minimapWindow:destroy() minimapButton:destroy() ProtocolGame.unregisterExtendedOpcode(62) -- ProtocolGame.unregisterExtendedOpcode(61) end
2- Em seguida abra o arquivo "minimap.otui", procure por Label, e no campo label apague tudo e substitua por isto(caso não ache o campo você mesmo pode cria-lo):
Label text: ? text-align: center phantom: false !tooltip: tr('Hold left mouse button to navigate\nScroll mouse middle button to zoom\nRight mouse button to create map marks\nPress Ctrl+Tab to view the entire game map') anchors.top: minimizeButton.top anchors.right: minimizeButton.left margin-right: 3 size: 14 14
Agora é só testar






info
Grupo: Artesão
Registrado: 27/08/15
Posts: 120
Reputação: +2
Como o titulo ja diz , gostaria de saber como colocar o mapa inteiro por ctrl+tab , ou se tem como, desde já , obrigado
Editado Fevereiro 27 por duflex