Thread Tools Display Modes
05-04-11, 04:24 AM   #1
Arodan
A Kobold Labourer
Join Date: Jan 2011
Posts: 1
Question Edit default unit frames

hi,

im looking for the file (probably xml) where i can change the default blizzard unitframes.

especially scale and name font outline.

can anyone tell me where i can edit this?
  Reply With Quote
05-04-11, 06:01 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
You can set this without a file.
Code:
PlayerFrame:SetScale(.5)
This information is not "accessible" to edit directly in a file (I think, not sure if scale can be stored in layout-local.txt).
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
05-04-11, 11:07 AM   #3
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
I think your gonna have to create a addon to do it. There is no single file i have ever seen that will allow you to do this.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
05-04-11, 11:34 AM   #4
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 284
For the name font...

Code:
PlayerFrame.name:SetFont(font, size, flags)
TargetFrame.name:SetFont(font, size, flags)
FocusFrame.name:SetFont(font, size, flags)
Where (font, size, flags) is your own specification like ("Fonts\\ARIALN.ttf", 13, "THINOUTLINE").

As mentioned you'd want to make an AddOn with this code, or pop it into some other AddOn's Lua file.
  Reply With Quote
05-04-11, 12:05 PM   #5
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
There was something I thought of. There is a addon that loads up and allows you to write lua, you can also execute it and save it / mark it for execution at boot time. It keeps them orgnized in "books" I can't for the life of me remember the addon name, but that would work also.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
05-04-11, 12:12 PM   #6
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
@Nobgul: Was it _DevPad ?
  Reply With Quote
05-04-11, 12:30 PM   #7
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
it was hack. But they both do the same thing.


But I guess I am Weird. I have atleast 10 blank lua files that are loaded in a blank addon, If I find something I need to do i just write it reload and use it, If it is something I am going to keep then I put it into one of my addons.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
05-04-11, 01:07 PM   #8
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 284
Originally Posted by Nobgul View Post
it was hack. But they both do the same thing.


But I guess I am Weird. I have atleast 10 blank lua files that are loaded in a blank addon, If I find something I need to do i just write it reload and use it, If it is something I am going to keep then I put it into one of my addons.
I do the same (not 10 tho )
  Reply With Quote
05-04-11, 03:09 PM   #9
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Originally Posted by Aprikot View Post
Originally Posted by Nobgul View Post
it was hack. But they both do the same thing.


But I guess I am Weird. I have atleast 10 blank lua files that are loaded in a blank addon, If I find something I need to do i just write it reload and use it, If it is something I am going to keep then I put it into one of my addons.
I do the same (not 10 tho )
Same here, although I have it as an extra LUA file in my personal development addon.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Edit default unit frames

Thread Tools
Display Modes

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