Diabelica Knight Jul 20, 2006 #1 How can I change the types of the troops standing near all of the cities gate entrance?
guspav Section Moderator Old Guard Jul 20, 2006 #2 look for a menu entry called "town_center" then there's a few lines refering to "town visitors".. oh what the heck, here it is ("town_center",[ (this_or_next|eq,"$entry_to_town_forbidden",0), (eq, "$sneaked_into_town",1)] ,"Go to the town square.", [ (try_begin), (eq,"$town_nighttime",0), (party_get_slot, reg(11), "$current_town", slot_town_center), (else_try), (party_get_slot, reg(11), "$current_town", slot_town_center), (try_end), (modify_visitors_at_site,reg(11)),(reset_visitors), (store_faction_of_party, reg(20),"$current_town"), (try_begin), (eq,reg(20),"fac_swadians"), (assign,reg(0),"trp_swadian_infantry"), (assign,reg(1),"trp_swadian_infantry"), (assign,reg(2),"trp_swadian_crossbowman"), (assign,reg(3),"trp_swadian_footman"), (else_try), (eq,reg(20),"fac_vaegirs"), (assign,reg(0),"trp_vaegir_infantry"), (assign,reg(1),"trp_vaegir_infantry"), (assign,reg(2),"trp_vaegir_archer"), (assign,reg(3),"trp_vaegir_footman"), these are the guards, to change them just change the trp_blabla_blabla to whatever you like
look for a menu entry called "town_center" then there's a few lines refering to "town visitors".. oh what the heck, here it is ("town_center",[ (this_or_next|eq,"$entry_to_town_forbidden",0), (eq, "$sneaked_into_town",1)] ,"Go to the town square.", [ (try_begin), (eq,"$town_nighttime",0), (party_get_slot, reg(11), "$current_town", slot_town_center), (else_try), (party_get_slot, reg(11), "$current_town", slot_town_center), (try_end), (modify_visitors_at_site,reg(11)),(reset_visitors), (store_faction_of_party, reg(20),"$current_town"), (try_begin), (eq,reg(20),"fac_swadians"), (assign,reg(0),"trp_swadian_infantry"), (assign,reg(1),"trp_swadian_infantry"), (assign,reg(2),"trp_swadian_crossbowman"), (assign,reg(3),"trp_swadian_footman"), (else_try), (eq,reg(20),"fac_vaegirs"), (assign,reg(0),"trp_vaegir_infantry"), (assign,reg(1),"trp_vaegir_infantry"), (assign,reg(2),"trp_vaegir_archer"), (assign,reg(3),"trp_vaegir_footman"), these are the guards, to change them just change the trp_blabla_blabla to whatever you like