two problems i need answears to please

正在查看此主题的用户

waraelm

Knight
hi I'm kind of having problems with two things which i would really appreciate answears to firstly what are the  initials you need to add the a new troop type in the module troop ini to make it use the firearm trait???


also i followed someones advise about how to add new troops as mercenaries but i don't think i did it right and its doesn't seem to be working.if someone wouldn't mind and it would be very kind of them please  could they tell me were Ive gone wrong and what i need to do to make it work.




#soldiers:
#This troop is the troop marked as soldiers_begin
  ["clone_trooper","clone_trooper","clone_trooper",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_helmet|tf_guarantee_Gloves,no_scene,reserved,fac_commoners,
  [itm_sword,itm_ArcTrooperHelm,itm_ArcTrooperWhite,itm_ArcTrooperBoots,itm_ArcTrooperGloves],
  str_20|agi_15|level(30),wp(150),knows_common,swadian_face1, swadian_face2],
["clone_grenadier","clone_grenadier","clone_grenadier",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_helmet|tf_guarantee_Gloves,no_scene,reserved,fac_commoners,
  [itm_sword,itm_ArcTrooperHelm,itm_ArcTrooperWhite,itm_ArcTrooperBoots,itm_ArcTrooperGloves],
  str_25|agi_17|level(33),wp(170),knows_common,swadian_face1, swadian_face2],
["farmer","Farmer","Farmers",tf_guarantee_armor,no_scene,reserved,fac_commoners,
  [itm_cleaver,itm_knife,itm_pitch_fork,itm_sickle,itm_club,itm_stones,itm_leather_cap,itm_felt_hat,itm_felt_hat,itm_linen_tunic,itm_coarse_tunic,itm_nomad_boots,itm_wrapping_boots],
  def_attrib|level(4),wp(60),knows_common,man_face_middle_1, man_face_old_2],
  ["townsman","Townsman","Townsmen",tf_guarantee_boots|tf_guarantee_armor,no_scene,reserved,fac_commoners,
  [itm_cleaver,itm_knife,itm_club,itm_quarter_staff,itm_dagger,itm_stones,itm_leather_cap,itm_linen_tunic,itm_coarse_tunic,itm_leather_apron,itm_nomad_boots,itm_wrapping_boots],
  def_attrib|level(4),wp(60),knows_common,mercenary_face_1, mercenary_face_2],
  ["watchman","Watchman","Watchmen",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_shield,no_scene,reserved,fac_commoners,
  [itm_bolts,itm_spiked_club,itm_fighting_pick,itm_sword_medieval_a,itm_boar_spear,itm_hunting_crossbow,itm_light_crossbow,itm_tab_shield_round_a,itm_tab_shield_round_b,itm_padded_cloth,itm_leather_jerkin,itm_leather_cap,itm_padded_coif,itm_skullcap,itm_nomad_boots,itm_wrapping_boots],
  def_attrib|level(9),wp(75),knows_common|knows_shield_1,mercenary_face_1, mercenary_face_2],
  ["caravan_guard","Caravan Guard","Caravan Guards",tf_mounted|tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_horse|tf_guarantee_shield,no_scene,0,fac_commoners,
  [itm_spear,itm_fighting_pick,itm_sword_medieval_a,itm_voulge,itm_tab_shield_round_b,itm_tab_shield_round_c,itm_leather_jerkin,itm_leather_vest,itm_scale_armor,itm_hide_boots,itm_padded_coif,itm_nasal_helmet,itm_skullcap,itm_saddle_horse],
  def_attrib|level(14),wp(85),knows_common|knows_riding_2|knows_ironflesh_1|knows_shield_3,mercenary_face_1, mercenary_face_2],
  ["mercenary_swordsman","Mercenary Swordsman","Mercenary Swordsmen",tf_mounted|tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_helmet|tf_guarantee_horse|tf_guarantee_shield,no_scene,reserved,fac_commoners,
  [itm_bastard_sword_a,itm_sword_medieval_b,itm_sword_medieval_b_small,itm_tab_shield_heater_c,itm_mail_hauberk,itm_scale_armor,itm_hide_boots,itm_kettle_hat,itm_mail_coif,itm_flat_topped_helmet, itm_helmet_with_neckguard],
  def_attrib|level(20),wp(100),knows_common|knows_riding_3|knows_ironflesh_2|knows_shield_3|knows_power_strike_2,mercenary_face_1, mercenary_face_2],
  ["hired_blade","Hired Blade","Hired Blades",tf_mounted|tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_gloves|tf_guarantee_helmet|tf_guarantee_horse|tf_guarantee_shield,no_scene,reserved,fac_commoners,
  [itm_bastard_sword_b,itm_sword_medieval_c,itm_tab_shield_heater_cav_a,itm_haubergeon,itm_mail_chausses,itm_iron_greaves,itm_guard_helmet,itm_great_helmet,itm_bascinet, itm_leather_gloves],
  def_attrib|level(25),wp(130),knows_common|knows_riding_3|knows_athletics_5|knows_shield_4|knows_power_strike_4|knows_ironflesh_3,mercenary_face_1, mercenary_face_2],
  ["mercenary_crossbowman","Mercenary Crossbowman","Mercenary Crossbowmen",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_ranged,no_scene,reserved,fac_commoners,
  [itm_bolts,itm_spiked_club,itm_fighting_pick,itm_sword_medieval_a,itm_boar_spear,itm_crossbow,itm_tab_shield_pavise_a,itm_tab_shield_round_b,itm_padded_cloth,itm_leather_jerkin,itm_leather_cap,itm_padded_coif,itm_skullcap,itm_nomad_boots,itm_wrapping_boots],
  def_attrib|level(9),wp(75),knows_common|knows_athletics_2|knows_shield_1,mercenary_face_1, mercenary_face_2],
  ["mercenary_horseman","Mercenary Horseman","Mercenary Horsemen",tf_mounted|tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_helmet|tf_guarantee_horse|tf_guarantee_shield,no_scene,reserved,fac_commoners,
  [itm_lance|itm_bastard_sword_a,itm_sword_medieval_b,itm_tab_shield_heater_c,itm_mail_hauberk,itm_scale_armor,itm_hide_boots,itm_kettle_hat,itm_mail_coif,itm_flat_topped_helmet,itm_helmet_with_neckguard,itm_saddle_horse,itm_courser,itm_hunter],
  def_attrib|level(20),wp(100),knows_common|knows_riding_4|knows_ironflesh_2|knows_shield_2|knows_power_strike_2,mercenary_face_1, mercenary_face_2],
  ["mercenary_cavalry","Mercenary Cavalry","Mercenary Cavalry",tf_mounted|tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_helmet|tf_guarantee_horse|tf_guarantee_shield,no_scene,reserved,fac_commoners,
  [itm_lance|itm_bastard_sword_a,itm_sword_medieval_b,itm_tab_shield_heater_c,itm_mail_hauberk,itm_scale_armor,itm_hide_boots,itm_kettle_hat,itm_mail_coif,itm_flat_topped_helmet,itm_helmet_with_neckguard,itm_saddle_horse,itm_courser,itm_hunter],
  def_attrib|level(25),wp(120),knows_common|knows_riding_5|knows_ironflesh_3|knows_shield_3|knows_power_strike_3,mercenary_face_1, mercenary_face_2],
  ["mercenaries_end","mercenaries_end","mercenaries_end",0,no_scene,reserved,fac_commoners,
  [],
  def_attrib|level(4),wp(60),knows_common,mercenary_face_1, mercenary_face_2],



thankyou for reading.
 
The native game scripts are looking for, I believe, mercenaries_begin, not "soldiers_begin". Unless, you changed all .py files that reference mercenaries_begin/end.
 
后退
顶部 底部