Skip to content

Varout/AitaAxed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AitaAxed

Contents

About

Check out releases for the latest version.

AitaAxed came about as a more visual solution that doesn't rely on the chat log and React, when fighting specific bosses in Sortie. Someone suggested using React to print out to the log, however I'm either always looking at my party's HP numbers (while on WHM) or at my skillchains add-on (while on DRG).

The idea to put something up in big text so it's front and centre, along with colour-coded text came up, so I gave it a go based on what I've done for my GearSwap luas on different jobs. This was the result.

Degei & Aita

Shows the current direct elemental weakness and the associated skillchain that should be used. Optionally, you can choose to display the name of the ability used.

Leshonn & Gartell

When using an ability which causes hands to switch from Thunder to Wind or vice versa, the dialogue box appears on screen.

Top of Page

Installation

Just like other Windower add-ons, you need a folder in your Windower4/addons/ directory called "AitaAxed" with the main structure of the compressed archived kept the same.

You should be able to just extract the archive to your addons directory directly.

Note: This hasn't been tested with Ashita. It relies on the Windower API. So if you're trying to run this with Ashita, the results are unknown at this point.

To load AitaAxed, you can add it to your scripts/init.txt after everything else, add it to your plugins list if you're using the plugins add-on, or just type lua l aitaaxed in your Windower terminal (Or //lua l aitaaxed using the in-game chat)

Settings.xml

Setting Type Default Description
auto_centre Boolean true Automatically finds the middle of your game window to display the text box. If true, ignores the value set for x_pos.
duration Integer 10 The duration that the dialogue box stays on screen in seconds after the last ability.
padding Integer 25 The space around the text box that has a background. The value applies to top, botton, left, and right.
show_ability_name Boolean false For Degei & Aita, toggles whether or not the name of the ability used is also shown on screen.
background: opacity Integer 75 The background opacity of the text box. A value of 75 seems to be the same as the default value for EquipViewer. Higher is less transparent
font: size Integer 50 The font size.
font: use_colours Boolean true When true, the elemental nukes are coloured with the corresponding colour. Stone: yellow, Water: blue, etc. When false, all text is white.
pos: x Integer 700 The x-position of the top left corner of the text box from the left-hand-side of the window. Ignored if auto_centre is set to true.
pos: y Integer 100 The y-position of the top left corner of the text box from the top of the window.
update_gearswap Boolean false Sends the current enemy's weakness to GearSwap. The weakness value is send to the state: SortieWeakness

Top of Page

Commands

  • AitaAxed
  • aa - alias, because typing in 'AitaAxed' is tricky at the best of times
Option Alias Description
help h Shows all available help commands if used by itself with no arguments (aa h) or shows help on a specific command if used with an argument.
Example: aa help clear or aa h c will show information on the aa clear command
clear c Force clear the screen if the text panel gets stuck on the screen.
Example: aa clear
test n/a Shows a dialogue box on the screen with the text "Hellow World" with the settings from your settings.xml file. If you have colourful text turned on, then "World" will appear in a random colour. Note: This seems to complain if you keep on spamming the command and it stops responding.
reload r Reloads the add-on as if you typed lua r AitaAxed.
Example: aa r
unload u Unloads the add-on as if you types lua u AitaAxed.
Example: aa u
auto_centre (soon) ac Allows setting the value for auto_centre.
Example: aa auto_centre false
duration (soon) d Sets the duration value.
Example: aa duration 5
show_name (soon) sn Sets the value for show_ability_name
Example: aa sn true
padding (soon) n/a Sets the value for the padding around the text in the dialogue box.
Example: aa padding 30
opacity (soon) n/a Sets the value for the background opacity of the dialogue box. Higher is less transparent.
Example: aa opacity 80
size (soon) n/a Sets the font size.
Example: aa s 42
colourful (soon) c Sets the value for use_colours.
aa colourful false
pos x (soon) n/a Sets the x-position value.
Example: aa pos x 800
pos y (soon) n/a Sets the y-position value.
Example: aa pos y 50

Top of Page

GearSwap Integration

New with version 0.5 is the ability to update GearSwap (default: false) with the current enemy weakness based on the previous ability. This relies on the enemy to use an ability so that AitaAxed knows what to use. With Leshonn and Gartell this could be quite annoying because it's easy to go a full fight without them ever using an ability which makes them swap hands.

In your GearSwap lua under user_setup() add the following two lines:

state.SortieWeakness = M{['description'] = 'Elemental Weakness'}
state.SortieWeakness:options('Stone', 'Water', 'Fire', 'Aero', 'Blizzard', 'Thunder')

Then you could put together a custom command which casts a tier 1 spell based on the value of SortieWeakness so that you can just push one macro or shortcut the whole time.

You should see the state change in your chat log. If you use a UI in-game to track your current states, you could have this displayed here so you can see it or override it.

Example screenshots of the states here: https://github.com/Varout/GearSwapLibs You could even colour-code things like in my SCH UI for the self-skillchains.

Known Issues

When there is a tonne of lag, sometimes it doesn't pick up the TP move. Currently I have no idea how to resolve this or if it is able to be resolved.

Top of Page

Media

Degei & Aita

Aero/Light

Fire/Light

Thunder/Light

Stone/Dark

Water/Dark

Leshonn & Gartell

Hands: Thunder

Hands: Wind

Top of Page

Links

Resources used in the making of this add-on.

Sammeh

    Sammeh's React add-on was used as a starting point.
    GitHub: https://github.com/SammehFFXI

Kaiconure (ux/core)

    Kaiconure developed the ux/core script.
    GitHub: https://github.com/Kaiconure/

Windower Development

    GitHub: https://github.com/Windower/Lua/wiki

Copyright

Copyright is stated in each lua script based on the guidelines set out in the Windower Documentation

Top of Page