Quantcast Macro - SWG Wiki
Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Macro

From SWG Wiki

Jump to: navigation, search


Table of contents

[edit] Definition

Macros have been implemented into Star Wars Galaxies as a way to help the players. They are in game scripts that can be developed to automate an action, or series of actions. SWG Macros may be looped, and can also be used to take advantage of the toolbar for commands that are normally typed. Example - /harvest hide;

To access your character specific macros go to the command browser window, and then select macro. Click new macro to get started. From that point all you have to do is type in the commands you would like to execute, give it a name and an icon and press OK.

You should now have a macro in your macro's tab of the command browser. You can test the macro by double clicking the icon from there or if you prefer you can assign them to a hot key. Pressing the hotkey will start the macro.

It's a good idea for anyone testing macros to utilize the /dump; call in a hotkey as you can potentially get your macro stuck in a loop and barring logging off, /dump; allows for you to stop a macro midstream.

[edit] Variables

See Chat Variables

[edit] Useful macros

[edit] Remove all states

A very common macro is:

Macroname: recover_all
/dizzyRecovery
/knockdownRecovery
/stunRecovery
/blindRecovery

This macro removes all states at once. If the state is not applied it just says wrong state and moves to the next one.

[edit] Chargeshot immediately after Legshot

Another example of a macro is:

Macroname:mod_chargeShot
/chargeShot
/legShot
/pause 29
/alarmAddIn 0 0 KD him down again!

This macro does a chargeShot immediatly followed by an legShot ensuring I hit the target with my (currently) most damaging attack, since a KD target takes more damage from an attack then when he is standing. There is a 30 second invulnerability right after a KD. The /pause 29 and the /alarmAddIn 0 0 reminds me when this timer is over and I can KD the target again. You can easily adapt this macro to your own needs. Check the timers e.g. for stoppingshot or concussion shot and exchange the pause command to your own needs.

[edit] Travel Made Easy!

You can purchase a ticket at a shuttleport or starport without accessing the terminal. Just type this as you near it:

/purchase departureplanet City_Port arrivalplanet City_Port

Example:

/purchaseticket corellia Coronet_Starport tatooine Bestine_Starport

If you do not want a roundtrip ticket, type 'single' at the end of the line like this:

/purchaseticket corellia Coronet_Starport tatooine Bestine_Starport single
  • planet names are lowercase, but city names and starports or shuttleports are capitilized.


[edit] Crafting

Grinding a crafting profession can be a real pain. Here's a macro to help you, without having to count schematics in the Datapad. Alternative formulations of this basic macro are presented in crafting macros.

macro crafting_1

/pause 0.25;
/pause 0.25;
/ui action toolbarPane00;
/ui action toolbarSlot12;
/pause 1.5;
/ui action defaultButton;
/pause 3;
/nextCraftingStage;
/nextCraftingStage;
/nextCraftingStage;
/createPrototype practice noitem;
/createPrototype practice noitem;
/pause 1;
/macro crafting_2;

Explanation: Your crafting tools should be in the lower row of your first toolbar in this example. Now you should create up to 10 macros (depending on how long crafting takes). The next macro should start the next crafting tool, which should be in toolbarSlot13. The very last macro should call

/macro crafting_1; 

again.

Now, the trick is, before you start this macro, you ONCE craft the item you want to use for grinding manually. The crafting tool will remember, which item it was, hence the line

/ui action defaultButton;

The only thing you need to do now, is adding the resources during the crafting process. If you have high lag, you might want to adjust the /pause commands.

[edit] Loot and Harvest

Sometimes all you need is a simple macro for looting and harvesting after a kill.

/loot
/pause .3;
/harvest bone;      <-- can be bone, meat, or hide
/pause .3;
/harvest;           <-- catch all since not all creatures have bones

However, many times when out exploring, you end up in a situation where the fighting is too fast paced to propperly loot or harvest your kills. In times like that, a repeating loot and harvest macro will help.

/loot
/harvest bone
/pause 1
/macro loot

This macro is useful for both NPCs and MOBs. It will cause you to loot the NPC once they have died, then attempt to harvest bone from them. (you can substitute meat or hide) It will then wait once second, and try again. The final command will cause the macro to loop, providing you name the macro "loot"


Another usefull macro is:

/loot
/pause 1
/attack
/macro lootattack

This macro is most usefull when going through an area of low level but agressive NPCs . A few seconds after being looted, an NPCwill disapear and you will automaticly target the next NPC that damages you and attack them.

[edit] Deathblow Macro

Most useful to Bounty Hunters, but also great for anyone engaging in PVP. It is helpful to have this repeating in the background when the fight starts so there is no chance of missing an opportunity to use it.


/deathblow
/pause 1
/macro deathblow

It may also be helpful to add the /macro deathblow command to the last line of the buff macro you have set up for pre fight buffing.

Rate this article:
Share this article: