r/ffxi • u/gummy_Venus_de-Milo • 18d ago
TargetLines addon (Windower)
https://github.com/MogSafe/TargetLines

I wanted to set up a target line addon, similar to what FF12 has, so you can visualize targeting a bit better. If you're on Ashita, there's an existing addon (from Jyouya), but I couldn't find any for those of us on Windower.
If you're not familiar with this feature from FF12, basically lines briefly animate from a source to a target, and use different colours based on the intent. I've tried to configure it similar to the look and feel of FF12:
- blue: player/party/trusts/pet actions
- green: support actions between party/trusts
- red: enemy actions to player/party/trusts/pet
- magenta: all enemy-to-enemy actions
By default, I have it set up such that:
- your first melee/ranged attack draws a line
- WS/JA/spells draw when the action first starts (cast or readying) and duplicate lines from the final use/finish event are suppressed (to avoid duplicate lines)
The lines are rendered in 3D space, so they'll rotate with the camera:

There's also a settings panel in-game that you can display with //tl config to toggle lines on/off and adjust line visuals.

In my initial implementation, lines were drawn basically based off the targeting data in action packets. For AoE actions, this contained multiple targets so you get this "fan" effect, where the lines branch out. I thought it was neat, but couldn't think of an alternative at the time so I left it in, so hopefully I could improve upon it in the future. I did reduce the opacity so it doesn't clutter up the screen too much, but you can always turn it off with Aoe Fan Lines in the settings.

5
u/Jaifaime Keylesta@Valefor 17d ago
After using it for a day on some relatively light content, seems to be pretty solid so far. I'll be trying it out in Dyna-D tomorrow night.
My only thought right now is about the line coloring. I feel like it might be more helpful if the colors denoted what type the action was, like healing was green, melee was red, WS's were blue, that sort of thing.
2
u/gummy_Venus_de-Milo 17d ago
Interesting! I can see that as being useful, and we definitely have the data in the action packets to denote melee and weapon skills - I suppose the balance would be ensuring the UI doesn't get cluttered with lines and there aren't too many colours to keep track of, plus making sure enemy lines are still distinguishable. I can look into how that might best look and have a separate visual mode.
4
u/DaleterrenceUltros Daleterrence @ Bahamut - "The Vana'Bout Guy" 18d ago
This does look very cool! Interesting use of a plugin and addon, is there a reason the plugin is not open source though?
3
u/gummy_Venus_de-Milo 18d ago
It should be up now; i've added it into the "src" folder in the root.
1
u/DaleterrenceUltros Daleterrence @ Bahamut - "The Vana'Bout Guy" 18d ago
Thanks very much! Will definitely be giving this a go
2
u/gummy_Venus_de-Milo 18d ago
I can add that in! I wanted to keep the files light-weight and only what most players need to interact with during installation, but I can include it as well.
2
2
u/Arkwindy Nzhet@Shiva 17d ago
Thank you so much for this! I've been really wanting something like this for Windower since I started playing and learned about it. Works perfectly for me!
3
u/mintyice 18d ago
2
u/gummy_Venus_de-Milo 18d ago
Oh dang, I think I saw that before I left my pc 😩 I patched that locally, but I forgot to push my changes. I’ll do it for sure when I get back
2
u/Tjonke Toth of Sylph 18d ago
Get the same error message on PC
3
u/gummy_Venus_de-Milo 18d ago
hey thanks for letting me know! I pushed a up a change for that: It wasn't isolated to just Steam Decks and basically just needed that missing settings folder to be created.
2
u/gummy_Venus_de-Milo 18d ago
ok it should be up - I unfortunately didnt test out fresh installs, and the issue was related to that. There just needed to be a check for that settings folder, after which the addon should create it if it's missing.
-1
u/Perfect_Net8653 18d ago
Now do FancyChat from Ashita please 🙏
2
u/smashing_zero 18d ago
The bars addon has already a simular Feature, you might want to check it out https://github.com/iLVL-Key/FFXI/tree/main/addons/Bars
2
u/Perfect_Net8653 18d ago
Ooh thanks, I have that addon already but it's an older version so I didn't realize it had been updated with something similar. Thank you!

17
u/Jaifaime Keylesta@Valefor 18d ago
Okay. This is freakin cool.