Two Questions: Learning LUA & Custom Animations in game
View Single Post
04-10-13, 03:57 PM
Join Date: Mar 2006
Originally Posted by
... I've tried adjusting it to test one that is on my desktop but all I got was the unloaded blue box.
WoW can't see anything outside of its program directory, and I'm not sure if it can see custom files (eg. not files with the same name/path as files from the MPQs) outside of the Interface\AddOns file.
Try putting your custom model in your addon's folder:
World of Warcraft > Interface > AddOns >
Then reference it in-game using a path relative to the program folder:
Also, most "animated textures" you see in-game are not actually animated like a GIF image file or a movie file. They're just clever use of size, opacity, and rotation transitions to create simple pulsing or shining effects.
Textures that are actually animated (eg. the eye icon on the LFG minimap button while you're queued) are done using sprites -- one image file contains 20 or so "frames" for the animation, laid out in a grid, and a script changes which part of the image is shown on the in-game object several every 1/10th ofa second or so.
Troubleshoot an addon
Turn any code into an addon
More addon resources
Need help with your code?
code! Attach or
Please don’t PM me
about addon bugs or code questions. Post a comment or forum thread instead!
View Public Profile
Send a private message to Phanx
Find More Posts by Phanx