Friday Feature 7/28/2017: Macros!

Today’s Friday Feature is guest written by the Mayor of Broken Bridge, Destroy! Thank you for all the time and effort you put into this article, Broken Bridge, and EiF!

Star Wars Galaxies is a very click intensive game pre-cu. To craft one of my most popular sale items, a medium mineral harvester, without using factories can take 43 clicks. To stock 20 harvesters at a time would take 860 clicks. That is way too much clicking!

A way to solve this dilemma is by using macros. A macro is just a piece of text instructions that tell your character in game what to do without having to manually click or type out the instructions each time. There are some amazing crafting macros that can take the amount of clicking needed down from 43 clicks to just 8 or 9 clicks, and to make 20 of them down from 860 to 180. That not only helps on saving time, but can also keep you from wearing down your favorite mouse, and from possible medical issues later in life. This Friday Feature will discuss how to make your own macros and provide links to a few of my favorite macros which I believe are indispensable to Star Wars Galaxies normal game play.

Set Up Cut and Paste

To create a macro using text from this feature make sure to have your copy and paste commands in Star Wars Galaxies setup.  Do this in the tools toolbar, controls, then Keymap. Select the Chat tab, then scroll down to Chat edit copy and select it.

Setting up cut and paste

Hit Rebind and press your desired keys. I use Ctrl C for copy and Ctrl V for paste, but use whichever combination of keys you would like. Click Apply and OK once you have picked your desired commands. You can then paste text in game from what you copy out of the Friday Feature.

Create the Macro

Macros are created in the Abilities and Commands tool from the System toolbar, by default it is tied to the ; key, or can be opened by clicking the toolbar and navigating to the macro menu.

 

Selecting New brings up a blank text box. The name of the macro goes on the name line. Select a picture representing your macro and enter text, or paste the macro text given in this feature.

Edit Macro Screen

Add Macro to Player Toolbar

Drag any of the macros you will be calling from your player toolbars out of the abilities and commands macro tab by selecting the macro in the tab and dragging it to your toolbar. Some of the macros below are better used on your toolbar and others are better run straight from the macro tab.

Crafting Macros

For the crafting macro I would recommend following the instructions given by ruuk at http://empireinflames.com/forum/viewtopic.php?f=56&t=111

I would edit the macro if you are not trying to destroy the item by changing the Crafty_crafter_complete macro as mentioned a few posts down to remove the practice no item text from the macro where it appears.  Anything that does not need to be experimented on you would click thru the crafting macro in entirety. But anything that does need to be experimented on you would not use the macro. This is because the crafting macro automatically advances avoiding the experiment option.  It is still a huge click saver on all items that do not need to be experimented on as well as a way to grind up your crafting profession with minimal clicking.

Decorating Macros

If you have ever needed to decorate anything you would know this is an intense process in Star Wars Galaxies. To move an item takes long commands like /move forward 10, or /rotate pitch 90

If you have to move a house full of items you have to select each item and then type out the command which could take lots of keystrokes and time. This can be simplified by setting up just a handful of macros.

I use the following macros for decoration setup in their own toolbar for easy access when the decorating bug hits me. Make each one into their own macro and enjoy decorating again.

/move forward 1;  

/move forward 5;

/move forward 50;

/rotate pitch 90;

/move up 1;

/move up 5;

/move up 50;

/rotate roll -5;

/rotate roll 5;

/rotate roll 90;

/rotate yaw -5;

/rotate yaw 5;

/rotate yaw 90;

/move down 1;

/move down 5;

/move down 50;

 

Also see the previous Friday feature for decorating help, with links for ideas for more complex decorating macros at http://www.empireinflames.com/?p=391

Sampling Macros

Almost anything in the game will try to interrupt your hand sampling and if you forget to start it again you can be left sitting inactive until turned back on. With a macro it will always start again on its own right where it left off without you having to manage it. Below is how simple it can be written.

Name:  Auto-Sampling

Macro: /sample;  /pause 5; /macro auto-sampling;

Structure / Harvester Macros

Managing harvesters after they have been dropped can be a time consuming task. You can use a macro to name your structures, add admins, add power, and add maintenance saving some of this time. Put these commands somewhere in your toolbar and switch to them when dropping harvesters.  I keep the naming and admin in the same macro and the power and maintenance in another. Make sure to modify these commands for your specific use and change the color as you would like or remove color completely. You just have to drive or be near your harvester or structure and hit the Name/admin macro once then hit the Power/maintenance macro once for each day you would like a heavy harvester to run. To adjust for medium harvester I believe it is just 1500 or less but it shouldn’t hurt too much to keep it the same for heavy or medium or other structures.  You must have cash on hand and power in your main inventory for it to be used in the harvester/structure.

Name: Harvesters

Macro: /namestructure \#FFCCFF Destroys Harvesters; /setperm admin Destroy; /setperm admin Ansasor; /setperm admin Talon;

Name: PowerPay

Macro: /addpower 2000; /paymaintenance 2000

Combat

If you are constantly hitting the same commands each time you run up to a mob, you can save yourself a few keystrokes by assigning a macro to your toolbar that will process the commands every time the macro is called.

Alternatively you can also have your favorite actions always running on a timer, an auto targeting happening for you so you do not have to click on mobs, an auto looting command always trying to loot for you, and your pets always trying to attack your current target,  if you want to step away from your keyboard for long periods of time but still have your character level up, loot your favorite item, or gain some faction points.

Over time these macros can get out of sync and your character no longer wants to follow the commands. A quick disconnect will usually solve that problem.

The following runs your desired combat actions from your toolbar. The macro below could be added to the 1st slot of your toolbar, then just type 1 to run it. It runs actions from your 4th slot, 6th slot, and 5th slot. Feel free to modify it as you need for your most common combat actions to perform. Mine was for a tka to knockdown the npc then beat it to death before it tries to get up.

Name: KnockKill  

Macro:  /ui action toolbarSlot03; /pause .1; /ui action toolbarSlot05; /pause .1; /ui action toolbarSlot05; /pause .1; /ui action toolbarSlot05; /pause .1; /ui action toolbarSlot04; /pause .1;

For looting I do it one or two ways at the same time. One macro I call simpleloot and have it running almost always. This macro will loot your currently selected target. So after killing the mob it instantly tries to loot it so you can them move on without having to return to the group and reclick on dead mobs.

Name: Simpleloot  

Macro: /loot all; /pause .5; /macro simpleloot

To loot without having to have the mob targeted you can run one I call afkloot. I usually have them both running at same time. This macro can cause problems if playing around others as it will always try to find the nearest corpse to loot. It is good to run in a controlled afk setting, or while at the keyboard but not wanting to reclick every mob to loot them.

Name: afkloot

Macro: /tar corpse; /loot all; /pause 6;/macro afkloot

To target enemies nearest to you without having to click on them the below will try to target what it can see nearest to you on screen. It will not target anything off-screen so plan accordingly.

Name: target

Macro: /ui action targetSelf; /ui action cycleTargetOutward; /pause 2; /macro target

For anything you need running on a timer assign the command to toolbar or call it directly in the macro using the text shown over the action. The below runs center of being on a 17 second timer for my tka.

Name: centerofbeing

Macro: /ui action clearCombatQueue; /CenterofBeing;/pause 17;/macro centerofbeing

If you are away and get knockdown there isn’t usually anything that will try to pick you back up automatically, so if planning to go afk in a relatively safe place just have a stand command running on a timer to prevent falling down and not being able to get up situations. It is on a long timer designed to be started before you need it. Timer should be adjusted depending on strength of npcs. Many can kill you if on the floor just a few seconds. Those are not the type of NPCs I would recommend fighting afk.

Name: stand

Macro: /pause 40; /ui action clearCombatQueue; /stand; /pause 4; /macro stand;

If you roam around while afk, or mobs do, or you want to navigate up to mobs without having to move around manually you can use a follow target macro (in combination with your target macro). If you survey while afk then stand up for combat you will shift away from your mobs eventually so this is recommended.

Name: followtarget

Macro: /follow; /pause 2;/macro followtarget;

If attacking group mobs afk, your spin combat move is recommended for lower level mobs in groups. Ideally you will not be going afk against higher level mobs, but you can decide and adjust accordingly. I run this one at the keyboard often as well. On different toolbars it works as my medic heal, but in combat I have it on my unarmedspinattack2 command. This just runs one of my most used toolbar commands the lower toolbar slot 2. You can adjust pause as desired.

Name: spin

Macro: /ui action toolbarSlot13; /pause 5; /ui action toolbarSlot13; /pause 5; /macro spin;

If you want to run all these macros with one keystroke instead of starting each manually and accidently forgetting a step, just have the calling of the macros be a macro. The example below would start them all.

Name: goafkcombat

Macro: /macro auto-sampling; /macro simpleloot;/macro stand;/macro spin;/macro target;/macro afkloot;/macro followtarget;/macro centerofbeing;

Pets

Pets can be talked to telepathically using the /tellpet command. To use these macros; either change the text to match your pet’s command, or train them to use the below command.

The first thing after calling your pets is you usually want to group with them. I do this for all pets except harvester droids as they seem to get hit more often when grouped which is something you do not want to happen as it tends to make it scared for some reason. I do not see why you would program a harvester droid to get scared though, but that is not really part of this feature.

Name: group

Macro: /tellpet group;

The next most common thing to tell a pet is to attack. Pets are very difficult to manage during complex combat situations. They see you out there dying and just wait for you to beg them for help. You can instead have them always attack at your side by continuously running a pet combat macro. The pet or pets will then always be trying to attack what you have targeted. These pets have all been trained to use attack for main attack, sp1 for special one, and sp2 for special2. Adjust accordingly. You can also tell specific pets one at a time if you like to have a tank pet always go in first , adjust macro if so.

Name:  afkpet

Macro: /tellpet Attack; /tellpet sp1; /tellpet sp2; /pause 2; /macro afkpet

The only other pet command I have in toolbar is a command to recall my pets. This also requires the pets be trained to use command follow to follow you.

Name: petfollow

Macro: /tellpet follow;

Entertainers

I am not the best entertainer, but use the following commands to get by mostly derived from the info at https://swgreckoning.com/showthread.php?436-AFK-buff-macro-for-Master-Dancer-Musician

Flourishing is the only way which to gain xp. It maxes out at 2 flourishes every 10 seconds needed for max xp gain.

Name:  flourish

Macro: /flourish 1; /pause 5; /flourish 2; /pause 5; /flourish 3; /pause 5; /flourish 4; /pause 5; /flourish 5; /pause 5; /flourish 6; /pause 5; /flourish 7; /pause 5; /flourish 8; /pause 5; /macro flourish;

To start dancing only

Name: dance

Macro:  /join; /startdance; /macro flourish;

To start music only

Name: music

Macro:  /join; /startmusic; /macro flourish;

For automated buffing cycles the following can be used and song or dance changed according to your level and desire.

To automatically send out a group invite to when anyone sends you a text use the following macro. This ruins your chat tabs and leaves you without control to type so not recommended unless afk buffing.

Name: invite

Macro:  /pause 10; /ui action startChatReply; /ui action chatCursorHome; /ui action chatCursorRight; /ui action chatDelete; /ui action chatDelete; /ui action chatEnter; /tell Clearing tell target; /macro invite;

Name: buff

Macro: /pause 2; /setCurrentSkillTitle social_dancer_master; /pause 2; /startd exotic2; /pause 152; /pause 10; /whisper Stopping dance. Make sure to listen for music buff; /stopd; /pause 3; /setCurrentSkillTitle social_musician_master; /pause 2; /startm ballad; /pause 152; /pause 10; /whisper stopping music. Make sure to watch for dance buff; /stopm; /pause 3; /macro buff;

Stopping a Macro

If any of these macros need to stop , or start making a mess , type the /dump command in chat or turn it into a macro.

Feel free to post your own macros in this Friday feature for others to use or modify these for your own personal use. Thanks and happy Macroing!

One final addition. Halyn found this on the Mod the Galaxy forum. It is another way to manage macros outside of the game!

Crafting Macros

Happy Friday!

Sandarie
Community Manager

4 thoughts on “Friday Feature 7/28/2017: Macros!

  1. for rifleman in our courts, I would highly suggest not putting /strafe2 on a repeating macro.

  2. If you are a ranger, and you hand-harvest instead of using a droid–you can run this macro:

    /harvest hide;
    /pause 2;
    /macro autoharvest

    Just switch hide to meat or bone depending on what you are farming.

  3. Another ranger one , this would cycle thru all your toolbar slots, you can put a camp into each slot and it will try to drop a camp every 20 seconds or so to help level camping xp when afk.

    /ui action toolbarSlot00;
    /pause 20;
    /ui action toolbarSlot01;
    /pause 20;
    /ui action toolbarSlot02;
    /pause 20;
    /ui action toolbarSlot03;
    /pause 20;
    /ui action toolbarSlot04;
    /pause 20;
    /ui action toolbarSlot05;
    /pause 20;
    /ui action toolbarSlot06;
    /pause 20;
    /ui action toolbarSlot07;
    /pause 20;
    /ui action toolbarSlot08;
    /pause 20;
    /ui action toolbarSlot09;
    /pause 20;
    /ui action toolbarSlot10;
    /pause 20;
    /ui action toolbarSlot11;
    /pause 20;
    /ui action toolbarSlot12;
    /pause 20;
    /ui action toolbarSlot13;
    /pause 20;
    /ui action toolbarSlot14;
    /pause 20;
    /ui action toolbarSlot15;
    /pause 20;
    /ui action toolbarSlot16;
    /pause 20;
    /ui action toolbarSlot17;
    /pause 20;
    /ui action toolbarSlot18;
    /pause 20;
    /ui action toolbarSlot19;
    /pause 20;
    /ui action toolbarSlot20;
    /pause 20;
    /ui action toolbarSlot21;
    /pause 20;
    /ui action toolbarSlot22;
    /macro campingxp


Log in to leave a Comment