New to making mods menu

User Tag List

Results 1 to 7 of 7
  1. #1
    ferocity's Avatar Member
    Reputation
    13
    Join Date
    Sep 2008
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    New to making mods

    I'm currently interested in making mods, I'm somewhat experienced in general scripting, and was wondering if anyone could help me start up, seeing as how confusing XML is, and the weird syntax of both XML and LUA files.

    Will appreciate any help. 6):

    Don't forget to rep if someone helps you!

    New to making mods
  2. #2
    Stew's Avatar Member
    Reputation
    59
    Join Date
    Sep 2007
    Posts
    239
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah getting started with WoWUI can be tricky, so here's a little bit of advice and some links that hopefully you'll find useful.

    General Rule: XML defines GUI Components, lua does everything else.

    Your best friends:
    Lua 5.1 Reference Manual - contents - no matter how well you think you know lua you'll always need to go back to the manual occasionally.
    World of Warcraft API - WoWWiki - Your guide to the World of Warcraft - a list of (most of) the functions that WoW provides to your UI
    XML basics - WoWWiki - Your guide to the World of Warcraft and XML user interface - WoWWiki - Your guide to the World of Warcraft most of what you need to know for building GUIs with XML
    Events (API - WoWWiki - Your guide to the World of Warcraft) All you need to know about event-driven programming
    Main Page - WowAce Wiki Ace is a development framework, which can make developing addons much easier. Since they moved to their new site all the old documentation is filed here.

  3. #3
    Darkleth's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The tutorial I learned XML Frames with:
    http://fara.webeddie.com/frames/

  4. #4
    ferocity's Avatar Member
    Reputation
    13
    Join Date
    Sep 2008
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the links guys, read up on em, still kind of confused on the XML, any other tutorials on that?

    I specifically want a tutorial on how to create a minimap circle button, how to attach it to minimap, and how to make it movable, but still stay stuck on the minimap.

    Also, could anyone tell me how to add the options to interface addon options?


    Edit: Figured out how to make a minimap circle, and how make it stay on minimap (it's literally on it >.<), but I have no clue what to do to make it able to be dragged around.
    Last edited by ferocity; 10-27-2008 at 06:04 AM.

    Don't forget to rep if someone helps you!

  5. #5
    ferocity's Avatar Member
    Reputation
    13
    Join Date
    Sep 2008
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So does anyone actually make addons here?

    Don't forget to rep if someone helps you!

  6. #6
    Saiket's Avatar Contributor
    Reputation
    146
    Join Date
    Jul 2007
    Posts
    176
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well without using a library to make the button for you, you could make your minimap icon a button instead of a normal frame. Then, you could set the OnMouseDown script to start dragging the frame with self:StartMoving(), and set the OnMouseUp script to end dragging with self:StopMovingOrSizing().

    This would let you drag the button anywhere on the screen though; that is, it wouldn't be constrained to the minimap's border. Check out an add-on like ItemRack that has it's own minimap button to see how that's coded.
    AddOn developer and long time explorer.

  7. #7
    Stew's Avatar Member
    Reputation
    59
    Join Date
    Sep 2007
    Posts
    239
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    essentially if you want it to stay on the minimap border you need to use some minor trigonometric formulae to figure out the shape of the circle, if i remember rightly i figured out how to use it by looking at atlas' minimap code, it was pretty simple and straightforward to understand, (or at least it was at the time, i don't know if its been rewritten)

    A popular alternative to allowing the button to be dragged around freely is just to put a slider in the addon's options panel, allowing the user to chose its position by moving that, but its really just personal choice

Similar Threads

  1. New to WOW modding
    By lich4ever in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-07-2012, 12:01 PM
  2. [Gold] great new gold making way
    By slik2000 in forum World of Warcraft Guides
    Replies: 9
    Last Post: 07-19-2010, 12:08 PM
  3. NEW WoW Gold Guide!!! New Release!!! Make loads of gold
    By tonytehtiger in forum World of Warcraft Guides
    Replies: 11
    Last Post: 10-20-2009, 09:52 AM
  4. [New Method!] Making EASY and FAST gold!
    By Illidan_000 in forum World of Warcraft Guides
    Replies: 24
    Last Post: 09-08-2009, 08:27 AM
  5. My new pokemon rom mod
    By Dimmy353 in forum Gaming Chat
    Replies: 11
    Last Post: 06-01-2007, 03:47 PM
All times are GMT -5. The time now is 01:33 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search