Have anyone know how to add my custom troops into NPC army?

正在查看此主题的用户

hamatank

Recruit
Have anyone know how to add my custom troops into NPC army?

I made a troop called Rhodok Gunner with editor and waiting it appear in NPC lord's army and custom battle but both not happening...

I simply don't know how to add troops in NPC army.

Please help!
 
party templates for reinforcements are used on spawn

插入代码块:
  ("kingdom_1_reinforcements_a", "{!}kingdom_1_reinforcements_a", 0, 0, fac_commoners, 0, [(trp_swadian_recruit,5,10),(trp_swadian_militia,2,4)]),
  ("kingdom_1_reinforcements_b", "{!}kingdom_1_reinforcements_b", 0, 0, fac_commoners, 0, [(trp_swadian_footman,3,6),(trp_swadian_skirmisher,2,4)]),
  ("kingdom_1_reinforcements_c", "{!}kingdom_1_reinforcements_c", 0, 0, fac_commoners, 0, [(trp_swadian_man_at_arms,2,4),(trp_swadian_crossbowman,1,2)]), #Swadians are a bit less-powered thats why they have a bit more troops in their modernised party template (3-6, others 3-5)

  ("kingdom_2_reinforcements_a", "{!}kingdom_2_reinforcements_a", 0, 0, fac_commoners, 0, [(trp_vaegir_recruit,5,10),(trp_vaegir_footman,2,4)]),

you also need to check the faction troop tree (slots)
插入代码块:
 # Cultures:
      (faction_set_slot, "fac_culture_1",  slot_faction_tier_1_troop, "trp_swadian_recruit"),
      (faction_set_slot, "fac_culture_1",  slot_faction_tier_2_troop, "trp_swadian_militia"),
      (faction_set_slot, "fac_culture_1",  slot_faction_tier_3_troop, "trp_swadian_footman"),
      (faction_set_slot, "fac_culture_1",  slot_faction_tier_4_troop, "trp_swadian_infantry"),
      (faction_set_slot, "fac_culture_1",  slot_faction_tier_5_troop, "trp_swadian_knight"),

      (faction_set_slot, "fac_culture_2", slot_faction_tier_1_troop, "trp_vaegir_recruit"),

which are used for recruiting
 
Totenkopf900 说:
I think he is editing txt files, probably using morghs.

he can edit slots with a savegame editor, txt tweaks or just give up on that crazy path and use modsys. In any form or shape he can do it, just depends on many hairs he wants to lose in the process.
 
后退
顶部 底部