Grenade Build Macro

Grenade Build Macro

in Engineer

Posted by: Volitle.4628

Volitle.4628

Tired of spamming the 1 button to auto attack with the Grenade Kit? Own a programmable gamepad such as the Logitech G13? Well you’re in luck!

I sat down and used the scripting function on the Logitech software to come up with this.

function OnEvent( event, arg )
if ( event == “G_PRESSED” and arg ~= 8 and arg ~= 10 and arg ~= 11 and arg ~= 12 and arg ~= 3 and arg ~= 4 and arg ~= 5 and arg ~= 6 and arg ~= 21 and onoff == 1 ) then
AbortMacro()
Sleep( 1100 );
PlayMacro( “Auto Attack” );
elseif ( event == “G_PRESSED” and arg == 8 ) then
if ( onoff == 1 ) then
onoff = 0;
AbortMacro();
else
onoff = 1;
PlayMacro( “Auto Attack” );
end
end
end

The macro “Auto Attack” hits the 1 key every 600 miliseconds.
So, what this does in essence is when I hit the G08 (when it detects the variable “arg” returned from an event is “8”) key for the first time, it starts up the Auto Attack macro. Then, if the macro is running, whenever I hit another G key it will suspend the macro temporarily to allow for casting of a 1 second ability. However, if I press the G08 key again, it will stop the macro all together.

Note: You must have “Fast-Cast Ground Targeting” enabled, so the auto attacks will always be under your mouse.

Edit: Making a few optimizations, such as using keys 03-05 and 10-12 as movement keys
Edit 2: Found a better timing: 1000ms plus average latency for both the pause for other skills and recast of auto attack.
Edit 3: Updated grenade cast speed for “Auto Attack” macro

(edited by Volitle.4628)

Grenade Build Macro

in Engineer

Posted by: Decklan.7540

Decklan.7540

Be careful Vol. Although this is supremely useful and makes the grenade kit a lot more user friendly, anet has explicitly stated that auto attack ground target macros are suspension or ban worthy.

Grenade Build Macro

in Engineer

Posted by: Volitle.4628

Volitle.4628

Go for it, do not care. It makes my life easier and uses a very common gaming pad and software, so I have no regrets if ANet wishes to stiffle creativity. But, if anyone wishes to help refine it a little (as in getting that timing down) it would be greatly appreciated.

Grenade Build Macro

in Engineer

Posted by: CriSPeH.8512

CriSPeH.8512

Why would you report someone for something that has no effect on you!?
I can see macros for whole skill chains being a problem, but this is simply making it so you don’t have to spam a key over and over.
I basically have to just mash my mouse button the whole time I am using nades and having a macro wont make me throw them any faster or better it just makes it so your thumb/finger won’t get cramps from using our only long range weapon option.

little tattle tail.

Grenade Build Macro

in Engineer

Posted by: Broken Angel.4956

Broken Angel.4956

And, reported………

I bet he thought its “botting”
Its not… Its just so your finger doesnt have to keep mashing 1 in places like Orr. Doesnt actually do anything for you if you arent controlling the character

Grenade Build Macro

in Engineer

Posted by: Sundial.9015

Sundial.9015

Thank you Volitile for reducing the chances that us engineers as a hole with get carpal tunnel.

@Lysico: you might want to understand what OP posted before you report him for it.

Sundial, Necromancer – Aurora Catulus, Engineer – Kaine Illuma, Elementalist
WvW Captain – Horde of Miscreations, Borlis Pass Alliance