# For player kingdom troops.
(store_faction_of_party, ":center_faction", ":center_no"),
(store_random_in_range, ":random_no", 0, 2),
(try_begin),
(gt, ":random_no", 0),
(try_begin),
(is_between, ":center_faction", "fac_kingdom_1", "fac_kingdoms_end"),
(faction_get_slot, ":volunteer_troop", ":center_faction", slot_faction_tier_1_troop),
(try_end),
(else_try),
(eq, ":random_no", 0),
(try_begin),
(eq, ":center_faction", "fac_player_supporters_faction"),
(assign, ":volunteer_troop", "trp_YOUR_CUSTOM_TROOP_HERE"),
(try_end),
(try_end),
# End.
Watchtower said:Hi
Is there possible to make own culture in MB 1.154 (with diplomacy mod)?
# MOD begin
(store_faction_of_party, ":center_faction", ":center_no"),
(try_begin),
(is_between, ":center_faction", "fac_kingdom_1", "fac_kingdoms_end"),
(faction_get_slot, ":volunteer_troop", ":center_faction", slot_faction_tier_1_troop),
(assign, ":volunteer_troop", "XXX"),
(else_try),
(eq, ":center_faction", "fac_player_supporters_faction"),
(assign, ":volunteer_troop", "XXX"),
(try_end),
# MOD end
# MOD begin
(store_faction_of_party, ":center_faction", ":center_no"),
(try_begin),
(is_between, ":center_faction", "fac_kingdom_1", "fac_kingdoms_end"),
(faction_get_slot, ":volunteer_troop", ":center_faction", slot_faction_tier_1_troop),
(store_random_in_range, ":trptpmodifier", 0, 4),
(try_begin),
(eq, ":trptpmodifier", 0),
(assign, ":volunteer_troop_tier", 1),
(else_try),
(eq, ":trptpmodifier", 1),
(assign, ":volunteer_troop_tier", 1),
(else_try),
(eq, ":trptpmodifier", 2),
(assign, ":volunteer_troop_tier", 1),
(else_try),
(eq, ":trptpmodifier", 3),
(assign, ":volunteer_troop", "XXX1"),
(else_try),
(eq, ":trptpmodifier", 4),
(assign, ":volunteer_troop", "XXX2"),
(try_end),
(else_try),
(eq, ":center_faction", "fac_player_supporters_faction"),
(assign, ":volunteer_troop", "XXX3"),
(try_end),
# MOD end
ForfiterX said:[...]
Ok never mind i got a way to work it out using .txt