lukeh0109 Posted May 3, 2020 Share Posted May 3, 2020 <?xml version="1.0" encoding="utf-8"?> <NPCCharacters> <NPCCharacter id="battanian_hero" default_group="Ranged" level="21" civilianTemplate="NPCCharacter.battania_troop_civilian_template_t3" name="{=ac8MZYne}Battanian Hero" occupation="Soldier" culture="Culture.battania"> <face> <face_key_template value="NPCCharacter.villager_battania" /> </face> <skills> <skill id="Athletics" value="110" /> <skill id="Riding" value="15" /> <skill id="OneHanded" value="40" /> <skill id="TwoHanded" value="110" /> <skill id="Polearm" value="40" /> <skill id="Bow" value="150" /> <skill id="Crossbow" value="15" /> <skill id="Throwing" value="15" /> </skills> <equipmentSet> <equipment slot="Item0" id="Item.lowland_longbow" /> <equipment slot="Item1" id="Item.bodkin_arrows_a" /> <equipment slot="Item3" id="Item.battania_2hsword_2_t3" /> <equipment slot="Item2" id="Item.bodkin_arrows_a" /> <equipment slot="Body" id="Item.decorated_nordic_hauberk" /> <equipment slot="Head" id="Item.battanian_noble_helmet_with_feather" /> <equipment slot="Cape" id="Item.armored_bearskin" /> <equipment slot="Gloves" id="Item.highland_gloves" /> <equipment slot="Leg" id="Item.battania_woodland_boots" /> </equipmentSet> <equipmentSet> <equipment slot="Item0" id="Item.lowland_longbow" /> <equipment slot="Item1" id="Item.bodkin_arrows_a" /> <equipment slot="Item3" id="Item.battania_2hsword_2_t3" /> <equipment slot="Item2" id="Item.bodkin_arrows_a" /> <equipment slot="Body" id="Item.decorated_nordic_hauberk" /> <equipment slot="Head" id="Item.battanian_noble_helmet_with_feather" /> <equipment slot="Cape" id="Item.armored_bearskin" /> <equipment slot="Gloves" id="Item.highland_gloves" /> <equipment slot="Leg" id="Item.battania_woodland_boots" /> </equipmentSet> <equipmentSet> <equipment slot="Item0" id="Item.lowland_longbow" /> <equipment slot="Item1" id="Item.bodkin_arrows_a" /> <equipment slot="Item3" id="Item.battania_2hsword_2_t3" /> <equipment slot="Item2" id="Item.bodkin_arrows_a" /> <equipment slot="Body" id="Item.decorated_nordic_hauberk" /> <equipment slot="Head" id="Item.battanian_noble_helmet_with_feather" /> <equipment slot="Cape" id="Item.armored_bearskin" /> <equipment slot="Gloves" id="Item.highland_gloves" /> <equipment slot="Leg" id="Item.battania_woodland_boots" /> </equipmentSet> <upgrade_targets> <upgrade_target id="NPCCharacter.battanian_fian" /> <upgrade_target id="NPCCharacter.Depraved_Battanian_Warrior" /> </upgrade_targets> </NPCCharacter> <NPCCharacter id="Depraved_Battanian_Warrior" default_group="Infantry" level="26" civilianTemplate="NPCCharacter.battania_troop_civilian_template_t3" name="{=GUQ3zfg5}Depraved Battanian Warrior" is_basic_troop="true" occupation="Soldier" culture="Culture.battania"> <face> <face_key_template value="NPCCharacter.villager_battania" /> </face> <skills> <skill id="Athletics" value="160" /> <skill id="Riding" value="15" /> <skill id="OneHanded" value="210" /> <skill id="TwoHanded" value="80" /> <skill id="Polearm" value="40" /> <skill id="Bow" value="80" /> <skill id="Crossbow" value="15" /> <skill id="Throwing" value="160" /> </skills> <equipmentSet> <equipment slot="Item0" id="Item.woodland_axe_t3" /> <equipment slot="Item1" id="Item.worn_horsemans_kite_shield" /> <equipment slot="Item2" id="Item.celtic_throwing_dagger" /> <equipment slot="Item3" id="Item.celtic_throwing_dagger" /> <equipment slot="Body" id="Item.scale_armor" /> <equipment slot="Head" id="Item.battania_fur_helmet" /> <equipment slot="Cape" id="Item.battania_cloak_furr" /> <equipment slot="Gloves" id="Item.guarded_armwraps" /> <equipment slot="Leg" id="Item.highland_leg_wrappings" /> </equipmentSet> <equipmentSet> <equipment slot="Item0" id="Item.falchion_sword_t2" /> <equipment slot="Item1" id="Item.battered_kite_shield" /> <equipment slot="Item2" id="Item.celtic_throwing_dagger" /> <equipment slot="Item3" id="Item.celtic_throwing_dagger" /> <equipment slot="Body" id="Item.battania_woodland_chainmail" /> <equipment slot="Head" id="Item.spangenhelm_with_leather" /> <equipment slot="Cape" id="Item.wolf_shoulder" /> <equipment slot="Gloves" id="Item.ragged_armwraps" /> <equipment slot="Leg" id="Item.battania_woodland_boots" /> </equipmentSet> <upgrade_targets> <upgrade_target id="NPCCharacter.Blood_Stained_Battanian" /> <upgrade_target id="NPCCharacter.Battanian_Ghoul" /> </upgrade_targets> </NPCCharacter> <NPCCharacter id="Blood_Stained_Battanian" default_group="Infantry" level="31" civilianTemplate="NPCCharacter.battania_troop_civilian_template_t3" name="{=GUQ3zfg6}Blood Stained Battanian" is_basic_troop="true" occupation="Soldier" culture="Culture.battania"> <face> <face_key_template value="NPCCharacter.villager_battania" /> </face> <skills> <skill id="Athletics" value="220" /> <skill id="Riding" value="15" /> <skill id="OneHanded" value="280" /> <skill id="TwoHanded" value="80" /> <skill id="Polearm" value="40" /> <skill id="Bow" value="80" /> <skill id="Crossbow" value="15" /> <skill id="Throwing" value="220" /> </skills> <equipmentSet> <equipment slot="Item0" id="Item.oval_shield" /> <equipment slot="Item1" id="Item.sturgia_axe_5_t5" /> <equipment slot="Item2" id="Item.highland_throwing_axe_1_t2" /> <equipment slot="Item3" id="Item.highland_throwing_axe_1_t2" /> <equipment slot="Body" id="Item.hauberk" /> <equipment slot="Head" id="Item.leatherlame_feathered_spangenhelm_over_leather" /> <equipment slot="Cape" id="Item.mail_shoulders" /> <equipment slot="Gloves" id="Item.woven_leather_bracers" /> <equipment slot="Leg" id="Item.wrapped_leather_boots" /> </equipmentSet> <equipmentSet> <equipment slot="Item0" id="Item.strapped_round_shield" /> <equipment slot="Item1" id="Item.battania_sword_5_t5" /> <equipment slot="Item2" id="Item.highland_throwing_axe_1_t2" /> <equipment slot="Item3" id="Item.highland_throwing_axe_1_t2" /> <equipment slot="Body" id="Item.battania_woodland_chainmail" /> <equipment slot="Head" id="Item.sturgian_helmet_open" /> <equipment slot="Cape" id="Item.rough_bearskin" /> <equipment slot="Gloves" id="Item.northern_brass_bracers" /> <equipment slot="Leg" id="Item.battania_leather_boots" /> </equipmentSet> </NPCCharacter> <NPCCharacter id="Battanian_Ghoul" default_group="Infantry" level="31" civilianTemplate="NPCCharacter.battania_troop_civilian_template_t3" name="{=GUQ3zfg7}Battanian Ghoul" is_basic_troop="true" occupation="Soldier" culture="Culture.battania"> <face> <face_key_template value="NPCCharacter.villager_battania" /> </face> <skills> <skill id="Athletics" value="220" /> <skill id="Riding" value="15" /> <skill id="OneHanded" value="80" /> <skill id="TwoHanded" value="280" /> <skill id="Polearm" value="40" /> <skill id="Bow" value="80" /> <skill id="Crossbow" value="15" /> <skill id="Throwing" value="220" /> </skills> <equipmentSet> <equipment slot="Item0" id="Item.western_javelin_3_t4" /> <equipment slot="Item1" id="Item.western_javelin_3_t4" /> <equipment slot="Item2" id="Item.cleaver_2hsword_t3" /> <equipment slot="Body" id="Item.northern_coat_of_plates" /> <equipment slot="Head" id="Item.battanian_noble_helmet_with_feather" /> <equipment slot="Cape" id="Item.armored_bearskin" /> <equipment slot="Gloves" id="Item.reinforced_mail_mitten" /> <equipment slot="Leg" id="Item.plated_strip_boots" /> </equipmentSet> <equipmentSet> <equipment slot="Item0" id="Item.western_javelin_3_t4" /> <equipment slot="Item1" id="Item.western_javelin_3_t4" /> <equipment slot="Item2" id="Item.battania_2hsword_4_t4" /> <equipment slot="Body" id="Item.kilt_over_plated_leather" /> <equipment slot="Head" id="Item.battanian_plated_noble_helmet" /> <equipment slot="Cape" id="Item.wolf_shoulder" /> <equipment slot="Gloves" id="Item.reinforced_padded_mitten" /> <equipment slot="Leg" id="Item.battania_fur_boots" /> </equipmentSet> </NPCCharacter> </NPCCharacters> I have added custom troops to the game already but I cannot get these units to appear in game. My game doesn't crash as if there's broken code. They just don't show in the encyclopedia at all. I appreciate any help you can offer! Link to comment Share on other sites More sharing options...
BadgerBrownCoat Posted May 4, 2020 Share Posted May 4, 2020 (edited) hey luke; it *may* be that you didn't tell it to "look" for the troops? take a look at this and see if we skipped a step:https://www.nexusmods.com/mountandblade2bannerlord/articles/135( you don't have to download the example template, but you can double-check you included "pointers" to make up jargon) but both spawning and the encyclopedia will look for links you may not have specified? Edited May 4, 2020 by BadgerBrownCoat Link to comment Share on other sites More sharing options...
Recommended Posts