• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTclient change hotkey to open skill bar menu

sucibob

Member
Joined
Mar 28, 2017
Messages
128
Reaction score
13
Its probably is easy...
Anybody know how to change hotkey CTRL+S to open skill bar to ALT+S (like is in new tibia)?
 
In file modules\game_skills\skills.lua

Change this in lines ~28-32:
Lua:
skillsButton = modules.client_topmenu.addRightGameToggleButton('skillsButton', tr('Skills') .. ' (Ctrl+S)', '/images/topbuttons/skills', toggle)
skillsButton:setOn(true)
skillsWindow = g_ui.loadUI('skills', modules.game_interface.getRightPanel())
g_keyboard.bindKeyDown('Ctrl+S', toggle)

to this:
Lua:
skillsButton = modules.client_topmenu.addRightGameToggleButton('skillsButton', tr('Skills') .. ' (Alt+S)', '/images/topbuttons/skills', toggle)
skillsButton:setOn(true)
skillsWindow = g_ui.loadUI('skills', modules.game_interface.getRightPanel())
g_keyboard.bindKeyDown('Alt+S', toggle)
 
In file modules\game_skills\skills.lua

Change this in lines ~28-32:
Lua:
skillsButton = modules.client_topmenu.addRightGameToggleButton('skillsButton', tr('Skills') .. ' (Ctrl+S)', '/images/topbuttons/skills', toggle)
skillsButton:setOn(true)
skillsWindow = g_ui.loadUI('skills', modules.game_interface.getRightPanel())
g_keyboard.bindKeyDown('Ctrl+S', toggle)

to this:
Lua:
skillsButton = modules.client_topmenu.addRightGameToggleButton('skillsButton', tr('Skills') .. ' (Alt+S)', '/images/topbuttons/skills', toggle)
skillsButton:setOn(true)
skillsWindow = g_ui.loadUI('skills', modules.game_interface.getRightPanel())
g_keyboard.bindKeyDown('Alt+S', toggle)

Thank you!
 
Back
Top