 鲜花( 87)  鸡蛋( 0)
|

楼主 |
发表于 2016-12-22 18:17:26
|
显示全部楼层
本帖最后由 ybsj1314 于 2016-12-22 18:50 编辑
我以原版举例,并且都是在没有使用不死族的情况下。
module_skins.py,在原版woman的这段下面另起一行:
"skel_human", 1.0, psys_game_blood,psys_game_blood_2,
),
- (
- "female_china", 1,
- "woman_body", "woman_calf_l", "f_handL",
- "female_head_china", woman_face_keys,
- ["woman_hair_long_01","woman_hair_long_02","woman_hair_y11","woman_hair_y12",],
- [],
- ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"],
- [],
- [("womanface_young_sg",0xffe3e8ef,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
- ("womanface_b_sg",0xffdfdfdf,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
- ("womanface_a_sg",0xffe8dfe5,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
- ("womanface_brown_sg",0xffaf9f7e,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
- ("womanface_african_sg",0xff808080,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
- ("womanface_saber_sg",0xff808080,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
- ],
- [(voice_die,"snd_woman_die"),(voice_hit,"snd_woman_hit"),(voice_yell,"snd_woman_yell"),(voice_victory,"snd_woman_vectory ")],
- "skel_human", 0.95,
- psys_game_blood,psys_game_blood_2,
- ),
复制代码
|
如果有误的话,你把"female_china", 1,换成"female_china",skf_use_morph_key_10,我忽然发现原版女性这里不是1而是skf_use_morph_key_10
header_troops.py,在tf_female = 1的下面增加:
如果不死族没有使用的时候,它的代码前面会加上#号。就像这样:
#tf_undead = 2
前面的module_skins.py中同理:
## (
## "undead", 0,
## "undead_body", "undead_calf_l", "undead_handL",
## "undead_head", undead_face_keys,
## [],
## [],
## [],
## [],
## [("undeadface_a",0xffffffff,[]),
## ("undeadface_b",0xffcaffc0,[]),
## ], #undead_face_textures
## [], #voice sounds
## "skel_human", 1.0,
## ),
module_game_menus.py
搜索("start_female",[],"Female",然后在
(jump_to_menu, "mnu_start_character_1"),
]
这一段下面添加:
- ("start_female_china",[],"female_china",
- [
- (troop_set_type, "trp_player", 2),
- (assign, "$character_gender", tf_china_woman),
- (jump_to_menu, "mnu_start_character_1"),
- ]
- ),
复制代码
|
最后打开mod目录中game_menus.csv在最底下增加mno_start_female_china|XXX,xxx为翻译。
然后就可以在开始游戏的时候进行选择了。
PS:另外说一句,我基本都是增加在别人的MOD里面玩的,所以我自己没有真正的试过增加在原版的游戏里面玩过。不过应该没错误吧?希望不要被打脸!
|
鲜花鸡蛋hushuailiner2 在2016-12-22 19:50 送朵鲜花 并说:十分感谢,我是一个小MOD的作者,同时也希望得到你的模型发布授权!
|