ithilienranger
Knight at Arms
What is the best method to send a position with rotation values between a server and client?
Somebody said:Did you also include a collision mesh?
Please post exact text of the error, text of load_mod_resource line in module.ini, and if other contents of that brf file load fineNameless Warrior said:I am getting an RGL error for an item on load up. It is a building for a new scene located in a brf file. The module ini tells the mod to correctly load mod resource = "brf name" and I have checked and the building is in the brf file in the mods resource folder yet it still brings up the error.
Does anyone know why this could be happening?
Demonwolf said:Alright, I've been following this thread on setting the ages and the family trees. http://forums.taleworlds.com/index.php/topic,122490.0.html
But it still isn't working. The blood relations are chaotic (some are sons to Sarranid lords, some get the wrong fathers), and the lords are still kids (They appear as 2 year olds - 13 year olds)...
Custom Commander (I believe) includes this feature by lowering the Athletics skill and archery skills of heavily armored players.vota dc said:There is any way to bring for Warband the old speed penalty of the original M&B? You had to walk if you get too much overcumbered or even you couldn't move. Now you can't have "tanks" and a superarmor make you still quite fast.
Demonwolf said:Sorry for a triple post, but I still need help with the families. The ages are wrong and they have the wrong relatives. Code:
Code:("initialize_aristocracy", [ #LORD OCCUPATIONS, BLOOD RELATIONSHIPS, RENOWN AND REPUTATIONS #King ages (try_for_range, ":cur_troop", kings_begin, kings_end), (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_hero), (store_random_in_range, ":age", 50, 60), (troop_set_slot, ":cur_troop", slot_troop_age, ":age"), (eq, ":cur_troop", "trp_kingdom_5_lord"), (troop_set_slot, ":cur_troop", slot_troop_age, 47), (try_end), #The first thing - family structure #lords 1 to 8 are patriarchs with one live-at-home son and one daughter. They come from one of six possible ancestors, thus making it likely that there will be two sets of siblings #lords 9 to 12 are unmarried landowners with sisters #lords 13 to 20 are sons who still live in their fathers' houses #For the sake of simplicity, we can assume that all male aristocrats in prior generations either married commoners or procured their brides from the Old Country, thus discounting intermarriage (try_for_range, ":cur_troop", kingdom_ladies_begin, kingdom_ladies_end), (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_lady), (try_end), (assign, ":cur_lady", "trp_kingdom_1_lady_1"), (try_for_range, ":cur_troop", lords_begin, lords_end), (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_hero), # (store_random_in_range, ":father_age_at_birth", 23, 26), # (store_random_in_range, ":mother_age_at_birth", 19, 22), # # (try_begin), # (is_between, ":cur_troop", "trp_knight_1_1", "trp_knight_2_1"), # (store_sub, ":npc_seed", ":cur_troop", "trp_knight_1_1"), # (assign, ":ancestor_seed", 1), # # (else_try), # (is_between, ":cur_troop", "trp_knight_2_1", "trp_knight_3_1"), # (store_sub, ":npc_seed", ":cur_troop", "trp_knight_2_1"), # (assign, ":ancestor_seed", 7), # # (else_try), # (is_between, ":cur_troop", "trp_knight_3_1", "trp_knight_4_1"), # (store_sub, ":npc_seed", ":cur_troop", "trp_knight_3_1"), # (assign, ":ancestor_seed", 13), # # (else_try), # (is_between, ":cur_troop", "trp_knight_4_1", "trp_knight_5_1"), # (store_sub, ":npc_seed", ":cur_troop", "trp_knight_4_1"), # (assign, ":ancestor_seed", 19), # # (else_try), # (is_between, ":cur_troop", "trp_knight_5_1", "trp_knight_6_1"), # (store_sub, ":npc_seed", ":cur_troop", "trp_knight_5_1"), # (assign, ":ancestor_seed", 25), # # (else_try), # (is_between, ":cur_troop", "trp_knight_6_1", "trp_kingdom_1_pretender"), # (store_sub, ":npc_seed", ":cur_troop", "trp_knight_6_1"), # (assign, ":ancestor_seed", 31), # (try_end), (try_begin), # (lt, ":npc_seed", 8), #NPC seed is the order in the faction # (assign, ":reputation", ":npc_seed"), # (store_random_in_range, ":age", 45, 64), (troop_set_slot, "trp_knight_p_1", slot_troop_age, 56), (troop_set_slot, "trp_knight_p_2", slot_troop_age, 49), (troop_set_slot, "trp_knight_p_3", slot_troop_age, 52), (troop_set_slot, "trp_knight_p_4", slot_troop_age, 46), (troop_set_slot, "trp_knight_p_4", slot_troop_father, "trp_knight_p_2"), (troop_set_slot, "trp_knight_p_4", slot_troop_mother, "trp_kingdom_p_lady_2"), (troop_set_slot, "trp_knight_p_5", slot_troop_age, 27), (troop_set_slot, "trp_knight_p_5", slot_troop_father, "trp_knight_p_1"), (troop_set_slot, "trp_knight_p_5", slot_troop_mother, "trp_kingdom_p_lady_1"), (troop_set_slot, "trp_knight_p_6", slot_troop_age, 39), (troop_set_slot, "trp_knight_p_6", slot_troop_father, "trp_knight_p_2"), (troop_set_slot, "trp_knight_p_6", slot_troop_mother, "trp_kingdom_p_lady_2"), (troop_set_slot, "trp_knight_p_7", slot_troop_age, 30), (troop_set_slot, "trp_knight_p_8", slot_troop_age, 36), (troop_set_slot, "trp_knight_p_8", slot_troop_father, "trp_knight_p_2"), (troop_set_slot, "trp_knight_p_8", slot_troop_mother, "trp_kingdom_p_lady_2"), (troop_set_slot, "trp_knight_p_9", slot_troop_age, 32), (troop_set_slot, "trp_knight_p_9", slot_troop_father, "trp_knight_p_3"), (troop_set_slot, "trp_knight_p_9", slot_troop_mother, "trp_kingdom_p_lady_3"), (troop_set_slot, "trp_knight_p_10", slot_troop_age, 29), (troop_set_slot, "trp_knight_p_10", slot_troop_father, "trp_knight_p_3"), (troop_set_slot, "trp_knight_p_10", slot_troop_mother, "trp_kingdom_p_lady_3"), (assign, ":reputation", "trp_knight_p_1"), (assign, ":reputation", "trp_knight_p_2"), (assign, ":reputation", "trp_knight_p_3"), (assign, ":reputation", "trp_knight_p_4"), (assign, ":reputation", "trp_knight_p_5"), (assign, ":reputation", "trp_knight_p_6"), (assign, ":reputation", "trp_knight_p_7"), (assign, ":reputation", "trp_knight_p_8"), (assign, ":reputation", "trp_knight_p_9"), (assign, ":reputation", "trp_knight_p_10"), (troop_get_slot, ":reputation", "trp_knight_p_1", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_2", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_3", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_4", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_5", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_6", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_7", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_8", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_9", slot_lord_reputation_type), (troop_get_slot, ":reputation", "trp_knight_p_10", slot_lord_reputation_type), # (store_random_in_range, ":father", 0, 6), #six possible fathers # (val_add, ":father", ":ancestor_seed"), # (troop_set_slot, ":cur_troop", slot_troop_father, ":father"), #wife # (troop_set_slot, ":cur_troop", slot_troop_spouse, ":cur_lady"), # (troop_set_slot, ":cur_lady", slot_troop_spouse, ":cur_troop"), (troop_set_slot, "trp_knight_p_1", slot_troop_spouse, "trp_kingdom_p_lady_1"), (troop_set_slot, "trp_kingdom_p_lady_1", slot_troop_spouse, "trp_knight_p_1"), (troop_set_slot, "trp_knight_p_2", slot_troop_spouse, "trp_kingdom_p_lady_2"), (troop_set_slot, "trp_kingdom_p_lady_2", slot_troop_spouse, "trp_knight_p_2"), (troop_set_slot, "trp_knight_p_3", slot_troop_spouse, "trp_kingdom_p_lady_3"), (troop_set_slot, "trp_kingdom_p_lady_3", slot_troop_spouse, "trp_knight_p_3"), (troop_set_slot, "trp_knight_p_8", slot_troop_spouse, "trp_kingdom_p_lady_4"), (troop_set_slot, "trp_kingdom_p_lady_4", slot_troop_spouse, "trp_knight_p_8"), (troop_set_slot, "trp_knight_p_6", slot_troop_spouse, "trp_kingdom_p_lady_7"), (troop_set_slot, "trp_kingdom_p_lady_7", slot_troop_spouse, "trp_knight_p_6"), (troop_set_slot, "trp_knight_p_9", slot_troop_spouse, "trp_kingdom_p_lady_10"), (troop_set_slot, "trp_kingdom_p_lady_10", slot_troop_spouse, "trp_knight_p_9"), (store_random_in_range, ":wife_reputation", 20, 26), (try_begin), (eq, ":wife_reputation", 20), (assign, ":wife_reputation", lrep_conventional), (try_end), # (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_1", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_2", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_3", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_4", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_5", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_6", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_7", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_8", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_9", slot_lord_reputation_type, ":wife_reputation"), (troop_set_slot, "trp_kingdom_p_lady_10", slot_lord_reputation_type, ":wife_reputation"), (call_script, "script_init_troop_age", ":cur_lady", 49), (call_script, "script_add_lady_items", ":cur_lady"), (val_add, ":cur_lady", 1), #daughter # (troop_set_slot, ":cur_lady", slot_troop_father, ":cur_troop"), (troop_set_slot, "trp_kingdom_p_lady_5", slot_troop_father, "trp_knight_p_1"), (troop_set_slot, "trp_kingdom_p_lady_8", slot_troop_father, "trp_knight_p_7"), (troop_set_slot, "trp_kingdom_p_lady_9", slot_troop_father, "trp_knight_p_7"), (troop_set_slot, "trp_kingdom_p_lady_7", slot_troop_father, "trp_knight_p_3"), (troop_set_slot, "trp_kingdom_p_lady_6", slot_troop_father, "trp_knight_p_3"), # (store_sub, ":mother", ":cur_lady", 1), (call_script, "script_init_troop_age", ":cur_lady", 19), # (troop_set_slot, ":cur_lady", slot_troop_mother, ":cur_lady"), (troop_set_slot, "trp_kingdom_p_lady_5", slot_troop_mother, "trp_kingdom_p_lady_1"), (troop_set_slot, "trp_kingdom_p_lady_7", slot_troop_mother, "trp_kingdom_p_lady_3"), (troop_set_slot, "trp_kingdom_p_lady_6", slot_troop_mother, "trp_kingdom_p_lady_3"), (store_random_in_range, ":lady_reputation", lrep_conventional, 34), #33% chance of father-derived (try_begin), (le, ":lady_reputation", 25), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":lady_reputation"), (else_try), (eq, ":lady_reputation", 26), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_conventional), (else_try), (eq, ":lady_reputation", 27), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_moralist), (else_try), (assign, ":guardian_reputation", ":reputation"), (try_begin), (this_or_next|eq, ":guardian_reputation", lrep_martial), (eq, ":guardian_reputation", 0), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_conventional), (else_try), (eq, ":guardian_reputation", lrep_quarrelsome), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_otherworldly), (else_try), (eq, ":guardian_reputation", lrep_selfrighteous), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_ambitious), (else_try), (eq, ":guardian_reputation", lrep_cunning), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_adventurous), (else_try), (eq, ":guardian_reputation", lrep_goodnatured), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_adventurous), (else_try), (eq, ":guardian_reputation", lrep_debauched), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_ambitious), (else_try), (eq, ":guardian_reputation", lrep_upstanding), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_moralist), (try_end), (try_end), (call_script, "script_add_lady_items", ":cur_lady"), (val_add, ":cur_lady", 1), #high renown (else_try), #Older unmarried lords # (is_between, ":npc_seed", 8, 12), # (store_random_in_range, ":age", 25, 36), (store_random_in_range, ":reputation", 0, 8), (store_random_in_range, ":sister_reputation", 20, 26), (try_begin), (eq, ":sister_reputation", 20), (assign, ":sister_reputation", lrep_conventional), (try_end), (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":sister_reputation"), (troop_set_slot, ":cur_lady", slot_troop_guardian, ":cur_troop"), (call_script, "script_init_troop_age", ":cur_lady", 21), (call_script, "script_add_lady_items", ":cur_lady"), (val_add, ":cur_lady", 1), (else_try), #Younger unmarried lords #age is father's minus 20 to 25 # (store_sub, ":father", ":cur_troop", 12), # (troop_set_slot, ":cur_troop", slot_troop_father, ":father"), # (troop_get_slot, ":mother", ":father", slot_troop_spouse), # (troop_set_slot, ":cur_troop", slot_troop_mother, ":mother"), # (troop_get_slot, ":father_age", ":father", slot_troop_age), # (store_sub, ":age", ":father_age", ":father_age_at_birth"), (try_begin), #50% chance of having father's rep (store_random_in_range, ":reputation", 0, 16), # (gt, ":reputation", 7), # (troop_get_slot, ":reputation", ":father", slot_lord_reputation_type), (try_end), (try_end), (try_begin), (eq, ":reputation", 0), (assign, ":reputation", 1), (try_end), # (troop_set_slot, ":cur_troop", slot_lord_reputation_type, ":reputation"), ## (call_script, "script_init_troop_age", ":cur_troop", ":age"), (try_end), (try_begin), (eq, "$cheat_mode", 1), (assign, reg3, "$cheat_mode"), (display_message, "@{!}DEBUG -- Assigned lord reputation and relations"), # (display_message, "str_assigned_lord_reputation_and_relations_cheat_mode_reg3"), #This string can be removed (try_end), (try_for_range, ":cur_troop", pretenders_begin, pretenders_end), (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_inactive_pretender), (store_random_in_range, ":age", 25, 30), (troop_set_slot, ":cur_troop", slot_troop_age, ":age"), (eq, ":cur_troop", "trp_kingdom_5_pretender"), (troop_set_slot, ":cur_troop", slot_troop_age, 45), (try_end), ]),
If it is happening on the map, it would be either in module_triggers or module_simple_triggers...or a script called by them.phoenixguard09 said:Right well the icon for that Lord should be the same as all the others. However resetting the position of the Bandit Lair could well be something I have done accidentally. Would you have any idea of where something like that might be Caba? And thanks for helping mate.
You have a problem with map flags, probably index out of bounds or such. This city and lord get assigned rock icon as party map flag.phoenixguard09 said:Right well the icon for that Lord should be the same as all the others. However resetting the position of the Bandit Lair could well be something I have done accidentally. Would you have any idea of where something like that might be Caba? And thanks for helping mate.
# Attach Lord Parties to the town they are in
(0.1,
[
(try_for_range, ":troop_no", heroes_begin, heroes_end),
(troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_hero),
(troop_get_slot, ":troop_party_no", ":troop_no", slot_troop_leaded_party),
(ge, ":troop_party_no", 1),
(party_is_active, ":troop_party_no"),
(party_get_attached_to, ":cur_attached_town", ":troop_party_no"),
(lt, ":cur_attached_town", 1),
(party_get_cur_town, ":destination", ":troop_party_no"),
(is_between, ":destination", centers_begin, centers_end),
(call_script, "script_get_relation_between_parties", ":destination", ":troop_party_no"),
(try_begin),
(ge, reg0, 0),
(party_attach_to_party, ":troop_party_no", ":destination"),
(else_try),
(party_set_ai_behavior, ":troop_party_no", ai_bhvr_hold),
(try_end),
(try_begin),
(this_or_next|party_slot_eq, ":destination", slot_party_type, spt_town),
(party_slot_eq, ":destination", slot_party_type, spt_castle),
(store_faction_of_party, ":troop_faction_no", ":troop_party_no"),
(store_faction_of_party, ":destination_faction_no", ":destination"),
(eq, ":troop_faction_no", ":destination_faction_no"),
(party_get_num_prisoner_stacks, ":num_stacks", ":troop_party_no"),
(gt, ":num_stacks", 0),
(assign, "$g_move_heroes", 1),
(call_script, "script_party_prisoners_add_party_prisoners", ":destination", ":troop_party_no"),#Moving prisoners to the center
(assign, "$g_move_heroes", 1),
(call_script, "script_party_remove_all_prisoners", ":troop_party_no"),
(try_end),
(try_end),
(try_for_parties, ":bandit_camp"),
(gt, ":bandit_camp", "p_spawn_points_end"),
#Can't have party is active here, because it will fail for inactive parties
(party_get_template_id, ":template", ":bandit_camp"),
(ge, ":template", "pt_steppe_bandit_lair"),
(store_distance_to_party_from_party, ":distance", "p_main_party", ":bandit_camp"),
(lt, ":distance", 3),
(party_set_flags, ":bandit_camp", pf_disabled, 0),
(party_set_flags, ":bandit_camp", pf_always_visible, 1),
(try_end),
]),
("spawn_character",menu_text_color(0xFF000000)|mnf_disable_all_keys,
"Begin Game...",
"none",
[],
[
("continue",[],"Continue...",
[
(set_show_messages, 0),
(try_begin),
(eq, "$player_class", 1), #asketikos
(troop_add_gold, 1400),
(troop_raise_skill, "trp_player", skl_trade, 4),
(troop_raise_skill, "trp_player", skl_leadership, 1),
(troop_raise_skill, "trp_player", skl_prisoner_management, 1),
(troop_raise_skill, "trp_player", skl_persuasion, 3),
(troop_raise_skill, "trp_player", skl_inventory_management, 4),
(troop_raise_skill, "trp_player", skl_looting, 3),
(troop_raise_skill, "trp_player", skl_ironflesh, 1),
(troop_raise_attribute, "trp_player", ca_strength, 6),
(troop_raise_attribute, "trp_player", ca_agility, 6),
(troop_raise_attribute, "trp_player", ca_charisma, 8),
(troop_raise_attribute, "trp_player", ca_intelligence, 11),
(troop_raise_proficiency, "trp_player", wpt_archery, 30),
(troop_raise_proficiency, "trp_player", wpt_crossbow, 40),
(troop_raise_proficiency, "trp_player", wpt_one_handed_weapon, 65),
(troop_raise_proficiency, "trp_player", wpt_polearm, 35),
(troop_raise_proficiency, "trp_player", wpt_two_handed_weapon, 80),
(troop_raise_proficiency, "trp_player", wpt_throwing, 20),
(troop_add_item, "trp_player", "itm_coat", 1),
(troop_add_item, "trp_player", "itm_iron_spatha", 1),
(troop_add_item, "trp_player", "itm_slavic_levy_axe", 1),
(troop_add_item, "trp_player", "itm_leather_boots", 1),
(troop_add_item, "trp_player", "itm_oil", 1),
(troop_add_item, "trp_player", "itm_cheese", 1),
(troop_add_item, "trp_player", "itm_honey", 1),
(else_try),
(eq, "$player_class", 2), #bard
(troop_add_gold, 1400),
(troop_raise_skill, "trp_player", skl_trade, 4),
(troop_raise_skill, "trp_player", skl_leadership, 1),
(troop_raise_skill, "trp_player", skl_prisoner_management, 1),
(troop_raise_skill, "trp_player", skl_persuasion, 3),
(troop_raise_skill, "trp_player", skl_inventory_management, 4),
(troop_raise_skill, "trp_player", skl_looting, 3),
(troop_raise_skill, "trp_player", skl_ironflesh, 1),
(troop_raise_attribute, "trp_player", ca_strength, 6),
(troop_raise_attribute, "trp_player", ca_agility, 6),
(troop_raise_attribute, "trp_player", ca_charisma, 8),
(troop_raise_attribute, "trp_player", ca_intelligence, 11),
(troop_raise_proficiency, "trp_player", wpt_archery, 30),
(troop_raise_proficiency, "trp_player", wpt_crossbow, 40),
(troop_raise_proficiency, "trp_player", wpt_one_handed_weapon, 65),
(troop_raise_proficiency, "trp_player", wpt_polearm, 35),
(troop_raise_proficiency, "trp_player", wpt_two_handed_weapon, 80),
(troop_raise_proficiency, "trp_player", wpt_throwing, 20),
(troop_add_item, "trp_player", "itm_coat", 1),
(troop_add_item, "trp_player", "itm_iron_spatha", 1),
(troop_add_item, "trp_player", "itm_slavic_levy_axe", 1),
(troop_add_item, "trp_player", "itm_leather_boots", 1),
(troop_add_item, "trp_player", "itm_oil", 1),
(troop_add_item, "trp_player", "itm_cheese", 1),
(troop_add_item, "trp_player", "itm_honey", 1),
(else_try),
(eq,"$player_class", 3), #hauker
(troop_add_gold, 1400),
(troop_raise_skill, "trp_player", skl_trade, 4),
(troop_raise_skill, "trp_player", skl_leadership, 1),
(troop_raise_skill, "trp_player", skl_prisoner_management, 1),
(troop_raise_skill, "trp_player", skl_persuasion, 3),
(troop_raise_skill, "trp_player", skl_inventory_management, 4),
(troop_raise_skill, "trp_player", skl_looting, 3),
(troop_raise_skill, "trp_player", skl_ironflesh, 1),
(troop_raise_attribute, "trp_player", ca_strength, 6),
(troop_raise_attribute, "trp_player", ca_agility, 6),
(troop_raise_attribute, "trp_player", ca_charisma, 8),
(troop_raise_attribute, "trp_player", ca_intelligence, 11),
(troop_raise_proficiency, "trp_player", wpt_archery, 30),
(troop_raise_proficiency, "trp_player", wpt_crossbow, 40),
(troop_raise_proficiency, "trp_player", wpt_one_handed_weapon, 65),
(troop_raise_proficiency, "trp_player", wpt_polearm, 35),
(troop_raise_proficiency, "trp_player", wpt_two_handed_weapon, 80),
(troop_raise_proficiency, "trp_player", wpt_throwing, 20),
(troop_add_item, "trp_player", "itm_coat", 1),
(troop_add_item, "trp_player", "itm_iron_spatha", 1),
(troop_add_item, "trp_player", "itm_slavic_levy_axe", 1),
(troop_add_item, "trp_player", "itm_leather_boots", 1),
(troop_add_item, "trp_player", "itm_oil", 1),
(troop_add_item, "trp_player", "itm_cheese", 1),
(troop_add_item, "trp_player", "itm_honey", 1),
(else_try),
(eq,"$player_class", 4), #magi
(troop_add_gold, 1400),
(troop_raise_skill, "trp_player", skl_trade, 4),
(troop_raise_skill, "trp_player", skl_leadership, 1),
(troop_raise_skill, "trp_player", skl_prisoner_management, 1),
(troop_raise_skill, "trp_player", skl_persuasion, 3),
(troop_raise_skill, "trp_player", skl_inventory_management, 4),
(troop_raise_skill, "trp_player", skl_looting, 3),
(troop_raise_skill, "trp_player", skl_ironflesh, 1),
(troop_raise_attribute, "trp_player", ca_strength, 6),
(troop_raise_attribute, "trp_player", ca_agility, 6),
(troop_raise_attribute, "trp_player", ca_charisma, 8),
(troop_raise_attribute, "trp_player", ca_intelligence, 11),
(troop_raise_proficiency, "trp_player", wpt_archery, 30),
(troop_raise_proficiency, "trp_player", wpt_crossbow, 40),
(troop_raise_proficiency, "trp_player", wpt_one_handed_weapon, 65),
(troop_raise_proficiency, "trp_player", wpt_polearm, 35),
(troop_raise_proficiency, "trp_player", wpt_two_handed_weapon, 80),
(troop_raise_proficiency, "trp_player", wpt_throwing, 20),
(troop_add_item, "trp_player", "itm_coat", 1),
(troop_add_item, "trp_player", "itm_iron_spatha", 1),
(troop_add_item, "trp_player", "itm_slavic_levy_axe", 1),
(troop_add_item, "trp_player", "itm_leather_boots", 1),
(troop_add_item, "trp_player", "itm_oil", 1),
(troop_add_item, "trp_player", "itm_cheese", 1),
(troop_add_item, "trp_player", "itm_honey", 1),
(else_try),
(eq,"$player_class", 5), #wanderer
(troop_add_gold, 1400),
(troop_raise_skill, "trp_player", skl_trade, 4),
(troop_raise_skill, "trp_player", skl_leadership, 1),
(troop_raise_skill, "trp_player", skl_prisoner_management, 1),
(troop_raise_skill, "trp_player", skl_persuasion, 3),
(troop_raise_skill, "trp_player", skl_inventory_management, 4),
(troop_raise_skill, "trp_player", skl_looting, 3),
(troop_raise_skill, "trp_player", skl_ironflesh, 1),
(troop_raise_attribute, "trp_player", ca_strength, 6),
(troop_raise_attribute, "trp_player", ca_agility, 6),
(troop_raise_attribute, "trp_player", ca_charisma, 8),
(troop_raise_attribute, "trp_player", ca_intelligence, 11),
(troop_raise_proficiency, "trp_player", wpt_archery, 30),
(troop_raise_proficiency, "trp_player", wpt_crossbow, 40),
(troop_raise_proficiency, "trp_player", wpt_one_handed_weapon, 65),
(troop_raise_proficiency, "trp_player", wpt_polearm, 35),
(troop_raise_proficiency, "trp_player", wpt_two_handed_weapon, 80),
(troop_raise_proficiency, "trp_player", wpt_throwing, 20),
(troop_add_item, "trp_player", "itm_coat", 1),
(troop_add_item, "trp_player", "itm_iron_spatha", 1),
(troop_add_item, "trp_player", "itm_slavic_levy_axe", 1),
(troop_add_item, "trp_player", "itm_leather_boots", 1),
(troop_add_item, "trp_player", "itm_oil", 1),
(troop_add_item, "trp_player", "itm_cheese", 1),
(troop_add_item, "trp_player", "itm_honey", 1),
(else_try),
(eq,"$player_class", 6), #mercenariai
(troop_add_gold, 1400),
(troop_raise_skill, "trp_player", skl_leadership, 1),
(troop_raise_skill, "trp_player", skl_shield, 3),
(troop_raise_skill, "trp_player", skl_tactics, 1),
(troop_raise_skill, "trp_player", skl_power_strike, 3),
(troop_raise_skill, "trp_player", skl_looting, 2),
(troop_raise_skill, "trp_player", skl_ironflesh, 3),
(troop_raise_attribute, "trp_player", ca_strength, 8),
(troop_raise_attribute, "trp_player", ca_agility, 6),
(troop_raise_attribute, "trp_player", ca_charisma, 6),
(troop_raise_attribute, "trp_player", ca_intelligence, 5),
(troop_raise_proficiency, "trp_player", wpt_archery, 30),
(troop_raise_proficiency, "trp_player", wpt_crossbow, 68),
(troop_raise_proficiency, "trp_player", wpt_one_handed_weapon, 90),
(troop_raise_proficiency, "trp_player", wpt_polearm, 77),
(troop_raise_proficiency, "trp_player", wpt_two_handed_weapon, 80),
(troop_raise_proficiency, "trp_player", wpt_throwing, 40),
(troop_add_item, "trp_player", "itm_roman_spatha", 1),
(troop_add_item, "trp_player", "itm_roman_spang_helm", 1),
(troop_add_item, "trp_player", "itm_slavic_tunic", 1),
(troop_add_item, "trp_player", "itm_leather_boots", 1),
(troop_add_item, "trp_player", "itm_tools", 1),
(troop_add_item, "trp_player", "itm_crossbow", 1),
(troop_add_item, "trp_player", "itm_bolts", 1),
(troop_add_item, "trp_player", "itm_hide_covered_round_shield", 1),
(try_end),
(jump_to_menu, "mnu_auto_return"),
]),
]
),