("skin_0", "Male"),
("skin_1", "Female"),
("skin_2", "Undead"),
try add this string to language file
It keeps saying my warband is in vanilla version in the log.txt file even though im loading it through the wse loader and have used the non steam 1174 exes. my mod has the wse operations in header_operations, what's wrong?It's working now, thank you.
(set_skybox_by_flags, <flags>),
Yes I know, I need this when I start a mission.Not so hard, but these flags are used when starting a mission, not during a mission..
Ok, I can do it on order.Yes I know, I need this when I start a mission.
try Wine
as mentioned in the above link, how can I use it on macOS?
ah... I am already using crossover to run Warband as to play mod normally. On unix systems textures does not go onto things properly because of some naming issues I guess. I'll try it out later!
We followed the guide "How add playable skins to multiplayer" and the skins work very well. But we couldn't figure out the last part. We have added skin<no> strings at strings.py. The game still gives str not found errors.Updated
-More skins support for multiplayer profile. Required network_compatible = 0.
-Limit for multiplayer gold increased to 1000000000. Required network_compatible = 0.
-Added operation multiplayer_cur_profile_get_skin.
WSE v4.5.4 (for Warband 1.170)
Added very useful feature for fantasy multiplayer mods - you are no longer limited only to the male and female skin when choosing a character.
Game supports maximum 16 skins (maybe i break this limitation in future).
add skin
Code:( "undead", 0, "undead_body", "undead_calf_l", "new_undead_handL", "undead_head", undead_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","shortlayer","shoulderhair","shortbob","straightshoulder","courthair","hairmessy","man_hair_cvi"], ["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",], ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], [("undeadface",0xFFFFFFFF,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]), ], [(voice_die, "snd_undead_die"),(voice_hit, "snd_undead_hit"),(voice_grunt, "snd_undead_grunt"),(voice_grunt_long, "snd_undead_grunt"),(voice_victory, "snd_undead_victory")], "skel_human", 1.0, psys_game_blood,psys_game_blood_2, ),
add troop flag
Code:tf_male = 0 tf_female = 1 tf_undead = 2
add multiplayer troop to this skin
Code:["multiplayer_profile_troop_male","multiplayer_profile_troop_male","multiplayer_profile_troop_male", tf_hero|tf_guarantee_all, 0, 0,fac_commoners, [], 0, 0, 0, 0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000], ["multiplayer_profile_troop_female","multiplayer_profile_troop_female","multiplayer_profile_troop_female", tf_hero|tf_female|tf_guarantee_all, 0, 0,fac_commoners, [], 0, 0, 0, 0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000], ["multiplayer_profile_troop_undead","multiplayer_profile_troop_undead","multiplayer_profile_troop_undead", tf_hero|tf_undead|tf_guarantee_all, 0, 0,fac_commoners, [], 0, 0, 0, 0x000000018000000136db6db6db6db6db00000000001db6db0000000000000000],
break network compability, enable skins and set num playable skins
Code:# set to 0 to break network compatibilty and enable advanced WSE features like composite network messages and more skins in multiplayer network_compatible = 0 # set to 1 to enable more skins support for multiplayer profile more_skins_support_for_multiplayer_profile = 1 # set num skins for multiplayer profile (minimum 2) num_skins_for_multiplayer_profile = 3
for prevent player change option num_skins_for_multiplayer_profile to play wrong skins add this trigger
Code:(ti_server_player_joined, 0, 0, [], [ (store_trigger_param_1, ":player_no"), (player_get_gender, ":player_gender", ":player_no"), (try_begin), (ge, ":player_gender", 3), #num playable skins (player_set_skin, ":player_no", tf_male), (try_end), ]),
change game_profile_window for correct show profile character image
Code:("game_profile_window", 0, "tableau_with_transparency", 1024, 1024, 0, 0, 320, 480, [ #(store_script_param, ":profile_no", 1), (multiplayer_cur_profile_get_skin, ":gender"), #(assign, ":gender", ":profile_no"), #(val_mod, ":gender", 2), (try_begin), (eq, ":gender", tf_male), (assign, ":troop_no", "trp_multiplayer_profile_troop_male"), (else_try), (eq, ":gender", tf_undead), (assign, ":troop_no", "trp_multiplayer_profile_troop_undead"), (else_try), (assign, ":troop_no", "trp_multiplayer_profile_troop_female"), (try_end), ................. #other code unchanged
add skins names for profile menu combobox (skin_<no>)
Code:("skin_0", "Male"), ("skin_1", "Female"), ("skin_2", "Undead"),
Oh wow. I wasn't thinking that would work.add this strings to language file