Help with How to MAke an Infopanel
Alright I know this should be nUI but you are the only person who knows coding enough to help ~lol~ Ok I am working on my UI and I want it to be useful, I was wondering if you knew anything to help make inforpanels? I am trying to figure out a way to use reflux to create mini profiles for UF and such but righ tnow I am not sur eif it supports this. If oyu have any ideas I would be Happy to hear. Thank YOu
~Kilth~ |
Are you talking about info panels like the ones that are included in nUI, or something else? If you mean the nUI info panels, that's actually a feature of nUI that I don't believe is currently available in any other mod.
The primary code for info panels as a feature is located in [ Interface > AddOns > nUI > Integration > nUI_InfoPanel.lua ] -- the code for implementing a single info panel against that feature engine is located in [ Interface > AddOns > nUI > Layouts > Default > InfoPanels ] |
THis would be for a seperate UI from nUI, and you i figured if I couldn't figure out something I should as the only person who actually uses it, However Have you ever used the addon Reflux? Probably not but I am trying to figure a way to make it where when I click on a texture (using KgPanels) It will switch the saved variables, essentially changing how it looks, If you know anything about how to do this I was wondering if you could share with me, Thank You,
Kilth |
Yeah... you're getting pretty deep into things there.
The easy way to do that would be to have your mod have its own shared variables sets that mirror the KgPanels sets and a button with an "OnClick" method that copies the set you want to use over the KgPanels set that's in memory and then does a console reload. If you want to do it without doing a reload, that's another problem and would require reverse engineering KgPanels -- not something I could help you with there. |
Hmmm, Well im kinda like LOLFAIL at coding, hoever I was wondering....I could create a folder to put in the addons folder with say three sets of Saved Variables, then it would be a matter of telling kgpanels where the files are and to access them...Just spitballing ideas atm, What do you think?
Edit: going to go read up on wowwiki about saved variables, hopefully this could be a good idea. |
Unfortunately, you can't tell kgPanels where to go get the file... Bliz is in control of that. You could, however, have three different files and copy them into the WTF as needed.
|
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(
|
Quote:
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. |
Quote:
I understand you ahve had a hard week after the new policy changes, GOod Luck and MAy you live long and prosper |
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. |
Quote:
|
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/ |
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.
|
ok th in advance
|
I"m sorry I didn't get to your code last night... I collapsed after I got home and didn't wake up until 5:30 this morning. I'll take a look at it tonight.
Sorry. |
np, i was to excited to get on forums, I got a SkullFlame shield for 50g when it normally goes for 500g for an alt so i was happy and content ~lol~
|
All times are GMT -6. The time now is 12:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI