promotional bannermobile promotional banner

EnergyWatch_v2A

Abandoned
EnergyWatch_v2A

NOTE

This addon is superseded by Energy Monitor

About

This is yet another remake of EnergyWatch, but this time for the Ace2 library. It has been updated with ideas from the current EnergyWatch_v2 and GnoffBar. I wrote it as an update and to learn using Ace2.

Most of the options have been reorganized due to utilizing Ace2 profile management and slash command processing. Localization translations and UI updates welcome.

/ew options

  • bar lock
    Locks the bar in place. Defaults to "locked".
  • bar unlock
    Unlocks the bar, it may be repositioned.
  • bar color <r> <g> <b> <a>
    Sets the bar's color. If no values are provided, opens the color chooser. Defaults to the value set in Interface.xml: 1 1 0 1
  • bar invert <true or false / enable or disable>
    Inverts the progress from left to right to right to left. Defaults to disabled.
  • bar scale <multiplier>
    <multiplier> can be any value from 0.25 to 3.0 in 0.01 increments. Defaults to 1.
  • bar text <string>
    <string> to display on top of the bar. Functions similarly to the text string from earlier EnergyWatch addons. Defaults to ENERGY.
    <string> may contain the following replacements:
    • &e : Current Energy
    • &em : Maximum Energy
    • &c : Combox Points
  • show stealthed <true or false / enable or disable>
    Show the energy watch bar while stealthed. Defaults to enabled.
  • show incombat <true or false / enable or disable>
    Show the energy watch bar while in combat. Defaults to enabled.
  • show outofcombat <true or false / enable or disable>
    Show the energy watch bar while out of combat. Defaults to enabled.
  • show while always
    Always shows the energy watch bar. This is equivalent to earlier EnergyWatch /ew show always.
    Equivalent to:
    • /ew show incombat enable
    • /ew show outofcombat enable
    • /ew show stealthed enable
  • show while combat
    Only shows the energy watch bar during combat. This is equivalent to earlier EnergyWatch /ew show always.
    Equivalent to:
    • /ew show incombat enable
    • /ew show outofcombat disable
    • /ew show stealthed disable
  • show while stealth
    Only shows the energy watch bar during combat or in stealth. This is equivalent to earlier EnergyWatch /ew show stealth.
    Equivalent to:
    • /ew show incombat enable
    • /ew show outofcombat disable
    • /ew show stealthed enable
  • show while stealthonly
    Only shows the energy watch bar while in stealth. This is equivalent to earlier EnergyWatch /ew show stealthonly.
    Equivalent to:
    • /ew show incombat disable
    • /ew show outofcombat disable
    • /ew show stealthed enable
  • sound enabled <true or false / enable or disable>
    Turns playing sounds on or off for each energy gain. Defaults to disabled.
  • sound resource <name>
    Plays the given resource on each energy gain. See http://www.wowwiki.com/API_PlaySound for a list of possible values. Defaults to SPELLBOOKCLOSE. Clears any sound file setting.
  • sound file <name>
    Plays the given file on each each energy gain. Files must be placed in a "Sounds" subdirectory of the addon. Sounds may be whatever is appropriate for PlaySoundFile, currently WAV or MP3 files. If the file is missing or corrupt, nothing *should* happen.

EnergyWatch_v2 to EnergyWatch_v2A option conversions

/ew option (old : new)

  • on  : /ace2 enable EnergyWatch_v2A
  • off  : /ace2 disable EnergyWatch_v2A
  • clear : /ew profile clear
  • lock  : /ew bar lock
  • unlock  : /ew bar unlock
  • invert  : /ew bar invert _ <true or false / on or off>
  • scale _ : /ew bar scale _
  • text _  : /ew bar text _ (same as EnergyWatch_v2)
  • notext : /ew bar text ""
  • show _  : /ew show while _ (same as EnergyWatch_v2)
  • sound _ : /ew sound _ (same as EnergyWatch_v2)

The EnergyWatch_v2A Team

profile avatar
  • 4
    Projects
  • 26.9K
    Downloads

More from _ForgeUser122462View all