Close
Showing results 1 to 10 of 60

Hybrid View

  1. #1

    Default Hotkeynet FTL Formations

    Thanks Olipcs, I just switched over to HKN, and this script made it too easy.

    HKN FTL Formations
    Heavily inspired by the OP, here is how I adapted it for FTL formations. It is not necessary for formations to be FTL based, but I quite like it when my focused window stays in the centre of the cross / middle of the line / etc.

    First bit (assumes you already have labels w1-5 set up using windows named WoW1-5):
    Code:
    //-----------------------------------------------------------
    // FTL FORMATIONS
    //-----------------------------------------------------------
    <Template SendFormation>
        <If ActiveWinIs %1%>
            <SendLabel w1>
                <Key %2%>
            <SendLabel w2>
                <Key %3%>
            <SendLabel w3>
                <Key %4%>
            <SendLabel w4>
                <Key %5%>
            <SendLabel w5>
                <Key %6%>
    <EndTemplate>
    
    <Template Formation>
        <MovementHotkey %1%>     
            <ApplyTemplate SendFormation WoW1 "%2%" "%3%" "%4%" "%5%" "%6%">
            <ApplyTemplate SendFormation WoW2 "%3%" "%2%" "%4%" "%5%" "%6%">
            <ApplyTemplate SendFormation WoW3 "%3%" "%4%" "%2%" "%5%" "%6%">
            <ApplyTemplate SendFormation WoW4 "%3%" "%4%" "%5%" "%2%" "%6%">
            <ApplyTemplate SendFormation WoW5 "%3%" "%4%" "%5%" "%6%" "%2%">          
    <EndTemplate>
    Then for second bit, you put in your own variables, in the format:
    Code:
    <ApplyTemplate Formation "Var1" "Var2" "Var3" "Var4" "Var5" "Var6">
    Where Var1 = key pressed, Var2 = sent to current window, Var3-6 = sent to each of the other windows in sequential order

    For example:
    Code:
    // <ApplyTemplate Formation "Var1" "Var2" "Var3" "Var4" "Var5" "Var6">
    // Where Var1 = key pressed, Var2 = sent to current window, Var3-6 = sent to each of the other windows
    <ApplyTemplate Formation "Left" "Up" "W" "D" "A" "S">        // Diamond // or Pentagram part 1
    <ApplyTemplate Formation "Shift Left" "Up" "S" "A" "D" "W">    // Reverse Diamond
    <ApplyTemplate Formation "Up" "Up" "A" "D" "A" "D">            // Line part 1
    <ApplyTemplate Formation "Down" "Up" "D" "A" "A" "D">        // Line part 2
    <ApplyTemplate Formation "Shift Up" "Up" "D" "A" "D" "A">    // Reverse Line part 1
    <ApplyTemplate Formation "Shift Down" "Up" "A" "D" "D" "A">    // Reverse Line part 2
    <ApplyTemplate Formation "Right" "W" "D" "S" "W" "A">        // Pentagram part 2
    <ApplyTemplate Formation "Right" "S" "A" "W" "S" "D">        // Reverse Pentagram part 2
    With these examples, I have the up key unbound in all 5 WoWs (I haven't worked out how to give it a variable that means send nothing), so when up is sent it means: that char don't move!
    So with the above, press first up, then down, to get a straight line (sequentially, not together). I prefer this method to the walk/run method because I often forgot to untoggle walk at the end, and also it looks kinda cool when they rush around looking a bit random, but finish in a perfect line.
    Hold left & right down together to get a pentagram.
    Press left to get a diamond.
    Hold shift and any of these to do the opposite (eg to adjust/backtrack).
    Last edited by Flekkie : 11-05-2009 at 07:38 PM
    Coming out of nowhere drivin' like rain, Stormbringer dance on the thunder again
    Dark cloud gathering breaking the day, no point running cause its coming your way

    Rainbow shaker on a stallion twister, bareback rider on the eye of the sky
    Stormbringer coming down meaning to stay, thunder and lightning heading your way

    Ride the rainbow crack the sky, Stormbringer coming time to die

    ~ Deep Purple, Stormbringer

  2. #2

    Default

    Whoa this totally blows away my pathetic formation macros!
    Once I get home I will steal your formation key and use them to dominate my world bwahaha.


    In other words, thanks for posting this! Much appreciated!

Similar Threads

  1. A simple request.
    By noob123 in forum New Multi-Boxers & Support
    Replies: 5
    Last Post: 11-02-2008, 12:04 AM
  2. Just a simple question?
    By Hellsceammulti in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 10-08-2008, 04:34 PM
  3. Templates
    By Djarid in forum Off-Topic
    Replies: 2
    Last Post: 03-08-2008, 12:26 PM
  4. Class templates
    By Djarid in forum Off-Topic
    Replies: 3
    Last Post: 03-06-2008, 04:05 PM
  5. Simple Question
    By Moon in forum New Multi-Boxers & Support
    Replies: 10
    Last Post: 11-25-2007, 10:24 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •