1. #1

    changing raid warning font/size/position

    hi all
    I have this question that has been bugging me for some time. I'm putting finishing touches on my UI and one of last items on the menu is the frame with raid warnings
    Is there a way to easily customize it? Before we continue disclaimer: no LUA knowledge whatsoever

    not sure if this is all the same frame but I'd like to be able to work on the font of
    - raid warning messages (/rw)
    - DBM raid warnings (last time i checked those weren't editable in mod itself)
    - WoW's own warning system (both in raids and while soloing ie. "battle for undercity is about to start")

    id love to be able to change font type, font size, and if possible be able to move it (would love it to see it in the bottom of the screen)

    is there a way to do it?
    all help much appreciated, thanks

  2. #2
    WARNING: Taken from a player named Troodi at: http://forums.worldofwarcraft.com/th...02350234&sid=1

    A basic outline of how to change the fonts in WoW. Read up on the ClearFont2 links for more details.

    1. Make a folder called Fonts
    2. Put folder in the following directory structure: C:\Program Files\World of Warcraft\Fonts\
    3. Find font(s) you want.
    4. Change font name(s):

    Find four different fonts, or create four copies of the font file of your choice, place them in the above folder, and rename them to the following names:
    ● FRIZQT__.ttf (the main UI font: NPCs names; buffs, etc)
    ● ARIALN.ttf (the normal number font)
    ● skurri.ttf (the 'huge' number font)
    ● MORPHEUS.ttf (Mail, Quest Log font)

    5. Put those renamed fonts in the Fonts folder
    6. Log in. Enjoy.

    EDIT: Myself Im pretty sure u cant change Font Size if u use this way.

    Note: .TTC fonts will not work with WoW. They need to be converted into .TTF fonts for them to be recognized and read by WoW.
    ----

    ClearFont2
    Replacing World of Warcraft fonts with something other. . .
    http://www.clearfont.co.uk/
    http://www.wowinterface.com/download...learFont2.html
    Betas: http://files.wowace.com/
    Last edited by Spoonman; 2010-09-22 at 01:47 PM.

  3. #3
    Deleted
    This replaces ALL occurances of this font.
    Code:
    local font, size, attrib, color = "Fonts\\FRIZQT__.TTF", 26, "OUTLINE", {1,1,1} --{r,g,b}
    RaidWarningFrameSlot1:SetFont(font,size,attrib)
    RaidWarningFrameSlot1:SetTextColor(unpack(color))
    RaidWarningFrameSlot2:SetFont(font,size,attrib)
    RaidWarningFrameSlot2:SetTextColor(unpack(color))
    Untested. Replace values. How to use.

  4. #4
    oh wow this looks like something even I can start working with thanks so much
    this might be a very noobish question but could you point me to some documentation where I can check for instance possible "attrib" values (as I am guessing there is more then outline) or where I can learn that RaidWarningFrameSlot1 and 2 exist (and what is the difference between those)
    just a good starting point will do
    in any case, thanks so much for this

  5. #5
    Deleted
    Check Blizzard's FrameXML.

  6. #6
    riding on the noob train once again:
    I found this line in RaidWarning.xml
    Code:
    <FontString name="RaidWarningFrameSlot1" inherits="GameFontNormalHuge" justifyH="CENTER" hidden="true">
    this is way over my head but is it possible to override the GameFontNormalHuge settings and set something smaller that will work with all raid warning, dbm messages, other "Big" texts?

  7. #7
    Deleted
    It might be possible. I'll have to check.

    EDIT: This indeed works.
    Code:
    local font, size, attrib, color = "Fonts\\FRIZQT__.TTF", 26, "OUTLINE", {1,1,1} --{r,g,b}
    GameFontNormalHuge:SetFont(font,size,attrib)
    GameFontNormalHuge:SetTextColor(unpack(color))
    Last edited by mmocba105e19de; 2010-09-22 at 04:03 PM.

  8. #8
    sweet I think I am almost close to the final thing.
    one more thing: Is it possible or how do you move a raid frame? I was thinking of few options:
    - move it to something fixed like bottom center
    - add a bit of margin: bottom center + 50pixels higher
    - connect it to a different frame. when I was playing with kgPanels I used this script to get frame names. so I was thinking of combining this with for instance connecting it to a unit frame...

    please advise

  9. #9
    Deleted
    Code:
    /run RaidWarningFrame:SetMovable(true) RaidWarningFrame:SetUserPlaced(true) RaidWarningFrame:ClearAllPoints() RaidWarningFrame:SetPoint("BOTTOM", 0, 50)
    Just needs to be run once.
    Code:
    /run RaidWarningFrame:SetMovable(true) RaidWarningFrame:SetUserPlaced(false) ReloadUI()
    Reset back to default.

    Not sure how SetUserPlaced works with anchoring.

  10. #10
    Bumping this for how to resize the raidwarning.

  11. #11
    Pandaren Monk shanthi's Avatar
    10+ Year Old Account
    Join Date
    Oct 2011
    Location
    California
    Posts
    1,775
    Quote Originally Posted by Treeston View Post
    This replaces ALL occurances of this font.
    Code:
    local font, size, attrib, color = "Fonts\\FRIZQT__.TTF", 26, "OUTLINE", {1,1,1} --{r,g,b}
    RaidWarningFrameSlot1:SetFont(font,size,attrib)
    RaidWarningFrameSlot1:SetTextColor(unpack(color))
    RaidWarningFrameSlot2:SetFont(font,size,attrib)
    RaidWarningFrameSlot2:SetTextColor(unpack(color))
    Untested. Replace values. How to use.
    This basically works for me, but I the size aspect doesn't seem to work if I set it low. Rather, it stays about the same size but makes it incredibly blurry...it's a pixel font (PF Tempesta Five) that should look very nice at small size. Does the Raid Warning Frame have a minimum font size or something?
    That is not dead which can eternal lie.
    And with strange aeons even death may die.

  12. #12
    Deleted
    I think I had that issue come up sometime a few months back, yes. I think I fixed it with the following:

    Code:
    RaidWarningFrame.timings.RAID_NOTICE_MIN_HEIGHT = size

  13. #13
    Pandaren Monk shanthi's Avatar
    10+ Year Old Account
    Join Date
    Oct 2011
    Location
    California
    Posts
    1,775
    Quote Originally Posted by Treeston View Post
    I think I had that issue come up sometime a few months back, yes. I think I fixed it with the following:

    Code:
    RaidWarningFrame.timings.RAID_NOTICE_MIN_HEIGHT = size
    Thanks, worked perfectly!
    That is not dead which can eternal lie.
    And with strange aeons even death may die.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •