Thread Tools Display Modes
05-29-10, 05:51 PM   #1
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
BasicChatMod Help

Can anyone help me get an outline on my chat font? I'm using BasicChatMod, I love it, just needed a way to outline the text. ANy help is appreciated, my thanks in advance, for any/all help~
  Reply With Quote
05-29-10, 07:01 PM   #2
Dainton
A Flamescale Wyrmkin
 
Dainton's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 115
Make a new .lua file (shadow.lua perhaps?) in the directory and put this in and then add the file name to the .toc of BasicChatMods. Play with the mode and offset if you're not happy, but that should put an outline with a 0 pixel offset on your chat. If you're using a pixel font then set the mode to 4.

Code:
local modes = {
	nil, -- 1
	"OUTLINE", -- 2
	"THICKOUTLINE", -- 3
	"OUTLINE, MONOCHROME", -- 4
	"THICKOUTLINE, MONOCHROME", -- 5
}
local mode = 2
local offset = 0

local orig = {}

for i = 1, NUM_CHAT_WINDOWS do
	local c = _G["ChatFrame"..i]
	local font, size, flags = c:GetFont()
	if not orig[c] then orig[c] = flags end
	c:SetFont(font, size, modes[mode])
	c:SetShadowColor(0, 0, 0, 1)
	c:SetShadowOffset(offset, -offset)
end
  Reply With Quote
05-29-10, 08:10 PM   #3
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
Exactly

Dainton, that worked PERFECTLY. Thanks much~
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » BasicChatMod Help


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