rFrameRotater

  • rFrameRotater addon
  • Version: 003
  • Category: Graphic
  • Size: 102KB
  • Score: 3/5
  • Download:
  • Author: zork
  • Update: 2009-10-25 11:26:00
  • Localized:
  • Vote: -3 +1 +3

Intro
This mod lets you set up textures that can be rotated.
You can set up a infinite number of textures and anchor them to frames of your liking. Everything can be set in the Lua and only in the Lua config.

LUA-Config
Code:
  -----------------------  -- CONFIG AREA START --  -----------------------  frames_to_rotate = {    [1] = {       texture = "ring", --texturename under media folder      width = 190,       height = 190,      scale = 0.82,      anchorframe = Minimap,      framelevel = "3", --defines the framelevel to overlay or underlay other stuff      color_red = 0/255,      color_green = 0/255,      color_blue = 0/255,      alpha = 0.4,      duration = 60, --how long should the rotation need to finish 360°      direction = 1, --0 = counter-clockwise, 1 = clockwise      blendmode = "BLEND", --ADD or BLEND      setpoint = "CENTER",      setpointx = 0,      setpointy = 0,    },        [2] = {       texture = "zahnrad", --texturename under media folder      width = 215,       height = 215,      scale = 0.82,      anchorframe = Minimap,      framelevel = "0",      color_red = 48/255,      color_green = 44/255,      color_blue = 35/255,      alpha = 1,      duration = 60, --how long should the rotation need to finish 360°      direction = 1, --0 = counter-clockwise, 1 = clockwise      blendmode = "BLEND", --ADD or BLEND      setpoint = "CENTER",      setpointx = 0,      setpointy = 0,    },        [3] = {       texture = "zahnrad", --texturename under media folder      width = 300,       height = 300,      scale = 0.82,      anchorframe = UIParent,      framelevel = "0",      color_red = 255/255,      color_green = 0/255,      color_blue = 0/255,      alpha = 1,      duration = 60, --how long should the rotation need to finish 360°      direction = 1, --0 = counter-clockwise, 1 = clockwise      blendmode = "BLEND", --ADD or BLEND      setpoint = "CENTER",      setpointx = 0,      setpointy = 0,    },  }
SVN
Link: http://code.google.com/p/rothui/sour.../rFrameRotater

Image 1 Of rFrameRotater

Image 2 Of rFrameRotater

Image 3 Of rFrameRotater



Change Log:

003
- complete rewrite now using the animationgroup system, thus nearly zero cpu usage, no onUpdate func needed anymore

002
- added setpoints and posx, posy to the table
- change event to player_login

001
- initial release

Download rFrameRotater From WowInterface