Download
(4Kb)
Download
Updated: 08-11-19 06:51 AM
Compatibility:
Classic (1.13.2)
Updated:08-11-19 06:51 AM
Created:08-11-19 06:51 AM
Downloads:464
Favorites:3
MD5:

Strages Keybinder Classic

Version: 1.0
by: Strages [More]

What is Strage's Keybinder?
This addon allows you to hard-code keybindings on a class basis, the bindings for your current class will be automatically loaded. Bindings can also be specified for all classes, these bindings will always be loaded regardless of your class - useful for bindings for mount macros etc.

The idea came from counter-strike 1.6 where you would have a local config file where you enter keybindings manually

Why Use This Addon?

The major advantage to using this addon is that once you have specified all your keybinds, assuming you keep the file with your bindings specified safe - you will never lose your keybinds. The reason I created this addon is because I've always had issues with other addons managing to lose my keybinds.

This addon has no GUI by design, allowing you to hard-code your keybindings means that the bindings are not stored in the WTF savedvariable folders. Meaning all your bindings for every class are in the Bindings folder, although it may take slightly longer to create your bindings than dragging abiltiies onto a GUI addon - Once you have setup your bindings for a class, they will also be setup for any character of that class.

This addon also lets you create bindings for spells that you have not learnt yet, so you can configure your 1-60 keybindings ahead of classic release.

How to Use
To use the addon, install it as you would any other addon then go into the 'Strages_Keybinder' folder, and then into the 'Bindings' folder. Here you will find folders for every class, This is where you put your keybindings using the blizzard standard API, you can look inside the Mage.lua file for examples - be sure not to include the "--" characters. You can add keybindings to AllClasses.lua that will be applied regardless of current class.

Here are some examples of how to bind spells, items and macros (look in mage folder):

SetBindingSpell("T", "Flamestrike");
SetBindingSpell("SHIFT-1", "Frostfire Bolt");
SetBindingMacro("NUMPAD5", "Pyroblast");
SetBindingItem("=", "Conjured Mana Pudding");

To test your bindings whilst in-game, be sure to save the lua file and then type /reload

Optional Files (0)


Post A Reply Comment Options
Unread 10-28-19, 08:06 PM  
hasnogaems
A Flamescale Wyrmkin
 
hasnogaems's Avatar

Forum posts: 109
File comments: 19
Uploads: 0
Finally someone doing something to preserve binds. It such overlooked feature by blizzard and such a pain to deal with. I only wish it can auto parse your binds into file. And maybe store backups when I change binds.
Last edited by hasnogaems : 10-28-19 at 08:07 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: