GEO Gearswap
Gearswap GEO template
Requires Shortcuts Add-On
Hello, here's a GEO gearswap template with some bells and whistles. It's what I currently use and was a way to save some macro space.
Let me know if you have any troubles with it or if there is stuff missing you'd like. Or if you just like it or hate it...
GEO.lua -- All your gearsets and keybindings etc. (Change this one) (Can rename to CharacterName_GEO.lua)
GEO_Lib.lua -- Just Code, don't change and don't rename this one.
GEO_Maths.lua -- Just maths, don't change and don't rename this one.
Note: You need all 3 files, but only the GEO.lua should be customized (that's where all your sets and setup is)
To do:
Notable Features
Add HUD display to show modes / saved spells instead of spamming chat
Keybind support for various commands
Auto Echo drops
Auto Detect if luopan is out to swap between refresh or luopan perp, can be overridden with a toggle for DT (Full masterDT if no luopan , hybrid luopan Perp / Master DT if luopan is out
Cycle function to go through and save an Element
Cycle function to go through Geo and Indi spells, save them so your macros can cast the appropriate spell
All in one Geo and Indi casting functions
Pet / Idle Set selection and cycling geo / indi spell:
Geo / Indi Cycle function casting Macros
Macro: /console gs c geo geocycle
Will cycle through Geo-Spell in alphabetical order
Macro: /console gs c geo geocycledown
Will cycle through Geo-Spell in reverse alphabetical order
Geo Spell Selected will be saved and used as the type for the casting of Geo spell
Similar for indi spell see below spoiler
Macro: /console gs c geo geo
Will cast the saved Geo spell.
Macro: /console gs c geo indi
Will cast the saved Indi spell.
see below: Code
/console gs c geo geocycle Cycles Geomancy Spell
/console gs c geo geocycledown Cycles Geomancy Spell in reverse order
/console gs c geo indicycle Cycles IndiColure Spel
/console gs c geo indicycledown Cycles IndiColure Spell in reverse order
/console gs c geo geo Cast saved Geo Spell
/console gs c geo indi Cast saved Indi Spell
Element Cycle function and Nuking Macros
Macro: /console gs c nuke cycle
Will cycle through elements in wheel order (water > fire > ice > wind > earth > lightning > light > dark > water > etc.)
Element Selected will be saved and used as the type for the casting macros / SC macro.
Macro: /console gs c nuke cycledown
Will cycle through elements in wheel reverse order (water < fire < ice < wind < earth < lightning < light < dark < water < etc.)
Code
gs c nuke cycle Cycles element type for nuking
gs c nuke cycledown Cycles element type for nuking & SC in reverse order
gs c nuke t1 Cast tier 1 nuke of saved element
gs c nuke t2 Cast tier 2 nuke of saved element
gs c nuke t3 Cast tier 3 nuke of saved element
gs c nuke t4 Cast tier 4 nuke of saved element
gs c nuke t5 Cast tier 5 nuke of saved element
gs c nuke ra1 Cast tier 1 -ra nuke of saved element
gs c nuke ra2 Cast tier 2 -ra nuke of saved element
gs c nuke ra3 Cast tier 3 -ra nuke of saved element
User Setup
All the customization should be done in the in the GEO.lua, you will find all the options there.
Macro Book Swap
This lets you set which sheet and book to swap your macros to when changing job to GEO. Code -- Optional. Swap to your sch macro sheet / book
set_macros(1,5) -- Sheet, Book
Initial Geo / Indi
The default saved Geo and Indi spells when swapping to GEO: Code
geomancy:set('Geo-Frailty') -- Geo Spell Default (when you first load lua / change jobs the saved spells is this one)
indicolure:set('Indi-Haste') -- Indi Spell Default (when you first load lua / change jobs the saved spells is this one)
Keybind all the things
Refer to this link for the windower supported keybindings
Below is the default keybinds I use currently.
You will find these, and feel free to modify them, in the GEO_Gearsets.lua.
Code
-- Setup your Key Bindings here:
windower.send_command('bind home gs c geo geocycle')
windower.send_command('bind end gs c geo geocycledown')
windower.send_command('bind PAGEUP gs c geo indicycle')
windower.send_command('bind PAGEDOWN gs c geo indicycledown')
windower.send_command('bind f9 gs c toggle runspeed')
windower.send_command('bind f10 gs c toggle mb')
windower.send_command('bind f12 gs c toggle melee')
windower.send_command('bind !` gs c toggle idlemode')
Also, remember to unbind your keybinds on job change. Code function user_unload()
send_command('unbind home')
send_command('unbind end')
send_command('unbind PAGEUP')
send_command('unbind PAGEDOWN')
send_command('unbind f10')
send_command('unbind f12')
send_command('unbind f6')
send_command('unbind !`')
end
Other Gearswaps
https://github.com/Tunaliz/Liz_Gearswaps
Date Created: 2018-11-27 03:23:31
Date Last Modified: 2019-06-18 22:32:49
Updates: 14
Bytes: 6204
|