Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/03/14, 10:14 AM   #1
Dappa
Join Date: May 2014
Posts: 2
Please help a total noob with creating a very simple addon!

Hi guys, never done any kind of programming before (most I've done is shader work in UDK), I'm really keen on putting a very simple addon to basically enable Modifier Keybinding (which is a feature that a LOT of people have been asking for but nobody has made it yet!)

Basically, for me anyway, I'd like to change my skillbar binds from 1,2,3,4,5 - to SHIFT + Q,E,R,F,G

For me I find QERFG much easier to press than 12345, but since QEF e.t.c are bound to quite important in-game functions (also I like having E as interact e.t.c), it makes sense to use the shift modifiers.

An addon that simply allows players to use modifier keybindings would be great but I feel that would be harder for me to make than simply changing the keybinds in the binding.xml (we're getting to the point where I don't really know what I'm talking about, so you'll have to excuse me).

I reverse-engineered someone elses addon to create my own addon (as I had literally 0 idea how to do it), I managed to get it to load in-game with the .txt file, but the code I put in the .xml was clearly incorrect (I'm at the point now where I simply don't know what code for it is)

<Bindings>
<Layer name="General">
<Category name="Combat">
<Action name="Ability_1">
<Down>KEY_Q mod1</Down>
</Action>
</Category>
</Layer>
</Bindings>


I also tried KEY_SHIFT, KEY_Q, neither of them worked, I was wondering if any of you guys could give me any help or direction on how I could get this mod to work? even if you want to create it yourself and take all of the credit, a really simple mod would be hugely popular if the people who needed it knew about it!

Thanks a lot.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Please help a total noob with creating a very simple addon!


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off