Akirane / XIVHotbar

13 stars 9 forks source link

Questions #2

Closed xivirgal closed 4 years ago

xivirgal commented 4 years ago

Hello, Firstly i love this and thanks for the upload. I just have some Questions.

1 Using the new .Lua System how/can i Have Custom Icon's ?. ie WS's

2 Is there a way to Write More safisticated macros for the the bar .ie a Sch skillchain macro where it will use's more than one ability ?.

Akirane commented 4 years ago

Hello,

I pushed a new update to the test branch.

1 Should be possible to add custom icons now as a 6th argument, for

example

{'battle 3 1', 'ja', 'Vallation', 'me', 'Vall.', 'attack'}

Looks after the file "attack.png" in the images/icons/custom folder.

2 I'm looking into this, I think I will implement macros as lua functions!

If you look at

{'battle 3 6', 'ct', '/htb macro', 'me', 'SCH SC', 'attack'}

It will execute a lua function from xivhotbar.lua called sch_skillchain, right now it only adds two lines of party chat. But I think this should be enough to get you started on implementing a custom macro. As soon as I have figured out how to load lua functions in similar fashion I load in actions, I'll remove the placeholder and do it properly.

On Sat, Mar 14, 2020 at 6:31 AM xivirgal notifications@github.com wrote:

Hello, Firstly i love this and thanks for the upload. I just have some Questions.

1 https://github.com/Akirane/XIVHotbar/issues/1 Using the new .Lua

System how/can i Have Custom Icon's ?. ie WS's

2 https://github.com/Akirane/XIVHotbar/issues/2 Is there a way to

Write More safisticated macros for use the the bar .ie a Sch skillchain macro where it will use more than one ability ?.

— 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/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOC3ULP7IQAVEQ3MFKXSBDRHMJCJANCNFSM4LII6CEA .

Akirane commented 4 years ago

The examples I mentioned were from the file "data/Akirane/RUN.lua".

On Sat, Mar 14, 2020 at 6:31 AM xivirgal notifications@github.com wrote:

Hello, Firstly i love this and thanks for the upload. I just have some Questions.

1 https://github.com/Akirane/XIVHotbar/issues/1 Using the new .Lua

System how/can i Have Custom Icon's ?. ie WS's

2 https://github.com/Akirane/XIVHotbar/issues/2 Is there a way to

Write More safisticated macros for use the the bar .ie a Sch skillchain macro where it will use more than one ability ?.

— 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/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMOC3ULP7IQAVEQ3MFKXSBDRHMJCJANCNFSM4LII6CEA .

xivirgal commented 4 years ago

Hello, I pushed a new update to the test branch. #1 Should be possible to add custom icons now as a 6th argument, for example {'battle 3 1', 'ja', 'Vallation', 'me', 'Vall.', 'attack'} Looks after the file "attack.png" in the images/icons/custom folder. #2 I'm looking into this, I think I will implement macros as lua functions! If you look at {'battle 3 6', 'ct', '/htb macro', 'me', 'SCH SC', 'attack'} It will execute a lua function from xivhotbar.lua called sch_skillchain, right now it only adds two lines of party chat. But I think this should be enough to get you started on implementing a custom macro. As soon as I have figured out how to load lua functions in similar fashion I load in actions, I'll remove the placeholder and do it properly.

Awsome, thanks. I found a work around useing Sel's Gearswap for macros ie. --T1 Skillchain {'b 1 1', 'gs', 'c set ElementalMode Fire;gs c elemental skillchain1', 'liquefaction'}, This work's Perfect for me haveing acsses to custome icons will be amazing