Hello everyone,
I changed bandit parties a bit for my own mod according to this tutorial. In addition to mountain and forest bandits, I assigned faction to other bandit parties (sea raider etc.). I also added 2 new troops to all bandit parties. I manually updated "ID_troop.py" and "ID_faction.py" in accordance with the "module_troop.py" and "module_faction.py" order.
Successfully compiled the module.
The colors of bandit parties and the new troops look the way I want. But all merchants (Merchant of Praven etc.) appearance has changed. (Unintentionally) I started the game with "edit option" enabled and looked at the names and looks of all the troops, and there seems to be no problem except the merchants. Also all of them flaged with "tf_randomize_face" But until now they have always generated with same face code. Please see code and screenshots below.
Where did I messed up?
Kind regards,
I changed bandit parties a bit for my own mod according to this tutorial. In addition to mountain and forest bandits, I assigned faction to other bandit parties (sea raider etc.). I also added 2 new troops to all bandit parties. I manually updated "ID_troop.py" and "ID_faction.py" in accordance with the "module_troop.py" and "module_faction.py" order.
Successfully compiled the module.
The colors of bandit parties and the new troops look the way I want. But all merchants (Merchant of Praven etc.) appearance has changed. (Unintentionally) I started the game with "edit option" enabled and looked at the names and looks of all the troops, and there seems to be no problem except the merchants. Also all of them flaged with "tf_randomize_face" But until now they have always generated with same face code. Please see code and screenshots below.
Code:
.
.
.
["taiga_bandit","Taiga Bandit","Taiga Bandits",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_ranged,0,0,fac_outlaws,
[itm_arrows,itm_sword_khergit_1,itm_winged_mace,itm_spear, itm_light_lance,itm_nomad_bow,itm_nomad_bow,itm_short_bow,itm_jarid,itm_javelin,itm_vaegir_fur_cap,itm_leather_steppe_cap_c,itm_nomad_armor,itm_leather_jerkin,itm_hide_boots,itm_nomad_boots,itm_leather_covered_round_shield,itm_leather_covered_round_shield],
def_attrib|level(15),wp(110),knows_common|knows_power_draw_4|knows_power_throw_3,vaegir_face_young_1, vaegir_face_old_2],
["trained_taiga_bandit","Trained Taiga Bandit","Trained Taiga Bandits",tf_guarantee_ranged|tf_guarantee_all_armors_wo_shield,0,0,fac_outlaws,
[itm_barbed_arrows,itm_arrows,itm_sword_khergit_2,itm_spiked_mace,itm_boar_spear, itm_lance,itm_nomad_bow,itm_long_bow,itm_long_bow,itm_jarid,itm_vaegir_fur_helmet,itm_vaegir_spiked_helmet,itm_tribal_warrior_outfit,itm_studded_leather_coat,itm_leather_boots,itm_nomad_boots,itm_tab_shield_kite_b,itm_tab_shield_round_b],
def_attrib|level(19),wp(143),knows_common|knows_power_strike_2|knows_power_draw_4|knows_power_throw_4,vaegir_face_young_1, vaegir_face_old_2],
["veteran_taiga_bandit","Veteran Taiga Bandit","Veteran Taiga Bandits",tf_guarantee_ranged|tf_guarantee_all_armors_wo_shield,0,0,fac_outlaws,
[itm_barbed_arrows,itm_barbed_arrows,itm_strong_bow,itm_strong_bow,itm_jarid,itm_sword_khergit_3,itm_spiked_mace,itm_long_hafted_knobbed_mace,
itm_vaegir_spiked_helmet,itm_vaegir_spiked_helmet,itm_studded_leather_coat,itm_studded_leather_coat,itm_leather_boots,itm_leather_boots,itm_tab_shield_kite_b,itm_tab_shield_round_b],
def_attrib|level(23),wp(175),knows_common|knows_power_strike_3|knows_power_draw_5|knows_power_throw_5,vaegir_face_young_1, vaegir_face_old_2],
["desert_bandit","Desert Bandit","Desert Bandits",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_horse|tf_mounted,0,0,fac_outlaws,
.
.
.
Code:
trp_player = 0
trp_multiplayer_profile_troop_male = 1
trp_multiplayer_profile_troop_female = 2
trp_temp_troop = 3
.
.
.
trp_mountain_bandit = 116
trp_trained_mountain_bandit = 117
trp_veteran_mountain_bandit = 118
trp_forest_bandit = 119
trp_trained_forest_bandit = 120
trp_veteran_forest_bandit = 121
trp_sea_raider = 122
trp_trained_sea_raider = 123
trp_veteran_sea_raider = 124
trp_steppe_bandit = 125
trp_trained_steppe_bandit = 126
trp_veteran_steppe_bandit = 127
trp_taiga_bandit = 128
trp_trained_taiga_bandit = 129
trp_veteran_taiga_bandit = 130
trp_desert_bandit = 131
.
.
.
trp_coop_companion_equipment_sets_end = 1083
trp_musican_male = 1084
trp_musican_female = 1085
trp_musicans_end = 1086
trp_globals_troop = 1087
Code:
.
.
.
fac_deserters = 26
fac_mountain_bandits = 27
fac_forest_bandits = 28
fac_sea_raiders = 29
fac_taiga_bandit = 30
fac_steppe_bandits = 31
fac_desert_bandits = 32
fac_undeads = 33
fac_slavers = 34
fac_peasant_rebels = 35
fac_noble_refugees = 36
.
.
.
Code:
("mountain_bandits","Mountain Bandits", 0, 0.5,[("commoners",-0.2),("merchants",-0.5),("manhunters",-0.6),("player_faction",-0.15)], [], 0x3F8000),
("forest_bandits","Forest Bandits", 0, 0.5,[("commoners",-0.2),("merchants",-0.5),("manhunters",-0.6),("player_faction",-0.15)], [], 0xCE4900),
("sea_raiders","Sea Raiders", 0, 0.5,[("commoners",-0.2),("merchants",-0.5),("manhunters",-0.6),("player_faction",-0.15)], [], 0x0CC7EC),
("taiga_bandit","Taiga Bandits", 0, 0.5,[("commoners",-0.2),("merchants",-0.5),("manhunters",-0.6),("player_faction",-0.15)], [], 0x9696FF),
("steppe_bandits","Steppe Bandits", 0, 0.5,[("commoners",-0.2),("merchants",-0.5),("manhunters",-0.6),("player_faction",-0.15)], [], 0x9431F1),
("desert_bandits","Desert Bandits", 0, 0.5,[("commoners",-0.2),("merchants",-0.5),("manhunters",-0.6),("player_faction",-0.15)], [], 0xBB9D36),
Where did I messed up?
Kind regards,