Need help with troops

正在查看此主题的用户

Hi im using the ptyhon editor and so far ive got the troops ingame but it dosent give me an option to upgrade them! it has the base troop but no upgrade button.Pls tell me if the problem is in here and how to fix it many thanks in advance

#soldiers:
  ["irish_farmer","irish_farmer","irish_farmers",tf_guarantee_boots|tf_guarantee_armor,no_scene,reserved,fac_commoners,
  [itm_cleaver,itm_knife,itm_pitch_fork,itm_sickle,itm_club,itm_stones,itm_linen_tunic,itm_coarse_tunic,itm_nomad_boots,itm_wrapping_boots],
  str_9|agi_9|level(4),wp(60),knows_common,swadian_face1, swadian_face2], 

["irish_woodsman","irish_woodsman","irish_woodsmen",tf_guarantee_boots|tf_guarantee_armor,no_scene,reserved,fac_commoners,
[itm_spiked_club,itm_fighting_pick,itm_nordic_sword,itm_boar_spear,itm_nordic_shield,itm_wooden_shield,itm_padded_cloth,itm_leather_jerkin,itm_leather_cap,itm_padded_coif,itm_nomad_boots,itm_wrapping_boots,itm_nomad_robe],
  str_13|agi_10|level(11),wp(100),knows_common,swadian_face1, swadian_face2],
 
["celtic_warrior","celtic_warrior","celtic_warriors",tf_guarantee_boots,no_scene,reserved,fac_commoners,
[itm_spear,itm_battle_axe,itm_nordic_sword,itm_nordic_shield,itm_round_shield,itm_spear,itm_mail_hauberk,itm_scale_armor,itm_nomad_boots,itm_nordic_helmet,itm_nasal_helmet,itm_nomad_cap],
  str_19|agi_13|level(17),wp(1200),knows_common,swadian_face1, swadian_face2],
 
["celtic_clansman","celtic_clansman","celtic_clansmen",tf_guarantee_boots|tf_guarantee_armor,no_scene,reserved,fac_commoners,
[itm_great_axe,itm_nordic_sword,itm_nordic_shield,itm_round_shield,itm_spear,itm_mail_hauberk,itm_lamellar_cuirass,itm_mail_chausses,itm_scale_armor,itm_nomad_boots,itm_nordic_helmet,itm_nasal_helmet,itm_nomad_cap],
  str_24|agi_17|level(23),wp(200),knows_common,swadian_face1, swadian_face2],
 
["celtic_highclansman","celtic_highclansman","celtic_highclansmen",tf_guarantee_boots|tf_guarantee_armor,no_scene,reserved,fac_commoners,
[itm_great_axe,itm_great_sword,itm_nordic_sword,itm_nordic_shield,itm_round_shield,itm_spear,itm_mail_hauberk,itm_lamellar_cuirass,itm_mail_chausses,itm_scale_armor,itm_nomad_boots,itm_nordic_helmet,itm_nasal_helmet,itm_nomad_cap],
  str_33|agi_20|level(31),wp(250),knows_common,swadian_face1, swadian_face2],




upgrade(troops,"irish_farmer", "irish_woodsman")
upgrade(troops,"irish_woodsman", "celtic_warrior")
upgrade(troops,"celtic_warrior", "celtic_clansman")
upgrade(troops,"celtic_clansman", "celtic_highclansman")


And Ignore the Irish B*stard thing ,I am Irish, im making the mod from an english point of view, a neutral and an Irish this is the english.


[EDIT] I updated the troops.

 
troop reference names have to be lowercase (abcd) not uppercase (ABCD). So change Irish_x to irish_x.

Edit: not only troops refferances, all reference names must be lowercase
 
thanks ottoman

I dont know what you mean morgoth but when i try to run the module builder it wont extract it says

Nevermind i got it working
 
后退
顶部 底部