Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------
- -- Initial loading. --
- ----------------------
- function get_sets()
- mote_include_version = 2
- include('Mote-Include.lua')
- end
- --------------------------------
- -- Initial user configuration --
- -------------------------------
- -- Called whin this file is initially loaded.
- function user_setup()
- state.CastingMode:options('Normal') -- Cycle through casting modes with Ctrl + F11.
- state.IdleMode:options('Normal')
- state.OffenseMode:options('Normal') -- Cycle through engaged modes with F9.
- state.WeaponskillMode:options('Normal') -- May not come with a default binding.
- state.RangedMode:options('Normal') -- Alt + F9 to cycle through modes.
- state.PhysicalDefenseMode:options('PDT')
- state.MagicalDefenseMode:options('MDT')
- set_macro_page(1, 1) -- Sets your macro page to the first number and book to the second number in that order.
- send_command('wait 9;input /lockstyleset 01') -- Sets your lockstyle set to the two digit number at the end.
- send_command('gs enable all') -- Unlock any slots that may have been locked before this gearswap was loaded.
- send_command('bind %` gs enable all') -- Press ` (Grave key) to unlock all slots.
- send_command('bind %^space gs disable main sub range') -- Press ctrl + space to lock weapons.
- send_command('bind %!space gs enable main sub range') -- Press alt + space to unlock weapons.
- end
- -- Called when this file is unloaded or reloaded.
- function user_unload()
- -- Remove the bindings set above when this gearswap is unloaded.
- send_command('unbind %`')
- send_command('unbind %^space')
- send_command('unbind %!space')
- end
- ----------------
- -- Gear sets. --
- ----------------
- function init_gear_sets()
- -----------------------
- -- Job ability sets. --
- -----------------------
- -- You can safely delete these if you don't use dancer.
- sets.precast.Waltz = {
- }
- -- Same as above.
- sets.precast.Waltz['Healing Waltz'] = {} -- Intentionally empty so none of your waltz gear is used.
- -------------------
- -- Casting sets. --
- -------------------
- sets.precast.FC = { -- Benefits from only Fastcast gear and used before every spell cast.
- -- ear1 = "Loquacious Earring"
- }
- -- Almost every job has to use it at some point put lots of haste in here.
- sets.midcast.Utsusemi = { -- Put in haste, interrupt reduction, and evasion.
- head = " ",
- neck = " ",
- ear1 = " ",
- ear2 = " ",
- body = " ",
- hands = " ",
- ring1 = " ",
- ring2 = " ",
- back = " ",
- waist = " ",
- legs = " ",
- feet = " "
- }
- -------------------
- -- Engaged sets. --
- -------------------
- sets.engaged = {
- range = " ",
- ammo = " ",
- head = " ",
- neck = " ",
- ear1 = " ",
- ear2 = " ",
- body = " ",
- hands = " ",
- ring1 = " ",
- ring2 = " ",
- back = " ",
- waist = " ",
- legs = " ",
- feet = " "
- }
- -- Delete this list if you never use NIN or DNC.
- -- A set pinned over your engaged sets while single wielding.
- -- If you delete the dual wielding code in customize_melee_set() you can delete this too.
- sets.engaged.SW = { -- Put your single wielding weapons in here and pieces used while doing so.
- main = " ",
- sub = " "
- }
- -- Same as above delete this if you never use NIN or DNC.
- -- A set pinned over your engaged sets while dual wielding.
- -- If you delete the dual wielding code in customize_melee_set() you can delete this too.
- sets.engaged.DW = { -- Put your dual wielding weapons in here and pieces used while doing so.
- main = " ",
- sub = " "
- }
- ----------------------------------------------------------------------------------
- -- Range sets -- Delete this section if your job doesn't have ranged abilities. --
- ----------------------------------------------------------------------------------
- sets.precast.RA = {
- }
- sets.midcast.RA = {
- }
- ------------------------
- -- Weapon skill sets. --
- ------------------------
- sets.precast.WS = {
- ammo = " ",
- head = " ",
- neck = " ",
- ear1 = " ",
- ear2 = " ",
- body = " ",
- hands = " ",
- ring1 = " ",
- ring2 = " ",
- back = " ",
- waist = " ",
- legs = " ",
- feet = " "
- }
- ----------------
- -- Idle sets. --
- ----------------
- sets.idle = {
- range = " ",
- ammo = " ",
- head = " ",
- neck = " ",
- ear1 = " ",
- ear2 = " ",
- body = " ",
- hands = " ",
- ring1 = " ",
- ring2 = " ",
- back = " ",
- waist = " ",
- legs = " ",
- feet = " "
- }
- sets.idle.Town = {
- }
- sets.idle.Weak = {
- }
- -- Delete this code if you never use /NIN or /DNC.
- -- A set pinned over your idle sets while single wielding.
- -- If you delete the dual wielding code in customize_idle_set() you can delete this too.
- sets.idle.SW = { -- Put your single wielding weapons in here and pieces used while doing so.
- main = " ",
- sub = " "
- }
- -- Same as above you can delete this if you never NIN or DNC.
- -- A set pinned over your idle sets while dual wielding.
- -- If you delete the dual wielding code in customize_idle_set() you can delete this too.
- sets.idle.DW = { -- Put your duel wielding weapons in here and pieces used while doing so.
- main = " ",
- sub = " "
- }
- sets.resting = {
- range = " ",
- ammo = " ",
- head = " ",
- neck = " ",
- ear1 = " ",
- ear2 = " ",
- body = " ",
- hands = " ",
- ring1 = " ",
- ring2 = " ",
- back = " ",
- waist = " ",
- legs = " ",
- feet = " "
- }
- ------------------
- -- Defense sets --
- ------------------
- sets.Kiting = {}
- sets.defense.PDT = {}
- sets.defense.MDT = {}
- ------------------
- -- Manual sets. --
- ------------------
- --[[
- These sets can be called in a windower macro using the example script.txt below.
- gs enable neck
- gs equip manual.whistle
- gs disable neck
- Or used in a standard in game macro with the example below.
- /console gs enable neck
- /console equip manual.whistle
- /console gs disable neck
- Make sure you enable then equip and then disable all the slots that are used in the sets.
- --]]
- sets.manual = {} -- Creates a empty list for these sets to be a sub list of.
- sets.manual.whistle = {neck = "Chocobo Whistle"}
- sets.manual.nexus = {back = "Nexus Cape"}
- sets.manual.warp = {ring2 = "Warp Ring"}
- sets.manual.lotus = {main = "Lotus Katana"} -- Delete this if THF.
- end
- ----------------------
- -- Custom scripting --
- ----------------------
- -- You can delete all this if you don't use NIN or DNC ever.
- -- Whenever a engaged set is used this function is called.
- function customize_melee_set(meleeSet)
- -- Checks if your subjob is DNC or NIN or isn't and uses the right weapons.
- -- You can delete this up to 'return meleeSet' if you don't use ninja or dancer.
- if player.sub_job ~= "DNC" and player.sub_job ~= "NIN" then
- meleeSet = set_combine(meleeSet, sets.engaged.SW)
- else
- meleeSet = set_combine(meleeSet, sets.engaged.DW)
- end
- return meleeSet
- end
- -- Same as above you can delete this if you never use NIN or DNC.
- -- Wenever a idle set is used this fuction is called.
- function customize_idle_set(idleSet)
- -- Checks if your subjob is DNC or NIN or isn't and uses the right weapons.
- -- You can delete this up to 'return idleSet' if you don't use ninja or dancer.
- if player.sub_job ~= "DNC" and player.sub_job ~= "NIN" then
- idleSet = set_combine(idleSet, sets.idle.SW)
- else
- idleSet = set_combine(idleSet, sets.idle.DW)
- end
- return idleSet
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement