test content
What is the Arc Client?
Install Arc

Macro tutorial - create your own commands!

lalmeclalmec Member Posts: 1 Arc User
edited March 2014 in PvE Discussion
Many people don't know, but you can create macros to combine a sequence of actions.

The game associates an action to a key pressed. Players will normally set these keys by using the keybinds tab in the options menu. You can change the actions a key will perform with the /bind <key> command.

You can get a list of the non-default key-bindings with by using /bind_local_save <file>. It will create a file in the neverwinter folder that will contain all the non-default key-bindings. If you wish to know the name of a certain key, or the command a key executes, you must change the behavior in the options->keybindings menu first.

The command /cmdlist will display a large list of commands that available, of which I have found the following to be useful: PowerTrayExec, specialClassPower, HardTargetLock, and Target.

PowerTrayExec activates an at-will, daily or encounter power.

specialClassPower, as the name implies, will activate your special power. For clerics, you enter divine mode.

You can combine these two actions as follows;
/bind <key> "+specialClassPower $$ +PowerTrayExec 3"
For me, when I press <key>, it will toggle divine mode, and cast Astral Shield. This works well when you have Location Targeting Activation set to On Release.

The number 3 here represents the middle encounter slot, your at-will powers occupy 0 and 1. Dailies are 5 and 6.

HardTargetLock will force the screen to follow your current target. By default the key is bound to LControl. You can change the key with the following:
/bind LControl ""
/bind <key> "+HardTargetLock"

Instead of locking the target only while you are holding down the key, you can have the key toggle the behavior by using
/bind <key> "++HardTargetLock"
The Target command will change your current target. I have only found it useful when being used in conjunction with HardTargetLock.
/bind <key> "+HardTargetLock $$ Target target_name"

While you hold down the key, it will focus the screen on a specific target. This can be useful for targeted healing spells like Word of Healing, However it adds the cumbersome behavior of having to hold down one key and press a second.

You can change the bind so that the first press locks the screen on your target, and the second press releases it.
/bind <key> "++HardTargetLock $$ Target target_name"
This still requires two key presses, and this can improved further with the use of aliases.

An alias is like creating your own command that can be used with bound keys.

an alias has the form /alias <name> "<command1> $$ <command2>"

Here is how I cast healing word on my pet (or party member) by using one key
/alias TargetGoldie "HardTargetLock {} $$ Target Goldie"
/bind <key> "+TargetGoldie $$ +PowerTrayExec 3"

Most commands require the first argument to be 0 or 1; off and on respectively. When you bind a key to +<command>, it will issue 1 to the first argument, and 0 when you release the key. An alias has a special tag {} that will be replaced with the argument to the alias. I had to use this to propagate if the key was held down or released to the HardTargetLock command.

Now this tutorial was focused on healing your party, but the Target that you use doesn't have to be your party. You can create an alias to target specific mobs such as the boss, or healer. If everyone in the party were to have the such a macro, key targets could be focused down quickly.

note: Unfortunately, aliases are not saved between sessions. You must re-enter an alias everytime. Hopefully in the future you will be able to save aliases.
Post edited by lalmec on

Comments

  • bacillixbacillix Member, Neverwinter Beta Users, Neverwinter Guardian Users Posts: 11 Arc User
    edited June 2013
    You beat me to it, and covered some very key points (targeting). Thanks for posting.
    ________________________
    @Bacillix
  • musashinokamimusashinokami Member, Neverwinter Beta Users Posts: 127 Bounty Hunter
    edited June 2013
    thx mate

    need to be pinned
  • happyplayehappyplaye Member Posts: 10 Arc User
    edited November 2013
    lalmec wrote: »
    ...

    note: Unfortunately, aliases are not saved between sessions. You must re-enter an alias everytime. Hopefully in the future you will be able to save aliases.

    Actually aliases can be saved between sessions.
    if you save your binds , i.e.
    /bind_save_file my_character_name_bind_list.txt
    you can find this file later under Neverwinter>Live (or somewhere else, it seems to differ a bit among different clients , pre arc and arc...)
    well, when you find this file, place at the same directory a file named : CommandAliases.txt which contain your alias list
    the bind itself can be either saved onto the bind list file of your character, or manually entered at game play.

    have fun ..
  • godlysoul1godlysoul1 Member Posts: 293 Bounty Hunter
    edited November 2013
    This is some slick stuff right here. Thanks for the tutorial.
  • bucnakedbucnaked Member Posts: 1 Arc User
    edited January 2014
    What would the syntax be for using Power_exec? I have tried a few things like Power_exec sun burst, but it doesnt seem to do anything.
  • equilamequilam Member Posts: 37 Arc User
    edited January 2014
    How do you target Players that have a Space in there name? I.e. "firstname lastname" without "" of course.
  • kattefjaeskattefjaes Neverwinter Beta Users, Neverwinter Hero Users Posts: 2,270 Bounty Hunter
    edited January 2014
    lalmec,

    Great post, thanks. It's of those things that loads of us have never quite got around to researching- great to see that someone has gathered the info like that :)
  • dyesleedyeslee Member Posts: 307 Arc User
    edited March 2014
    hello I'm wanting to learn how to create my own Macro's as well.. just want to say great information for people like me just learning more about NWO and macro's..

    However I do have a request or question if even possible.
    I have an Elven HR - Nature build
    I have used to her to help with buffs (Stag Heart, Oakskin, Boar Hide, Etc..) on some dungeons and other times only DPS when the buffs are not as necessary because of party makeup (2nd ranger running buffs, Farming T1 dungeons, etc..) which then I have to have the party wait for me to bring up my powertree, swap out my encounters, class feats, and such..

    so is it possible to create a macro that i can use to speed up this process?
    Example:
    For DPS
    Encounter 1 "Fox Cunning" Encounter 2 "Constricting arrow" Encounter 3 "Split the sky"
    For Party Buff DPS mode
    Enc. 1 "Oak skin", Enc. 2 "Stag heart", Enc. 3 "Boar Hide"

    now is there a way to setup a macro command to switch Enc. 1 DPS with Enc. 1 Party Buffmode? so on so forth?
    I knows theres the ISBoxer program but I'm not running Dual accounts or monitors so wondering if that might be an option?
    5790248SLdyC.png
This discussion has been closed.