Thread Tools Display Modes
03-25-09, 06:20 PM   #1
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jan 2009
Posts: 93
Setting Up a Mod..

Not sur eif this is the place to post or not but I am wanting to create my first (hopefully only, using in custom UI BTW) Mod, Here is what I have been getting help on and I would like to use this as the base setup for my mod, I am tring to create an info panel like addon here is my base I am hoping to start upon,

Set up your first layout in kgPanels and exit the game. Copy and save the WTF file. Repeat for the second and third layout.

Now create your own mod that has it's own saved variable of which the three kgPanel sets are three sub-tables and add a button you can click. When you click the button, it copies one of your three sets over kgPanel's current set, then reloads the game. Voila, you're done.
Right now I am just trying to create a addon that will swithc how my UF looks.. (Stuf) So if anyone can help me and tell me where to start looking to create this please Post back
~kilth~ May you live long and prosper!
  Reply With Quote
03-25-09, 08:30 PM   #2
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jan 2009
Posts: 93
Ok so.. right now i am using this for the XML because from what i understand that is the visual what I am using for it is <Ui
Code:
xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Button name="StudUIpanel" parent="UIParent" enableMouse="true" movable="true" frameStrata="LOW">

	<Size x="100" y="40"/>

	<Anchors>
		<Anchor point="CENTER" relativePoint="CENTER" relativeTo="UIParent">
		</Anchor>
	</Anchors>


	<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
		<BackgroundInsets>
			<AbsInset left="11" right="12" top="12" bottom="11"/>
		</BackgroundInsets>

		<TileSize>
			<AbsValue val="32"/>
		</TileSize>
		
		<EdgeSize>
			<AbsValue val="32"/>
		</EdgeSize>
	</Backdrop>

	<Layers>
		<Layer level="OVERLAY">
			<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER" setAllPoints="true" text="TradeAdvertiser"/>
		</Layer>
	</Layers>


	</Button>
</Ui>
OK Now what Would i need to do to make it where the XML is a custom texture (really bad wording) Because I want it to act as a button and be a custom texture I made what do i do? Also if someone could help me get started with the Lua that would be perfectly awesome, I am working on learning but it just confuses me alot.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Setting Up a Mod..


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off