View Full Version : HowTo: Update old layouts for 2.0.1 patch
N00bZXI
12-06-2006, 08:30 PM
Search for the following:
Nurfed_Unit_mini
Nurfed_Party
player = {
target = {
pet = {
and right under ' type = "Button" ' add the following line:
uitemp = "SecureUnitButtonTemplate",
Right below that, add one of the following based on what unitframe you are editing:
vars = { unit = "unit" }, -- make sure to replace unit with the actual unit! Units are 'pet', 'target', 'player', 'focus'. Do not do this for Nurfed_Unit_mini!
and finally, replace your party code with the following:
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
edit: Thanks for the sticky, Tiv!
http://ctscreens.net/2497
Shield
12-06-2006, 08:39 PM
Thanks! Worked for me, though some varibles don't seem to work (mainly $drealm). But that's fine with me.
fridgid
12-06-2006, 08:42 PM
Thanks! Worked for me, though some varibles don't seem to work (mainly $drealm). But that's fine with me.
As far as I know, $drealm is only present in my frames, and I added it out of need. You probably don't have the variable in your Nurfed_Units.lua file.
Shield
12-06-2006, 08:51 PM
Yea, I was using your layout (love it). But changed some textures and colors, and some little things to suit my style.
Tivoli
12-06-2006, 09:26 PM
Thanks for posting ^^.
Nayon
12-06-2006, 10:15 PM
Search for ' vars = { '
and add the following within the table based on what frame:
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
edit: Thanks for the sticky, Tiv!
Before changes
vars = { aurawidth = 176, aurasize = 16 },
In you're code it will look like this after a change
vars = { unit = "target" },
N00bZXI
12-06-2006, 10:22 PM
Before changes
vars = { aurawidth = 176, aurasize = 16 },
In you're code it will look like this after a change
vars = { unit = "target" },
My layout still uses aurawidth and aurasize. So I just add unit = "target", at the beginning.
Mazzrim
12-06-2006, 10:30 PM
When you say, "replace your party code with the following:", what is supposed to be replaced?
I'm using a layout I threw together from nurfed alpha sometime around 1.10. Here's what I got from trying to follow the directions, any help appreciated.
screenshot: http://i15.photobucket.com/albums/a376/RieAnShadar/old.jpg
N00bZXI
12-06-2006, 10:51 PM
When you say, "replace your party code with the following:", what is supposed to be replaced?
I'm using a layout I threw together from nurfed alpha sometime around 1.10. Here's what I got from trying to follow the directions, any help appreciated.
screenshot: http://i15.photobucket.com/albums/a376/RieAnShadar/old.jpg
Hmm, I have no idea why that is happening. None of my changes have anything to do placement.
As for the party, I assume you have something like the following to create your party from. If you don't, then I don't know what to change.
party1 = "Nurfed_Party",
party2 = "Nurfed_Party",
party3 = "Nurfed_Party",
party4 = "Nurfed_Party",
mooja
12-06-2006, 11:55 PM
so i only change the aura stuff to the unit = "target" or do i change EVERY instance of vars = { to that?
qwikk
12-07-2006, 12:19 AM
works for me, except for the player frame. most of it is just white, and not clickable. as far as I know I followed the instructions.
mooja
12-07-2006, 12:20 AM
i only got my target frame to work :P
fwhoop
12-07-2006, 01:12 AM
Trying to edit the tknp layout from this forum.
I got stuck 1/2 way I couldnt find a place to put:
unit = "focus",
unit = "player",
I'm probably doing it totally wrong..
also I have no idea what you mean when you say:
and finally, replace your party code with the following:
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
Thanks
See attachment:
Heaton
12-07-2006, 01:39 AM
PLEASE!!! can somebody update this for me I have no clue what the hell im doing
Paddi
12-07-2006, 01:44 AM
Search for the following:
Nurfed_Unit_mini
Nurfed_Party
player = {
target = {
pet = {
and right under ' type = "Button" ' add the following line:
uitemp = "SecureUnitButtonTemplate",
After this, there is two things left to do:
Search for ' vars = { '
and add the following within the table based on what frame:
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
and finally, replace your party code with the following:
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
edit: Thanks for the sticky, Tiv!
http://img139.imageshack.us/img139/8886/bcuigt9.th.jpg (http://img139.imageshack.us/my.php?image=bcuigt9.jpg)
i dont understand this can anybody give me a example ?
Benumbed
12-07-2006, 01:47 AM
Trying to edit the tknp layout from this forum.
I got stuck 1/2 way I couldnt find a place to put:
I'm probably doing it totally wrong..
also I have no idea what you mean when you say:
Thanks
See attachment:
Replace (at very bottom of code)
party1 = "Nurfed_Party",
party2 = "Nurfed_Party",
party3 = "Nurfed_Party",
party4 = "Nurfed_Party",
with
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
Jessria
12-07-2006, 02:42 AM
So, I did all that, and everything works but my player frame...
Which of the unit = "xxxx", should be placed early in the layout file, for the general layout of things like HP / MP (if any)?
And perhaps its just the one I'm looking at, but I see nowhere to use unit = "focus,
=P
Jaded
12-07-2006, 02:46 AM
Got the Frames kind of working.....everything is fine, apart from the Health Bar is now black....Any Suggestions?
why did you make it so difficult :(
in an older version there was a good option menu :( why is it gone ???
is nurfed only for cracks :( i've no idea from this thinks but i like to use it :eek:
partoN
12-07-2006, 03:58 AM
I don't understand how to do it, I'd kiss someone's feet if they could do it for me.
Also, how do I load the layout once it's done?
Narezair
12-07-2006, 05:01 AM
Same here, can't get it to work, loved my old one. :')
If anyone has some time, i would be very happy for an up-to-date layout. thx in advance!
Nayon
12-07-2006, 05:19 AM
i dont understand this can anybody give me a example ?
In each Frame setup you need to modify and add one line to allow them to continue working.
Search for each of these values seperatly. They should start a large section of code that has plenty of indents :P
Nurfed_Unit_mini
Nurfed_Party
player = {
target = {
pet = {
and right under ' type = "Button" ' add the following line:
uitemp = "SecureUnitButtonTemplate",
Nurfed_Party = {
type = "Button",
uitemp = "SecureUnitButtonTemplate",
size = { 180, 41 },
FrameStrata = "LOW",
ClampedToScreen = true,
Backdrop = "Nurfed_Unit_backdrop",
BackdropColor = { 0, 0, 0, 0.75 },
Movable = true,
Mouse = true,
After this, there is two things left to do:
This is located at the end of the sections of code in wich you just changed nearer to the top
It will come after all the smaller sections have been defined.
In my code it shows up after Feedback dmg
-- feedbackdamage = {
-- type = "MessageFrame",
-- layer = "OVERLAY",
-- size = { 110, 11 },
-- FontObject = "Nurfed_UnitFontOutline",
-- JustifyH = "LEFT",
-- InsertMode = "TOP",
-- Anchor = { "TOPLEFT", "$parent", "TOPLEFT", 5, -5 },
-- FadeDuration = 0.5,
-- TimeVisible = 1,
-- vars = { damage = true },
-- },
},
vars = { unit = "player" },
Search for ' vars = { '
and add the following within the table based on what frame:
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
For each of the unit = "X" things above you need to find the "vars = {" string
they should look similar to
vars = { aurawidth = 176, aurasize = 16 },
and finally, replace your party code with the following:
At the Very bottom of the code you come accros a definition for each party. Very Very Bottom. Just replace those few lines with these and presto.
Before
},
party1 = "Nurfed_Party",
party2 = "Nurfed_Party",
party3 = "Nurfed_Party",
party4 = "Nurfed_Party",
};
end
After
},
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
};
end
Jessria
12-07-2006, 06:10 AM
Ah, the player one had to go outside the nested logic junk!
Thanks, worked perfectly!
redworm
12-07-2006, 07:24 AM
wich .lua to edit ?
Mekarius
12-07-2006, 07:50 AM
Can anybody tell me, what i did wrong?
I followed the explanation as good as i could but it isn't working at all.
I added my layout.lau, so if anybody could help me, it would be very kind.
It shoud look like this, when it works correctly:
http://www.drachling.de/avatare/char_bar.JPG
Amofos
12-07-2006, 08:53 AM
Search for ' vars = { '
and add the following within the table based on what frame:
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
For each of the unit = "X" things above you need to find the "vars = {" string
they should look similar to
vars = { aurawidth = 176, aurasize = 16 },
I was able to get up to this part. I am currently trying to update tknp's skinny layout. I have found the target and pet entries that needed to be modified, but I have not found the player or focus areas. In this layout the aurawidth and aurasize follow the buff/debuff section. I did find a aurawidth/size area under the Nurfed_Party section (would that be the "focus" area)? Any help would be much appreciated.
Galeanas
12-07-2006, 09:28 AM
similar situation to a previous post, I've made all the changes listed (can't test ATM Im at work), however my old layout.lua has no "focus" definitions. Is this going to be a problem? Do I need to add this in myself? Or will simply leaving it out result in no "focus" frame on my UI.
Nayon
12-07-2006, 09:42 AM
I was able to get up to this part. I am currently trying to update tknp's skinny layout. I have found the target and pet entries that needed to be modified, but I have not found the player or focus areas. In this layout the aurawidth and aurasize follow the buff/debuff section. I did find a aurawidth/size area under the Nurfed_Party section (would that be the "focus" area)? Any help would be much appreciated.
If you opened the file in notepad hit Ctrl + F and copy and paste in the
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
Each of those will be highligted in turn if used in the first place.
I.E. My code uses no focus stuff so I didn't need to modify that.
Amofos
12-07-2006, 10:25 AM
If you opened the file in notepad hit Ctrl + F and copy and paste in the
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
Each of those will be highligted in turn if used in the first place.
I.E. My code uses no focus stuff so I didn't need to modify that.
I found the player section already but it doesn't have any aurawidth/size varibles in it. So I'm guessing I shouldn't worry about it then.
Antraxx
12-07-2006, 10:35 AM
Ok so im trying to update hewk's layout
here is where i get stuck =]
,
vars = { aurawidth = 160, aurasize = 16 },
},
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
};
end
i have no idea what to write/put on VARS
im kind of a big nub, can anyone help me please?
Antraxx
12-07-2006, 10:40 AM
Ok so im trying to update hewk's layout
here is where i get stuck =]
,
vars = { aurawidth = 160, aurasize = 16 },
},
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
};
end
i have no idea what to write/put on VARS
im kind of a big nub, can anyone help me please?
Genetic
12-07-2006, 11:07 AM
Ok so im trying to update hewk's layout
here is where i get stuck =]
,
vars = { aurawidth = 160, aurasize = 16 },
},
Nurfed_party1 = { template = "Nurfed_Party", vars = { unit = "party1" } },
Nurfed_party2 = { template = "Nurfed_Party", vars = { unit = "party2" } },
Nurfed_party3 = { template = "Nurfed_Party", vars = { unit = "party3" } },
Nurfed_party4 = { template = "Nurfed_Party", vars = { unit = "party4" } },
};
end
i have no idea what to write/put on VARS
im kind of a big nub, can anyone help me please?
this is where i got stuck as well, help!
mooja
12-07-2006, 11:48 AM
my only problem is that i cant get the colors for my bars to stay...even if i click save frame it goes away once i unselect my target
Heaton
12-07-2006, 02:13 PM
yea once I get to this vars crap I have no clue what im doing i search for vars = { and there is like 300 things of that
so can someone please if they have time update mine for me
mooja
12-07-2006, 02:36 PM
now i have everything working except my party frames....the bars show, but not the names, or the values, or the frame or anything else....
Cirin
12-07-2006, 03:42 PM
Weird, I did everything that was directed and yet it still isn't working correctly. My bars are colored correctly now and there are no errors on login so I'm not sure what is missing that's causing it not to change the unit frames as such. Do you have to somehow enable the layout..?
mooja
12-07-2006, 04:33 PM
yeah in the 12/7 3:17 version it wont let you nab the newest layout.lua to update your changes
Heaton
12-07-2006, 04:36 PM
i don't have a vars = { unit = "unit" },
neocell
12-07-2006, 05:18 PM
hmmm can anyone help? i did everything it told me but the vars part got confusing and everything from my old layout came up except for my player frame. this is what it used to look like http://www.imagedump.com/index.cgi?pick=setandget&tp=476135&poll_id=0&category_id=19&warned=y and now it looks like http://www.imagedump.com/index.cgi?pick=get&tp=476139 can anyone please help me :)!! would really appreciate it
redworm
12-07-2006, 05:24 PM
i don't have a vars = { unit = "unit" },
reading 4tw, u should 'ad' these vars player/pet etc.. at the end
ps: i use johnson layout with this old Units.lua from Utility folder, how to convert this one? any ideas?
neocell
12-07-2006, 05:57 PM
i reread instructions and found out what to do about the vars , thanks a lot , enjoying my layout, thanks :D
Ethel
12-07-2006, 06:52 PM
So I edit this stuff in the Layout. But where do I put it? Just in the Nurfed folder? And how do I enable it? I don't see a "Use Layout" option anywhere.
Leftout
12-07-2006, 07:40 PM
Search for ' vars = { '
and add the following within the table based on what frame:
unit = "target",
unit = "player",
unit = "pet",
unit = "focus",
For each of the unit = "X" things above you need to find the "vars = {" string
they should look similar to
vars = { aurawidth = 176, aurasize = 16 },
Im confused here, can you go 1 step furthur into this part? Besides that, i have completed everything. However im running into a problem:
http://img291.imageshack.us/img291/2816/helpmc4.jpg
The left image shows what i had, the right image is what currently have. My main problem is: No HP/MP Bars. Another problem is that my Target of Target is being displayed ontop, instead of to the right hand side of target like it used to. Any suggestions?
-- A link with the original frames would be nice too (I lost mine >.<) :)
Murdurus
12-07-2006, 11:57 PM
I have the same issue with the vars = { part. I think maybe uploading a layout that have been edited can help clear some things up for us because then we would be able to look through it and see how it's done.
zorlan32
12-08-2006, 06:04 AM
I think the problem is that not all people have the same type of layout. I dont have a foucs in mine at all. It's really confusing.
Matrix110
12-08-2006, 10:09 AM
I have the same issue with the vars = { part. I think maybe uploading a layout that have been edited can help clear some things up for us because then we would be able to look through it and see how it's done.
Just check the updated 2.0 Layouts there are quite some already ;)
fridgid
12-08-2006, 12:38 PM
Honestly, the easiest thing for me to do was to just take my layout, and open it along side the sample_layout.lua. It took me probably 15 minutes tops to convert my old layout to the new format (including keeping a castingbar and adding focus frames.) If you know the slightest thing about code and just compare them side by side its really not a hard thing to do. He included the Sample_Layout.lua for a reason. ;)
Heaton
12-08-2006, 07:17 PM
what folder is this layout supposed to be in...since unitframes is "incompatible"?
Squid_00
12-08-2006, 07:22 PM
it's in the updated nurfed folder, "Sample Layout"... then from there you can compare etc... to your own.
Heaton
12-08-2006, 07:56 PM
so i'm supposed to edit the folder in the unitframes then move it into my nurfed folder or nurfed ui suite thing or something.
stupidfish
12-09-2006, 04:18 AM
i don't get it :( can someone update this one for me please?
http://forums.nurfed.com/showthread.php?t=11537
Flybane
12-09-2006, 10:45 AM
It has to be said this wasnt the clearest explaination.
Thanks for trying to help us though.
I'm a developer myself and I got thougherly confused. I've edited everything I need to 'i think' but im still unsure as to where to put my old/new layout?
do i rename it to nurfed.lua?
edit:
guess not.
Plz change this for me I dont know whats is fail. coz bring up a windows with debuff problem or something else. Plz show and put here the problem or resend de layout fixed.
Squid_00
12-09-2006, 09:56 PM
the sample layout is in the current download of nurfedui... you open that, compare it to your current favorite layout, and add the information there, to your favorite layout; that's it.
Or, if you're like me, compare your old layout to the sample layout to get it to work the way you want ;>
Problem I am having however is I click to show raid frames/classes... and I am in a raid, I see no windows - is Raid Windows not included in the new 2 folder Nurfed?
Besides that the "save frames" etc, works just fine now.
Heaton
12-09-2006, 10:39 PM
yea so I edited my tknp paradigm thing as the post said and now I move it from Nurfed_Unitframes to Nurfed folder and take out the sample?
Babyjenks
12-10-2006, 09:29 AM
I think the problem is that not all people have the same type of layout. I dont have a foucs in mine at all. It's really confusing.
Same, I managed to do it all except focus.. I can't find anywher eto put focus..
Coldfury
12-10-2006, 04:34 PM
After you have made the changes to your layout. Put it in the "Nurfed" folder. And then go in-game options menu, in "Frames" section, and click "Import Layout". Reload UI and your done!
http://img186.imageshack.us/img186/8431/nurfedlayoutusemr5.jpg
Heaton
12-11-2006, 03:33 AM
yea when you reload ui or reopen wow with tknp skinny I get this :
http://i3.photobucket.com/albums/y89/st1fler/nurfederror.jpg
Andeh
12-11-2006, 05:39 PM
I got my layout converted with almost no fuss, and even added a focus frame. But even after reading through the sample layout several times, I can't for the life of me figure out how to add casting bars to the frames. Anyone figure this out yet?
Kinawyn
12-11-2006, 08:53 PM
After you have made the changes to your layout. Put it in the "Nurfed" folder. And then go in-game options menu, in "Frames" section, and click "Import Layout". Reload UI and your done!
http://img186.imageshack.us/img186/8431/nurfedlayoutusemr5.jpg
I don't get that button at all. I have the 12-11 version of Nurfed.
Ralrra
12-12-2006, 03:32 AM
I don't get that button at all. I have the 12-11 version of Nurfed.
If the button doesn't show up you don't have a properly formatted and named "layout.lua" in your nurfed folder.
Amofos
12-12-2006, 06:51 AM
yea when you reload ui or reopen wow with tknp skinny I get this :
http://i3.photobucket.com/albums/y89/st1fler/nurfederror.jpg
I was getting that error when I tried to resize the player frame to under 1.00 since the combo points in the left margin don't scale correctly. I haven't tried yet, but you may be able to scale the combo pts down then resize the player frame.
Can anyone give me a link to the updated version of http://ctscreens.net/2497 (example of the first post in this thread)?
It's the "Tknp / anarchy clone"-Layout. But I'm to stupid to update it myself :(
Can anyone give me a link to the updated version of http://ctscreens.net/2497 (example of the first post in this thread)?
It's the "Tknp / anarchy clone"-Layout. But I'm to stupid to update it myself :(
Really nobody?:(:(
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.