Archive | May 2016

ED3 Log #34 – Freezing Frame:SetPoint()

In order to prevent further automatic positioning, the SetPoint() function for frames can be rendered unusable via

Frame.SetPoint = function() end

Doing so will prevent any script from automatically positioning the frame. However, this may result in any interactivity with the frame being unusable after any additional loading screens (such as when entering an instance, taking a portal, etc). This can be avoided by only running the initial SetPoint when loading the frame on login.

ED3 Log #33 – UIFrameFade

http://wowwiki.wikia.com/wiki/API_UIFrameFadeIn

Dynamically fade a frame’s texture in/out based on time.

  • Need to be careful about having duration be too long. Instant disappear looks odd, but having lingering effects can make UI feel sluggish/unresponsive

ED3 Log #32 – Resource frame notes

Background art is a texture set to the source frame; acts as the overall anchor point

Each point is a separate frame anchored to the source frame. Use UnitPower to discern what should be hidden/displayed.

  • Instantaneous show/hide looks strange. Need a way to fade in/out
  • Need a way to make the bar feel less static; unique animations on resource gain/full fill. Dynamic coloration?

Warlock (Demonology, Destruction) need status bars for their resources. Demo has one large status bar, Destro has 4 smaller status bars that once full act as a point system.

  • Need to discern how to get Destro’s resource as a partial (full points + current fill of next point)
  • Find how to apply a custom status bar texture

 

ED3 Log #31 – GetTalentInfo

http://wowprogramming.com/docs/api/GetTalentInfo

In order to dynamically update certain resource frames, the talents that change them need to be checked, and if true, update the frame.

Classes: Paladin, Warlock, Rogue, Monk (need spell ID for talents)

ED3 Log #30 – Combo Points

Rough draft of combo point frame

  • Combo points generate from (baseline) 1-5. Need to dynamically check if specialized for additional combo points.
  • Outer red frame appears with final combo point, shows emphasis on the now-full resource to prevent potential waste

ED3 Log #28 – Inverted texture

By setting the width of a frame to be negative, the texture itself will invert.

May possibly use to invert the target frame from the original template; will keep critical information towards the center of the screen.

ED3 Log #27 – Unit Frame

Basic unit frame layout

Addendum:

PVP Flag icon to top left of portrait, either Alliance or Horde icon depending on unit faction.

ED3 Log #25 – EnableMouseWheel

http://wowprogramming.com/docs/widgets/Frame/EnableMouseWheel

Enables the use of the mouse wheel on a frame; allows for OnWheelUp/OnWheelDown scripts to be hooked onto a frame.