bakabaka
Recruit

Hi everyone,
I made a custom troop and wanted them to have weapons/armors with good modifiers (reinforced, balanced, etc). So I give them nothing in inventory, then put the lines below into "game_menu":
(try_begin),
(eq,"$background_type",cb_noble),
(eq,"$character_gender",tf_male),
(party_add_members, "p_main_party", "trp_outlandish_warrior_a", 100),
(troop_add_item, "trp_outlandish_warrior_a","itm_brigandine_b",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_gauntlets",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_iron_greaves",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_full_helmet",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_horsemans_axe",imod_tempered),
(troop_add_item, "trp_outlandish_warrior_a","itm_steel_shield",imod_thick),
(troop_add_item, "trp_outlandish_warrior_a","itm_heavy_lance",imod_balanced),
(troop_add_item, "trp_outlandish_warrior_a","itm_jarid",imod_large_bag),
(troop_add_item, "trp_outlandish_warrior_a","itm_warhorse_sarranid",imod_heavy),
It worked, I have 100 warriors at start and they all have the items I want. But upon saving and reloading, the troop lose their inventory and become naked again.
So, is there any where I can put those lines in, so that it will be fired when I load a save-game? I tried putting it in "script_game_start" but it's only called when a new game is started
Thanx : )
I made a custom troop and wanted them to have weapons/armors with good modifiers (reinforced, balanced, etc). So I give them nothing in inventory, then put the lines below into "game_menu":
(try_begin),
(eq,"$background_type",cb_noble),
(eq,"$character_gender",tf_male),
(party_add_members, "p_main_party", "trp_outlandish_warrior_a", 100),
(troop_add_item, "trp_outlandish_warrior_a","itm_brigandine_b",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_gauntlets",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_iron_greaves",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_full_helmet",imod_reinforced),
(troop_add_item, "trp_outlandish_warrior_a","itm_horsemans_axe",imod_tempered),
(troop_add_item, "trp_outlandish_warrior_a","itm_steel_shield",imod_thick),
(troop_add_item, "trp_outlandish_warrior_a","itm_heavy_lance",imod_balanced),
(troop_add_item, "trp_outlandish_warrior_a","itm_jarid",imod_large_bag),
(troop_add_item, "trp_outlandish_warrior_a","itm_warhorse_sarranid",imod_heavy),
It worked, I have 100 warriors at start and they all have the items I want. But upon saving and reloading, the troop lose their inventory and become naked again.
So, is there any where I can put those lines in, so that it will be fired when I load a save-game? I tried putting it in "script_game_start" but it's only called when a new game is started
Thanx : )

