Вторые сутки сижу не могу понять в чем дело.
Вот мой header_troops.py
#Troop flags
tf_male = 0
tf_female = 1
tf_undead = 2
tf_elven = 3(добавил)
Вот мой module_game_menus.py
game_menus = [
#This needs to be the first window!!!
(
"start_game_1",menu_text_color(0xFF000000)|mnf_disable_all_keys,
"Welcome, adventurer, to Mount&Blade. Before you can start playing the game you must create a character. To begin, select your character's gender.",
"none",
[],
[
("start_male",[],"Male",
[
(troop_set_type,"trp_player",0),
(assign,"$character_gender",tf_male),
(jump_to_menu,"mnu_start_character_1"),
]
),
("start_elven",[],"Elven",
[
(troop_set_type,"trp_player",0),
(assign,"$character_gender",tf_elven),
(jump_to_menu,"mnu_start_character_1"),
]
),
("start_female",[],"Female",
[
(troop_set_type,"trp_player",1),
(assign,"$character_gender",tf_female),
(jump_to_menu,"mnu_start_character_1")
]
),
("go_back",[],"Go back",
[(change_screen_quit),
Вот мой module_skins.py
(
"elven", 0,
"elven_body", "elven_calf_l", "elvenm_handL",
"elveshead", elven_face_keys,
["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o", "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
[("elvenface",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
], #man_face_textures,
[(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_victory,"snd_man_victory")], #voice sounds
"skel_human", 1.0,
psys_game_blood,psys_game_blood_2,
[[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
[0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
[1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
[0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
[1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
[-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
[0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
[2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
]
),
Что я не сделал? почему башка не появляеться? Может модель голвы надо было импортировать не в .obj? Подскажите мудрые гуру.