UI-related suggestion concerning Display Talent list

All new ideas for the upcoming releases of ToME 4.x.x should be discussed here

Moderator: Moderator

Post Reply
Message
Author
reg_dam
Low Yeek
Posts: 8
Joined: Sun Sep 26, 2010 8:25 am

UI-related suggestion concerning Display Talent list

#1 Post by reg_dam »

Is it possible/viable to make the Talent Menu (part of window where the list of hotkey'd talents is located) automatically change pages depending on a modifier button being pressed?
Currently it's only toggleable by pressing PgDn/PgUp and I find myself constantly toggling between them because I don't remember on which number I've put something over there.
If I press Ctrl/Shift - obviously I don't want to execute "normal" 0-9 hotkey, but a Ctrl/Shift+0-9 one, so why not change page to show the Ctrl/Shift+0-9 ones? And when I release Ctrl/Shift or execute hotkey - change it back to the one that was shown before.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: UI-related suggestion concerning Display Talent list

#2 Post by darkgod »

Actaully it is kind supported, or rather, I tried it but it suffers fro ma few bugs that's why it's not enabled yet.

You can try it yourself, change game/modules/tome/class/Game.lua around lines 732 from:

Code: Select all

--		HOTKEY_HOTPAGE2 = function(sym, ctrl, shift, alt, meta, unicode, isup) self.player:setHotkeyPage(isup and 1 or 2) end,
--		HOTKEY_HOTPAGE3 = function(sym, ctrl, shift, alt, meta, unicode, isup) self.player:setHotkeyPage(isup and 1 or 3) end,
to

Code: Select all

		HOTKEY_HOTPAGE2 = function(sym, ctrl, shift, alt, meta, unicode, isup) self.player:setHotkeyPage(isup and 1 or 2) end,
		HOTKEY_HOTPAGE3 = function(sym, ctrl, shift, alt, meta, unicode, isup) self.player:setHotkeyPage(isup and 1 or 3) end,
It gets a bit mad if you switch windows while having one of those pressed :/
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

reg_dam
Low Yeek
Posts: 8
Joined: Sun Sep 26, 2010 8:25 am

Re: UI-related suggestion concerning Display Talent list

#3 Post by reg_dam »

AWESOME!
Thank you very much!

Post Reply