《半神》字体修改---为帮助用Vista和不喜欢雅黑的朋友
本文需要谢谢suwei0206的帖子http://3dmgame.chnren.com/bbs/showtopic-682565.html-----------------------
1 备份dgdata.zip。
2 解压dgdata.zip,把dgdata文件夹内的所有内容复制到bindata文件夹,覆盖之。
3 按照路径找到skins.lua(Demigodbindataluauserskins)
4 用记事本或者其他文本编辑软件打开
5 下文中的中文部分就是字体啦~修改成你喜欢的字体吧
复制以下内容覆盖skins.lua的内容:
-- This file defines skin directories as well as certain skin settings like fonts and colors
-- Each skin is a table entry in the skins table
-- it contains the following fields:
-- default: The skin to look at if we can't find a needed component in the current skin. Note that this cascades,
-- so if the component isn't in the default skin, it will check the defaults default, etc, until there are no more skins to check
-- texturesPath: where the textures (and currently layout files) are found in this skin
-- buttonFont: default font used for button faces
-- bodyFont: font used for all other text
-- fixedFont: font used for fixed width characters
-- fontColor: common font color
-- highlightColor: text highlight color
-- disabledColor: text disabled color
-- panelColor: default color when drawing a panel
skins = {
-- There are currently no additonal skins, so default is the only one
-- Removing this code will make texture loading a bit faster
-- warning, do not change the name of this skin descriptor or things will break!
default = {
-- note, no default value here, so the "default chain" will get broken at this point, and you will get file not found
texturesPath = "/textures/ui/common",
fr,
#butt,
butt,
bodyFont = "方正行楷繁体",
fixedFont = "方正行楷繁体",
#titleFont = "方正行楷繁体",
titleFont = "方正行楷繁体",
#subTitleFont = "方正行楷繁体",
subTitleFont = "方正行楷繁体",
flashFont = "方正行楷繁体",
f,
#fr,
fr,
specialF,
titleF,
f,
f,
butt,
butt,
butt,
buttonF,
bodyColor = "FF6FAFAF",
dialogCapti,
dialogColumnColor = "FF6FAFAF",
dialogButt,
dialogButt,
highlightColor = "FF858585",
disabledColor = "FF8a8a8a",
panelColor = "FF4A5D6B",
transparentPanelColor = "AA4A5D6B",
c,
c,
c,
layouts = {"minimal"},
-- cursor format is: texture name, hotspotx, hotspoty, num frames, fps
cursors = {
DEFAULT = {'/textures/ui/common/game/cursors/blue.dds', 2, 2},
Enemy = {'/textures/ui/common/game/cursors/red-.dds', 2, 2, 20, 20},
Friendly = {'/textures/ui/common/game/cursors/green-.dds', 2, 2, 20, 20},
Ally = {'/textures/ui/common/game/cursors/gold-.dds', 2, 2, 20, 20},
Loot = {'/textures/ui/common/game/cursors/grab.dds', 2, 2},
OpenShop = {'/textures/ui/common/game/cursors/openshop-.dds', 15, 15, 16, 25},
AbilityTarget = {'/textures/ui/common/game/cursors/single_target_ability-.dds', 16, 16, 20, 20},
RULEUCC_Move = {'/textures/ui/common/game/cursors/move-.dds', 15, 15, 12, 12},
RULEUCC_AggressiveMove = {'/textures/ui/common/game/cursors/move-.dds', 15, 15, 12, 12},
RULEUCC_Attack = {'/textures/ui/common/game/cursors/red.dds', 2, 2},
RULEUCC_Invalid = {'/textures/ui/common/game/cursors/blue_invalid.dds', 2, 2},
DRAGCOMMAND = {'/textures/ui/common/game/cursors/waypoint-drag.dds', 7, 7},
NE_SW = {'/textures/ui/common/game/cursors/ne_sw.dds', 15, 15},
NW_SE = {'/textures/ui/common/game/cursors/nw_se.dds', 15, 15},
N_S = {'/textures/ui/common/game/cursors/n_s.dds', 15, 15},
W_E = {'/textures/ui/common/game/cursors/w_e.dds', 15, 15},
Any = {'/textures/ui/common/game/cursors/red.dds', 2, 2},
},
### OLD CURSOR LIST
--[[
cursors = {
RULEUCC_Attack = {'/textures/ui/common/game/cursors/attack-.dds', 2, 2, 9, 25},
RULEUCC_Capture = {'/textures/ui/common/game/cursors/capture-.dds', 15, 15, 11, 18},
RULEUCC_Script = {'/textures/ui/common/game/cursors/selectable.dds', 2, 2},
RULEUCC_Guard = {'/textures/ui/common/game/cursors/guard-.dds', 15, 15, 10, 12},
RULEUCC_Move = {'/textures/ui/common/game/cursors/move-.dds', 15, 15, 12, 12},
RULEUCC_AggressiveMove = {'/textures/ui/common/game/cursors/attack-.dds', 15, 15, 12, 12},
RULEUCC_Patrol = {'/textures/ui/common/game/cursors/patrol-.dds', 15, 15, 5, 12},
RULEUCC_Repair = {'/textures/ui/common/game/cursors/repair-.dds', 15, 15, 7, 12},
RULEUCC_Invalid = {'/textures/ui/common/game/cursors/selectable-invalid.dds', 2, 2},
COORDINATED_ATTACK = {'/textures/ui/common/game/cursors/attack_coordinated.dds', 15, 15},
BUILD = {'/textures/ui/common/game/cursors/selectable-.dds', 2, 2, 7, 12},
HOVERCOMMAND = {'/textures/ui/common/game/cursors/waypoint-hover.dds', 7, 7},
DRAGCOMMAND = {'/textures/ui/common/game/cursors/waypoint-drag.dds', 7, 7},
MOVE2PATROLCOMMAND = {'/textures/ui/common/game/cursors/patrol.dds', 15, 15},
DEFAULT = {'/textures/ui/common/game/cursors/selectable.dds', 2, 2},
NE_SW = {'/textures/ui/common/game/cursors/ne_sw.dds', 15, 15},
NW_SE = {'/textures/ui/common/game/cursors/nw_se.dds', 15, 15},
N_S = {'/textures/ui/common/game/cursors/n_s.dds', 15, 15},
W_E = {'/textures/ui/common/game/cursors/w_e.dds', 15, 15},
MOVE_WINDOW = {'/textures/ui/common/game/cursors/move_window.dds', 15, 15},
Enemy = {'/textures/ui/common/game/cursors/attack-.dds', 2, 2, 10, 25},
Any = {'/textures/ui/common/game/cursors/attack-.dds', 2, 2, 10, 25},
Ground = {'/textures/ui/common/game/cursors/reclaim.dds', 15, 15},
AbilityTarget = {'/textures/ui/common/game/cursors/useability-.dds', 15, 15, 7, 25},
AbilityTargetValid = {'/textures/ui/common/game/cursors/useability-valid-.dds', 2, 2, 7, 18},
AbilityTargetInvalid = {'/textures/ui/common/game/cursors/useability-invalid.dds', 2, 2},
AbilityTargetAlly = {'/textures/ui/common/game/cursors/useability-.dds', 15, 15, 9, 25},
Loot = {'/textures/ui/common/game/cursors/loot-.dds', 15, 15, 11, 18},
OpenShop = {'/textures/ui/common/game/cursors/openshop-.dds', 15, 15, 16, 25},
Foundation = {'/textures/ui/common/game/cursors/foundation-.dds', 2, 2, 14, 12},
Castle = {'/textures/ui/common/game/cursors/castle.dds', 2, 2},
},
]]--
},
} 不错 很有用 收下.谢过.......... 给个效果图吧.............................
页:
[1]