Thread Tools Display Modes
03-25-09, 06:05 PM   #1
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jan 2009
Posts: 93
Hmm... I would like to be able to do this in-game so WTF is gotta be out of the question...HMm could I make an addon (probably Couldn't myself but an idea) THat I could have three different sets of saved variables in, then in game I could Have a texxture I could click on to switch the saved variables...Not sure if this could work by the last post but Spitballing Ideas again, I would like to Make this work X(
 
03-25-09, 06:11 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by kilth2 View Post
Hmm... I would like to be able to do this in-game so WTF is gotta be out of the question...HMm could I make an addon (probably Couldn't myself but an idea) THat I could have three different sets of saved variables in, then in game I could Have a texxture I could click on to switch the saved variables...Not sure if this could work by the last post but Spitballing Ideas again, I would like to Make this work X(
Yes... you could make that work, and with relative ease if you can program.

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.

PS: I'm heading to bed early tonight... if you post back, I'm ignoring you, I'm just making up for nearly a week of debating the fools in the WoW UI forum over the new Bliz mod rules.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-25-09, 06:17 PM   #3
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jan 2009
Posts: 93
Originally Posted by spiel2001 View Post
Yes... you could make that work, and with relative ease if you can program.

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.

PS: I'm heading to bed early tonight... if you post back, I'm ignoring you, I'm just making up for nearly a week of debating the fools in the WoW UI forum over the new Bliz mod rules.
ALright Tyvm for your help, I will go elsewhere now that I have a good base to stand upon..
I understand you ahve had a hard week after the new policy changes, GOod Luck and MAy you live long and prosper
 
03-25-09, 06:20 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Ouch -- I just re-read my post... I'm *SO* sorry... I'm so tired I didn't even see the type... It was supposed to read "I am *NOT* ignoring you"

/sigh

sorry.

I'm gone to bed... feel free to keep posting and asking questions... I'm more than happy to help. I just need to get some sleep is all.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-25-09, 06:24 PM   #5
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jan 2009
Posts: 93
Originally Posted by spiel2001 View Post
Ouch -- I just re-read my post... I'm *SO* sorry... I'm so tired I didn't even see the type... It was supposed to read "I am *NOT* ignoring you"

/sigh

sorry.

I'm gone to bed... feel free to keep posting and asking questions... I'm more than happy to help. I just need to get some sleep is all.
Lol no problem figured that was what you meant after reading a few of your different Posts before, RIght now I am just looking up on creating an addon (did the tutorials befor ebut found them slightly confusing..Lol) I am figuring it will take a lil while but I think i can mush my wa through this.
 
03-25-09, 08:33 PM   #6
kilth2
A Warpwood Thunder Caller
 
kilth2's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jan 2009
Posts: 93
ok, i am working on it and i think i have a useable .toc file (lmao, of course) and for what I am thinking I will need an XML file or no? Because if i do then i have this pretty much made up (it was used as an example on some website again i know ima n00b)

Code:
<Ui 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="StudUIPanel"/>
		</Layer>
	</Layers>


	</Button>
</Ui>

Last edited by kilth2 : 03-25-09 at 08:39 PM.
 
03-26-09, 06:27 AM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'm at work now, so I really can't look at this right now, but I will either during lunch or when I get home this evening.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » Help with How to MAke an Infopanel


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