Hi wollte mal ein paar neue Schriften in Msbt einfügen für die progs.
Wollte das dann halt mit der Lua machen anstatt die vorhanden Fonts um zubennen. ALso Lua geöffnet und das so gemacht wie es in dennen ihr anleitung steht (Glaub ich)
Nun hier die Lua vielleicht weis einer was ich falsch gemacht habe, ist das erste mal das ich sowas mit lua versuche
-------------------------------------------------------------------------------
-- Title: Mik's Scrolling Battle Text Fonts
-- Author: Mik
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Private constants.
-------------------------------------------------------------------------------
-- The custom font files to use.
local FONT_FILES = {
-- UniqueFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\font_name.ttf",
-- DifferentFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\different_font_name.ttf",
-- Blade ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Blade2.ttf",
-- Highlander ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Highlander.ttf",}
-------------------------------------------------------------------------------
-- Load.
-------------------------------------------------------------------------------
-- Loop through all of the fonts defined above and register them.
for fontName, fontPath in pairs(FONT_FILES) do
MikSBT.RegisterFont(fontName, fontPath)
end-------------------------------------------------------------------------------
-- Title: Mik's Scrolling Battle Text Fonts
-- Author: Mik
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Private constants.
-------------------------------------------------------------------------------
-- The custom font files to use.
local FONT_FILES = {
-- UniqueFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\font_name.ttf",
-- DifferentFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\different_font_name.ttf",
-- Blade ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Blade2.ttf",
-- Highlander ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Highlander.ttf",}
-------------------------------------------------------------------------------
-- Load.
-------------------------------------------------------------------------------
-- Loop through all of the fonts defined above and register them.
for fontName, fontPath in pairs(FONT_FILES) do
MikSBT.RegisterFont(fontName, fontPath)
end
Wollte das dann halt mit der Lua machen anstatt die vorhanden Fonts um zubennen. ALso Lua geöffnet und das so gemacht wie es in dennen ihr anleitung steht (Glaub ich)
Nun hier die Lua vielleicht weis einer was ich falsch gemacht habe, ist das erste mal das ich sowas mit lua versuche
-------------------------------------------------------------------------------
-- Title: Mik's Scrolling Battle Text Fonts
-- Author: Mik
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Private constants.
-------------------------------------------------------------------------------
-- The custom font files to use.
local FONT_FILES = {
-- UniqueFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\font_name.ttf",
-- DifferentFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\different_font_name.ttf",
-- Blade ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Blade2.ttf",
-- Highlander ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Highlander.ttf",}
-------------------------------------------------------------------------------
-- Load.
-------------------------------------------------------------------------------
-- Loop through all of the fonts defined above and register them.
for fontName, fontPath in pairs(FONT_FILES) do
MikSBT.RegisterFont(fontName, fontPath)
end-------------------------------------------------------------------------------
-- Title: Mik's Scrolling Battle Text Fonts
-- Author: Mik
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Private constants.
-------------------------------------------------------------------------------
-- The custom font files to use.
local FONT_FILES = {
-- UniqueFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\font_name.ttf",
-- DifferentFontName = "Interface\\Addons\\MikScrollingBattleText\\Fonts\\different_font_name.ttf",
-- Blade ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Blade2.ttf",
-- Highlander ="Interface\\Addons\\MikScrollingBattleText\\Fonts\\Schriften\\Highlander.ttf",}
-------------------------------------------------------------------------------
-- Load.
-------------------------------------------------------------------------------
-- Loop through all of the fonts defined above and register them.
for fontName, fontPath in pairs(FONT_FILES) do
MikSBT.RegisterFont(fontName, fontPath)
end