Using Aa-Zz as hotkeys for macro

Gameplay related issues.
Post Reply
User avatar
tangar
Posts: 1287
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Using Aa-Zz as hotkeys for macro

Post by tangar » Wed May 09, 2018 10:54 am

When I started with runie I understood that I wanna have more hotkeys (to be able to make all this clouds, bolts, ball for different elements) and it would be awesome to assign keys from Aa to Zz as macro. Why not to use 'ctr' or 'alt' combos for such spells? Because it's confusing when you need to react fast; mush easier to use one single key.

Problem:
Lets take q w e r t y keys. 'q' is a quaff, 'w' is a wield & etc. How to be able to use them as new hotkeys without loosing their 'traditional' function?

Solution:
Make all traditional hotkeys work with ctrl (lower case) and alt (capitals). For example:
'q' - quaff; would be ctrl+q (now it's exit game.. so we need to remap it somewhere else);
'Q' - suicide; would be alt+q (unused right now)
'w' - wear/wield; would be ctrl-w (unused!); 'W' - unused (move there exit game?) would become alt+w
& etc

It would be really great to create such setup as alternative to traditional one.

===
UPDATE:
Actually it's possible to reassign all keys. Thanks to Blue for info:
you can re-assign any keys you like. A macro action will always use the actual 'commands' for each key in the action. So for example you could make an action that only contains the letter "r" and bind it to key q, then make another action "q" and bind it to key r. Now you simply swapped these two keys, functionally.

So, if you put any arbitrary action on key <X>, actually using this key INSIDE a macro action will NOT (ie recursively) call a macro but rather use the original key's game function as listed in '?' screen.

So you can just redefine the whole keyboard as you like to.
I checked - it works!

But... I got a problem:

My macro with alt+[a-z] doesn't work (pushing alt at % make 'beeps'). At the same moment alt+numpad works... Is it possible to solve such issue? I've created topic about it at 'bug' section: https://www.tomenet.eu/phpBB3/viewtopic.php?f=9&t=1858

===

Maybe .prf file could be edited via hex codes: https://www.eso.org/~ndelmott/ascii.html ... I'll try it soon
Tangar's guides, addons, mods & fonts: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

User avatar
tangar
Posts: 1287
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: Using Aa-Zz as hotkeys for macro

Post by tangar » Wed May 09, 2018 3:37 pm

Yet another update:

I've just recognized that it's possible to have macro at 1-9 keys! They works separate from numpad (I was sure it won't work cause I tried it in the past!)
Tangar's guides, addons, mods & fonts: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GlazGame — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz

Post Reply