Cái đó để viết tiếng việt cho file res
tại mình Việt hóa game và viết plugins bằng mã TCVN(ABC) nên phải dùng font này mới không bị lỗi font. làm như trên thì không cần phải cài đặt font .VnTime cho windows
---------- Post added at 16:02 ---------- Previous post was at 16:01 ----------
Ko đổi cái dòng đó thành tiếng Anh dc hả
Hay tiếng việt ko dấu cũng dc " Zombie sẽ xuat hien sau ... "
người Việt thì phải dùng chữ Việt đúng nghĩa chứ

---------- Post added at 16:07 ---------- Previous post was at 16:02 ----------
tại mình Việt hóa game và viết plugins bằng mã TCVN(ABC) nên phải dùng font này mới không bị lỗi font. làm như trên thì không cần phải cài đặt font .VnTime cho windows
---------- Post added at 16:02 ---------- Previous post was at 16:01 ----------
người Việt thì phải dùng chữ Việt đúng nghĩa chứ
cái này dung font .VnTime là hết lỗi font thôi mà.
thêm vào file TrackerScheme.res và ClientScheme.res dòng sau:
CustomFontFiles
{
"1" "resource/VNTIME.TTF"
"2" "resource/VNTIMEI.TTF"
"3" "resource/VNTIMEB.TTF"
"4" "resource/VNTIMEBI.TTF"
}
sau đó đổi hết font của game thành .VnTime
lưu ý bạn phải thêm các file của font .VnTime (VNTIME.TTF, VNTIMEI.TTF, VNTIMEB.TTF, VNTIMEBI.TTF) vào folder valve/resource
---------- Post added at 16:39 ---------- Previous post was at 16:07 ----------
http://www.mediafire.com/?ozvbomitd3se83d
link file sma ZP đó. thay font thì chỉ cần chỉnh lại 2 file
TrackerScheme.res và
ClientScheme.res thôi. cứ thấy chỗ nào như ở dưới thì thay tên font cũ = font mới của mình
//////////////////////// FONTS /////////////////////////////
//
// describes all the fonts
CustomFontFiles
{
"1" "resource/VNTIME.TTF"
"2" "resource/VNTIMEI.TTF"
"3" "resource/VNTIMEB.TTF"
"4" "resource/VNTIMEBI.TTF"
}
/* cái này tui thêm vào để sử dụng font mà windows không có khi thêm font này thì bạn phải copy font đó vào thư mục
valve/resource
ví dụ ở đây tui dùng font .VnTime thì copy các file cho font .VnTime gồm: .VnTime, .VnTimeBI, .VnTimeI, .VnTimeB .... các file này phải có đủ không nó sẽ báo lỗi ko load được font
*/
Fonts
{
// fonts are used in order that they are listed
// fonts listed later in the order will only be used if they fulfill a range not already filled
// if a font fails to load then the subsequent fonts will replace
"Default"
{
"1"
{
"name" ".VnTime"
"tall" "16"
"weight" "0"
"antialias" "1"
"custom" "1"
}
}
"DefaultUnderline"
{
"1"
{
"name" ".VnTime"
"tall" "16"
"weight" "0"
"underline" "1"
"antialias" "1"
"custom" "1"
}
}
"DefaultSmall"
{
"1"
{
"name" ".VnTime"
"tall" "13"
"weight" "0"
"antialias" "1"
"custom" "1"
}
}
"DefaultVerySmall"
{
"1"
{
"name" ".VnTime"
"tall" "12"
"weight" "0"
"antialias" "1"
"custom" "1"
}
}
"MenuLarge"
{
"1"
{
"name" ".VnTime"
"tall" "20"
"weight" "1000"
"antialias" "1"
"custom" "1"
}
}
"UiHeadline"
{
"1"
{
"name" ".VnTime"
"tall" "16"
"weight" "1000"
"antialias" "1"
"custom" "1"
}
}
// this is the symbol font
"Marlett"
{
"1"
{
"name" "Marlett"
"tall" "14"
"weight" "0"
"symbol" "1"
}
}
"EngineFont"
{
"1"
{
"name" ".VnTime"
"tall" "12"
"weight" "600"
"yres" "480 599"
"antialias" "1"
"dropshadow" "1"
"custom" "1"
}
"2"
{
"name" ".VnTime"
"tall" "13"
"weight" "600"
"yres" "600 767"
"antialias" "1"
"dropshadow" "1"
"custom" "1"
}
"3"
{
"name" ".VnTime"
"tall" "14"
"weight" "600"
"yres" "768 1023"
"antialias" "1"
"dropshadow" "1"
"custom" "1"
}
"4"
{
"name" ".VnTime"
"tall" "20"
"weight" "600"
"yres" "1024 1199"
"antialias" "1"
"dropshadow" "1"
"custom" "1"
}
"5"
{
"name" ".VnTime"
"tall" "24"
"weight" "600"
"yres" "1200 6000"
"antialias" "1"
"dropshadow" "1"
"custom" "1"
}
}
"CreditsFont"
{
"1"
{
"name" ".VnTime"
"tall" "18"
"weight" "600"
"antialias" "1"
"custom" "1"
}
}
"Legacy_CreditsFont" // Added to accomodate 3rd party server plugins, etc. This version should not scale.
{
"1"
{
"name" ".VnTime"
"tall" "20"
"weight" "700"
"antialias" "1"
"yres" "1 10000"
"custom" "1"
}
}
}
//
gửi cho Ken777 do thư của Ken777 quá số thư lưu trữ cho phép mình ko gửi được