this post was submitted on 23 Nov 2023
10 points (81.2% liked)

Guild Wars 2

1478 readers
1 users here now

Welcome to c/guildwars2 on the Lemmyverse.

SotM: Love Spooky Season (@avater)

Links

Official

Builds

Tools

Addons

Related Communities


founded 1 year ago
MODERATORS
 

When I play Engineer, I usually have exactly one Engineering Kit equipped as a Utility Skill and I basically (want to) use this Kit as my 2nd Weapon Set.

This works pretty well, but has the downside that the Weapon Swap Key only swaps from kit back to weapons but not to the kit (how would it know?) and when I press it (accidentally) while not/no longer in combat it swaps to my other actual weapon set.

So I had the idea to bind the key I'm normally using for weapon swap. i. e. ^ (caret) on my QWERTZ keyboard, to the 3rd utility slot which is where I normally place the kit skill.

Perfect ... Exactly what I wanted for my Engineer:

  • The weapon swap key now alternates between current weapon set and kit
  • I can no longer accidentally swap to my other weapon set

But since GW2 does not support per-character keybindings, I would need to rebind keys again whenever I play a different (normal) profession.

Hmmm .... What if I (instead of messing with in-game key bindings) add something to my AutoHotkey script (I'm already using for Jump+Dodge) which lets me toggle Kit Mode mappings by using some special key (Numpad0 for example)?

kitMode := false

#If WinActive("ahk_exe Gw2-64.exe")
; Toggle kitMode on Numpad0/NumpadIns 
Numpad0::
NumpadIns::
	kitMode := !kitMode
	Return

#If WinActive("ahk_exe Gw2-64.exe") and kitMode 
; Assuming default mappings on a QWERTZ keyboard
; Map ^ (weapon swap) to 9 (Utility Skill 3)
^::9

When I'm now on my Engineeer, I press Numpad0 once to enable Kit Mode which makes my weapon swap key alternate between current weapon set and kit (3rd utility slot). And when I log a different profession, I press Numpad0 once again to restore the original behavior.

๐Ÿ›  Mission accomplished ๐Ÿ› 


See https://help.guildwars2.com/hc/en-us/articles/360013762153-Policy-Macros-and-Macro-Use

You may bind dodge and jump to a single key.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

I'd say it's overkill since the weapon swap is only active out of combat... But hey, you do you ๐Ÿ˜‰

In that same vein, I used to run an AHK script to toss grenades when holding the mouse button instead of mashing '1' in the early years of GW2, before the feature was natively built into Action Camera controls.