Akirane / XIVHotbar

13 stars 9 forks source link

Custom Load Hotbar #1

Closed Yamoto07 closed 4 years ago

Yamoto07 commented 4 years ago

I tried working off of what you had done with the Dark/Light Arts, but I just couldn't figure it out. I'm trying to find a way to custom load a "sub-hotbar" I guess you could say, to be used on jobs like SMN. In theory, keep Battle 1 bar blank on the base setup, then have a "sub-bar" for each avatar that contains their abilities. However, since the arts seem to function off of gain/lose buff ID and avatars don't have that, I can't seem to figure a way to do this. On the older version, I made a ct command to run a script that summoned the avatar, erased the whole hotbar and set each avatar's abilities. It wasn't efficient but it worked. This would also be useful for other jobs, too. 1 button fills hotbar 1 with all fire spells, another fills it with ice spells, etc. That, or have a command to force load a different lua file for each avatar/category. Either way, keep up the great work! Happy new year!

Akirane commented 4 years ago

Hello,

I pushed a new update to the test_branch where I implemented another command for XIVHotbar to load summoner hotbars. You can see an example under data/Akirane/SMN.lua. I don't play summoner so I can't test if the pet actions work or not.

On Wed, Jan 1, 2020 at 4:57 AM Yamoto07 notifications@github.com wrote:

I tried working off of what you had done with the Dark/Light Arts, but I just couldn't figure it out. I'm trying to find a way to custom load a "sub-hotbar" I guess you could say, to be used on jobs like SMN. In theory, keep Battle 1 bar blank on the base setup, then have a "sub-bar" for each avatar that contains their abilities. However, since the arts seem to function off of gain/lose buff ID and avatars don't have that, I can't seem to figure a way to do this. On the older version, I made a ct command to run a script that summoned the avatar, erased the whole hotbar and set each avatar's abilities. It wasn't efficient but it worked. This would also be useful for other jobs, too. 1 button fills hotbar 1 with all fire spells, another fills it with ice spells, etc. That, or have a command to force load a different lua file for each avatar/category. Either way, keep up the great work! Happy new year!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Akirane/XIVHotbar/issues/1?email_source=notifications&email_token=AMOC3UO5LETUBGA4IF5TGJDQ3QICFA5CNFSM4KBZLAJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDROXZA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOC3ULWRBBIXWU4HJRFLOLQ3QICFANCNFSM4KBZLAJA .

Yamoto07 commented 4 years ago

Made some small adjustments. player.lua needed Cait Sith spelling corrected. Also added some lines in player.lua to enable custom icons to be used. ui.lua made some spacing adjustments. Set the cost text to be right-aligned. Added a line to enable custom icons.

The avatar skills work perfect. Thanks so much!

xivhotbar.zip