Tried as you suggested and got this working on a small scale.
FTL template part 1
Code:
//----------------------------------------------------------------
// BEGIN: FTL Engine(Focusless Leaderless Targetless engine)
//----------------------------------------------------------------
//Added FTL Templates
//%1% : Master Key
// %2% : Slave Key
// %3% : Modifier
// %4% : SlavesToSend
<Template SendMasterAndSlave>
<SendFocusWin>
<Key %1%>
<Sendlabel %4%>
<Key %3% %2%>
// PRIORITY VERSION
<DoHotkey Hotkey RAlt F10>
<EndTemplate>
HotKey specifier with spells and original templates
Code:
<Hotkey RAlt F10>
<SendLabel w1>
<Key Q>
<Key F>
<SendLabel w2>
<Key Q>
<Key F>
//----------------------------------------------------------------
// FTL Key assignments
// Create a new <ApplyTemplate FTL "x" "y">
// x = Key pressed in the current window
// y = Key to be sent to background windows.
//----------------------------------------------------------------
<ApplyTemplate FTL "H" "H">
<ApplyTemplate FTL "F" "F">
<ApplyTemplate FTL "E" "E">
<ApplyTemplate FTL "Q" "Q">
<ApplyTemplate FTL "Shift F" "1">
<ApplyTemplate FTL "Shift Q" "2">
<ApplyTemplate FTL "Shift E" "3">
Some parts might not be required if I try this further. But fairly certain I tried skipping some parts of the code and then it stopped working.
Right now using this, Pressing F will usually start with a Earth shock cast and then followed by a lightning bolt. I think the spell queuing might bug it sometimes because Earth Shock might take a while, but it's not non existant so I believe it's working as intended anyway.
Tomorrow I will start removing some code and swapping keybinds and include more spells as I level. Really nice that I can use this way to keybind shift(I think/hope
) and have HKN translate it into some other spell. Would be really hard to get used to someting else.
Many thanks
Connect With Us