Jump to content


Photo

enemybar


    2 replies to this topic

    #1 mmckee

    mmckee

      Newbie

    • Members
    • Pip
    • 6 posts

      Posted 27 August 2015 - 04:12 AM

      Hey, first time posting an add-on!

       

      I created an add-on that puts the main target in the top center of the screen to make it easy to keep track of. For now all it does is track the main target, but eventually I will add sub-target support.

       

      This is the first version so there aren't any commands, and most customization is done through settings.xml.

       

      Finally I learned most of this through the wiki and examining other peoples code, so I'd like to thank Morath as much of what I figured out was in dissecting his add-on BarFiller.

       

      You can find the add-on @ GitHub

       

      For now it's somewhat basic, if you have any comments or suggestions please don't hesitate. 

      One final thing is there is a settings for changing the style of the bar to more smoothly lower in the settings.xml; by default it is set to simple mode so if you want to check it out change that setting. This was borrowed from Morath's animation code so props there.


      • Morath likes this

      #2 Iryoku

      Iryoku

        Advanced Member

      • Windower Staff
      • 488 posts

        Posted 28 August 2015 - 04:34 AM

        You should consider submitting a pull request for this. You'll have to fork the Windower/Lua repository, copy your addon there, and then open a new pull request. Once that's done, expect Arcon to harshly critique the code (it's not personal... usually ;)). I sometimes join in for code reviews, but Arcon usually beats me to it. Fix anything that's pointed out during the code review, and once we're satisfied, one of us will merge it and it will end up in the official addon list in the launcher.



        #3 mmckee

        mmckee

          Newbie

        • Members
        • Pip
        • 6 posts

          Posted 28 August 2015 - 12:37 PM

          Okay, I'm pretty sure I did all that correctly. Thanks for your consideration.


          • Morath likes this




          1 user(s) are reading this topic

          0 members, 1 guests, 0 anonymous users