游戏达人
  
- 贡献度
- 80
- 金元
- 19062
- 积分
- 2236
- 精华
- 1
- 注册时间
- 2010-11-27
|
loliy01 发表于 2013-12-28 12:23 
易宁,我想制作人物mod,图片ps没什么问题,其实也已经ps好了,就是文本不知道从何入手,你能教教我吗? ...
游戏的文本非常杂乱,分散在许多文件中,比如人物对话文件,在游戏目录\data\scripts\所有以speech_开头的文件,例如speech_wilson.lua就是威尔逊的对话,speech_wendy.lua就是温蒂的对话,你要想让人物说不一样的对白,就要创建这样的文件,并修改整个文件内容。然后在游戏目录\data\scripts\strings.lua文件中的下列内容里引用:
STRINGS.CHARACTERS =
{
GENERIC = require "speech_wilson",
WAXWELL = require "speech_maxwell",
WOLFGANG = require "speech_wolfgang",
WX78 = require "speech_wx78",
WILLOW = require "speech_willow",
WENDY = require "speech_wendy",
WOODIE = require "speech_woodie",
WICKERBOTTOM = require "speech_wickerbottom",
}
如果你的经验不是很足够、也没有大量时间的话,建议还是不要动文本部分比较好
|
|