Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. I don't like any of the fonts supplied with MSBT. How do I use my own fonts?
  2.  
  3. WARNING: FONT FILES MUST EXIST IN THE TARGET LOCATION BEFORE WORLD OF WARCRAFT IS STARTED.
  4. IT IS HIGHLY RECOMMENDED THAT YOU PLACE YOUR CUSTOM FONT FILES IN THE MikScrollingBattleText\Fonts DIRECTORY TO AVOID ISSUES.
  5.  
  6.  
  7. NOTE: Keep in mind that if you use your own font files that you need to make sure the font supports the characters that will be displayed. For example the typical way to display buff gains is [BuffName]. If the font you use does not have a character glyph for the [ or ] characters you will not be able to see the unsupported characters. This is especially important with non-English clients since a lot of characters aren't supported by English fonts.
  8.  
  9. There are a couple of ways to use custom fonts:
  10.  
  11. The first, and preferred method, is to use MSBT's new in-game media editor available under the custom media tab. If you follow the recommended guideline of placing your custom font files in the MikScrollingBattleText\Fonts directory, all you need to enter for the font path in the in-game media editor is the name of the font file.
  12.  
  13. For example, assume you have a truetype font file "MyUberFont.ttf" you want to use.
  14.  
  15. Copy the "MyUberFont.ttf" font file into the MikScrollingBattleText\Fonts directory before you start the game.
  16. Load the game and access MSBT's custom media tab.
  17. Click the Add Font button.
  18. Enter the name you want the font to be called in game such as "My Custom Font" without the quotes.
  19. Enter "MyUberFont.ttf" without the quotes for the font path.
  20. Click the Okay button and the new font will be available.
  21.  
  22.  
  23. The second method is aimed more at mod developers that want to display information using MSBT. You can call the MikSBT.RegisterFont function to register a custom font that you may then specify in your call to MikSBT.DisplayMessage. See the included API.html file for reference information.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement