Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Battlerage GUI and Tips

ZulahZulah Member Posts: 765 @ - Epic Achaean
myRage = tonumber(string.match(gmcp.Char.Vitals.charstats[2],"%d+"))


Used that to make some clickable timers that light up when you have enough shin to use them.


Interested in what else people have come up with for rage

Comments

  • NaverreNaverre Member Posts: 304 ✭✭✭✭ - Eminent
    I don't suppose you'd be willing to share some example scripts for those timer bars, pretty please?
    Utianima
  • ZulahZulah Member Posts: 765 @ - Epic Achaean
    edited May 2015
    Naverre said:
    I don't suppose you'd be willing to share some example scripts for those timer bars, pretty please?
    Sure. It's all based off the antitimer used on the harmics timer Ive seen floating around forums. I was thinking of making a package people could use but it uses triggers/rage skill cost/skill cooldown which would be unique for each class.

    NaverreUtianima
  • SiduriSiduri Member Posts: 1,592 @@ - Legendary Achaean
    True, but it could be edited easily I think?

    image
    Utianima
  • ZulahZulah Member Posts: 765 @ - Epic Achaean
    Siduri said:
    True, but it could be edited easily I think?
    I think so. But not everyone edits things easily =)

    I'll put something together when I'm not dying to undead here
    SiduriUtianima
  • NaverreNaverre Member Posts: 304 ✭✭✭✭ - Eminent
    Zulah said:
    Naverre said:
    I don't suppose you'd be willing to share some example scripts for those timer bars, pretty please?
    Sure. It's all based off the antitimer used on the harmics timer Ive seen floating around forums. I was thinking of making a package people could use but it uses triggers/rage skill cost/skill cooldown which would be unique for each class.

    I just found it, I'll play around with it. Thanks!
  • KyusoKyuso Member Posts: 2
    Is each battlerage ability on its own separate cooldown or do you have a 'rageBalance'?
  • TahquilTahquil Member Posts: 4,374 @@ - Legendary Achaean
    Separate cooldowns. You can in theory do all five at once!
    Kyrra
  • BorranBorran Member Posts: 845 ✭✭✭✭ - Eminent
    Can you package it and share? I'd like something like this, too.


    MorthifUtianima
  • YaeYae Member Posts: 307 @@ - Legendary Achaean
    https://github.com/demonnic/animatedtimers

    There will be an example alias with four different timer types.
    You can grab one of those and attach it to a trigger which will fire a timer.
    You just need to adjust the name, timer, color, and size if you want. 

    Very easy to edit. 

     :o 
    Art commissions are closed! I am (practically) dormant.   :s
  • SiduriSiduri Member Posts: 1,592 @@ - Legendary Achaean
    Yae said:
    https://github.com/demonnic/animatedtimers

    There will be an example alias with four different timer types.
    You can grab one of those and attach it to a trigger which will fire a timer.
    You just need to adjust the name, timer, color, and size if you want. 

    Very easy to edit. 

     :o 
    Seems like it is, but I don't get what I should write as a 'constructor'?

    image
  • SeifurSeifur Member Posts: 64 ✭✭✭ - Distinguished
    @Siduri Something like this:
    {x = 0, y = 0, height = 20, width = 150}
    retired
    Siduri
  • KlendathuKlendathu Eye of the StormMember Posts: 3,178 @@ - Legendary Achaean
    Zulah said:
    myRage = tonumber(string.match(gmcp.Char.Vitals.charstats[2],"%d+"))

    Interested in what else people have come up with for rage
    I have a script which will parse the rage value out of the table, in case the order changes in the future (it did for Voice, was 3 and now 4 due to the addition of Rage).

    myRage = function()
    local rage = 0
    for k, v in pairs(gmcp.Char.Vitals.charstats) do
    if string.starts(v, "Rage") then
    rage = tonumber(string.match(v,"%d+"))
    end
    end
    return rage
    end

    It loops through the table until it finds the entry starting Rage, then pulls the value.


    Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
    Austere
  • SiduriSiduri Member Posts: 1,592 @@ - Legendary Achaean
    I've tried this, but it apparently does not want to work:

    demonnic.anitimer:new(thrash, {x=bRage_xPos+5, y=bRage_yPos+5, height=20, width=bRage_w-10}, 16, true)

    image
  • NaverreNaverre Member Posts: 304 ✭✭✭✭ - Eminent
    Siduri said:
    I've tried this, but it apparently does not want to work:

    demonnic.anitimer:new(thrash, {x=bRage_xPos+5, y=bRage_yPos+5, height=20, width=bRage_w-10}, 16, true)
    thrash should be a string, here you have it as a variable. If thrash isn't initialized to something, it'll be a nil value. Put it in strings (and maybe call it something better, like "thrash_anitimer").
  • SiduriSiduri Member Posts: 1,592 @@ - Legendary Achaean
    Hrm, I want to make it so my labels turn a certain colour when they can be used. I want it transparent and -under- the timer. This does not work, though, any idea?

    local rageReady=[[

    border-width: 2px;

    border-style: solid;

    border-color: white;

    border-radius: 12px;

    background-color: "179,102,255,150";

    ]]


    image
  • RekhyrRekhyr Member Posts: 56 ✭✭✭ - Distinguished
    background-color: rgba(179, 102, 255, 150);
    Siduri
  • UtianimaUtianima Norway and AustriaMember Posts: 261 ✭✭✭✭ - Eminent
    I'm slow.... Could someone help me create a anitimer window, and send rage info too it? Just need the window up (which I've failed at doing), and a working rage timer which I can duplicate for other cooldowns.

    Willing to pay for your time in credits.

  • KlendathuKlendathu Eye of the StormMember Posts: 3,178 @@ - Legendary Achaean
    I'm working on an all class rage gui which I'll be giving away for free. If you want to contribute, PM me the trigger lines for your class and I'll add them in

    Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
    Zulah
  • CynlaelCynlael Member Posts: 3,257 @@ - Legendary Achaean
    Klendathu said:
    Zulah said:
    myRage = tonumber(string.match(gmcp.Char.Vitals.charstats[2],"%d+"))

    Interested in what else people have come up with for rage
    I have a script which will parse the rage value out of the table, in case the order changes in the future (it did for Voice, was 3 and now 4 due to the addition of Rage).

    myRage = function()
    local rage = 0
    for k, v in pairs(gmcp.Char.Vitals.charstats) do
    if string.starts(v, "Rage") then
    rage = tonumber(string.match(v,"%d+"))
    end
    end
    return rage
    end

    It loops through the table until it finds the entry starting Rage, then pulls the value.

    Just so you know... Can shorten this to

    myRage = function()
          local rage = 0
          rage = tonumber(string.match(gmcp.Char.Vitals.charstats[2], "Rage: (%d+)"))
          return rage
    end

  • KlendathuKlendathu Eye of the StormMember Posts: 3,178 @@ - Legendary Achaean
    Cynlael said:
    Klendathu said:
    Zulah said:
    myRage = tonumber(string.match(gmcp.Char.Vitals.charstats[2],"%d+"))

    Interested in what else people have come up with for rage
    I have a script which will parse the rage value out of the table, in case the order changes in the future (it did for Voice, was 3 and now 4 due to the addition of Rage).

    myRage = function()
    local rage = 0
    for k, v in pairs(gmcp.Char.Vitals.charstats) do
    if string.starts(v, "Rage") then
    rage = tonumber(string.match(v,"%d+"))
    end
    end
    return rage
    end

    It loops through the table until it finds the entry starting Rage, then pulls the value.

    Just so you know... Can shorten this to

    myRage = function()
          local rage = 0
          rage = tonumber(string.match(gmcp.Char.Vitals.charstats[2], "Rage: (%d+)"))
          return rage
    end
    This I did know, if anything is added earlier in the charstats table, your script will broken. An example of this is bards - voice balance was on 3, now on 4 due to addition of rage. Futureproofing4thawin

    Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
    MorthifTharvisNaverreAustere
  • ZulahZulah Member Posts: 765 @ - Epic Achaean
    Klendathu said:
    Cynlael said:
    Klendathu said:
    Zulah said:
    myRage = tonumber(string.match(gmcp.Char.Vitals.charstats[2],"%d+"))

    Interested in what else people have come up with for rage
    I have a script which will parse the rage value out of the table, in case the order changes in the future (it did for Voice, was 3 and now 4 due to the addition of Rage).

    myRage = function()
    local rage = 0
    for k, v in pairs(gmcp.Char.Vitals.charstats) do
    if string.starts(v, "Rage") then
    rage = tonumber(string.match(v,"%d+"))
    end
    end
    return rage
    end

    It loops through the table until it finds the entry starting Rage, then pulls the value.

    Just so you know... Can shorten this to

    myRage = function()
          local rage = 0
          rage = tonumber(string.match(gmcp.Char.Vitals.charstats[2], "Rage: (%d+)"))
          return rage
    end
    This I did know, if anything is added earlier in the charstats table, your script will broken. An example of this is bards - voice balance was on 3, now on 4 due to addition of rage. Futureproofing4thawin
    Same with shin. My shin tracker turned into a rage tracker automatically when they added rage in because of the shift.
Sign In to Comment.