Virtual Keymaps and Press/Release
Let me explain how a subset of my keymaps are setup and then I'll get into what I'm having trouble doing. This is in the context of playing LOTRO. My main is a champ and for this example we'll say I have 3 RK's healing my main.
I have a group of keymaps assigned with to various keys which represent the main skills I use on my champ to do DPS. Along with passing the key along to my champ, I also have all of these keymaps call another keymap. I call it my "Main Pass Through". For example:
My Main Pass Through keymap looks like:
The 2 dps keymaps are just virtual keymaps that the individual toons define however they may. The Heal Round Robin keymap looks like ->
The keymap Heal Rotation is a virtual keymap like the dps keymaps. What I end up with is every DPS class executes a skill everytime my champ executes a skill. My healers, on the otherhand, rotate amongst each other while performing their own rotations.
Up to this point, everything works great and just as I had hoped it would when I made it.
In examining my healing skills on my RKs, I came to the conclusion that for some steps, I would like each healer to execute two skills each time it is their turn to heal. I've never played other MMO's so I don't know how the skill queueing works but for LOTRO you can hit two skills, say you hit the keys 1 and then 2 right after it right away. The skill for slot 1 will go through its normal induction and the skill for 2 will stay queued up and will fire when 1 is done. You can't queue up anything more than just one ahead of whatever is being executed currently.
So the first thing I tried is putting both skills as different actions on the same step. This works with a number of things in regards to Innerspace and LOTRO (like movement), but it doesn't work when it comes to the skill queue. Only one action will actually execute and the 2nd is not queued up.
So in browsing through this forum, I came upon a post where the hotkey press and release were used to execute two separate actions with one keystroke. I modified my RK healing rotation keymap so that they were broken up into pairs. I ended up with 10 steps, each with one action. I changed my RK keymap to execute on both hotkey press and release. My goal was to have steps 1 and 2 execute with keypress 1(press and release); Steps 3 and 4 with keypress 2 (press and release), etc.
I was still only getting one action per keypress. So I tried to debug my script. I put only one RK in my Healers target group. I ended up adding a bunch of toggle buttons to a new bar and assigning text to them as the different steps were executed so I could see what the script was doing. All 10 steps were getting executed everytime I pressed a button.
So I changed all the keymaps (1, Main Pass Through, Healing Round Robin, Healing Rotation (virtual)) to:
This made it so only two steps were executed for every keypress (what I wanted), BUT, both steps were executing on the release of the hotkey so LOTRO only queued up one skill. Back to my original problem . . .
I tried making the virtual keymap above my RK healing rotation keymap to also work on both press and release but that made 4 steps execute on every keypress. I'm not sure what to. It seems like that press and release functionality only works if it's set on the keymap that also has the hotkey assisgned to it. If the keymap with the hotkey calls a virtual keymap, the press and release doesn't work in the virtual keymap. It works in that you get two steps executed. But they aren't timed with the press and release of the original keymap hotkey.
Any ideas? Maybe I'm approaching this entirely incorrectly. Thanks for your time!
I have a group of keymaps assigned with to various keys which represent the main skills I use on my champ to do DPS. Along with passing the key along to my champ, I also have all of these keymaps call another keymap. I call it my "Main Pass Through". For example:
My Main Pass Through keymap looks like:
The 2 dps keymaps are just virtual keymaps that the individual toons define however they may. The Heal Round Robin keymap looks like ->
The keymap Heal Rotation is a virtual keymap like the dps keymaps. What I end up with is every DPS class executes a skill everytime my champ executes a skill. My healers, on the otherhand, rotate amongst each other while performing their own rotations.
Up to this point, everything works great and just as I had hoped it would when I made it.
In examining my healing skills on my RKs, I came to the conclusion that for some steps, I would like each healer to execute two skills each time it is their turn to heal. I've never played other MMO's so I don't know how the skill queueing works but for LOTRO you can hit two skills, say you hit the keys 1 and then 2 right after it right away. The skill for slot 1 will go through its normal induction and the skill for 2 will stay queued up and will fire when 1 is done. You can't queue up anything more than just one ahead of whatever is being executed currently.
So the first thing I tried is putting both skills as different actions on the same step. This works with a number of things in regards to Innerspace and LOTRO (like movement), but it doesn't work when it comes to the skill queue. Only one action will actually execute and the 2nd is not queued up.
So in browsing through this forum, I came upon a post where the hotkey press and release were used to execute two separate actions with one keystroke. I modified my RK healing rotation keymap so that they were broken up into pairs. I ended up with 10 steps, each with one action. I changed my RK keymap to execute on both hotkey press and release. My goal was to have steps 1 and 2 execute with keypress 1(press and release); Steps 3 and 4 with keypress 2 (press and release), etc.
I was still only getting one action per keypress. So I tried to debug my script. I put only one RK in my Healers target group. I ended up adding a bunch of toggle buttons to a new bar and assigning text to them as the different steps were executed so I could see what the script was doing. All 10 steps were getting executed everytime I pressed a button.
So I changed all the keymaps (1, Main Pass Through, Healing Round Robin, Healing Rotation (virtual)) to:
This made it so only two steps were executed for every keypress (what I wanted), BUT, both steps were executing on the release of the hotkey so LOTRO only queued up one skill. Back to my original problem . . .
I tried making the virtual keymap above my RK healing rotation keymap to also work on both press and release but that made 4 steps execute on every keypress. I'm not sure what to. It seems like that press and release functionality only works if it's set on the keymap that also has the hotkey assisgned to it. If the keymap with the hotkey calls a virtual keymap, the press and release doesn't work in the virtual keymap. It works in that you get two steps executed. But they aren't timed with the press and release of the original keymap hotkey.
Any ideas? Maybe I'm approaching this entirely incorrectly. Thanks for your time!