Troop tree error on 1.6.4

Users who are viewing this thread

metal fake

Recruit
can someone help me, on 1.6.4 after hotfix, my troops mod keeps getting error and ctd.. i try to check everything, but nothing seems out of ordinary..

here is the error window :
https://pasteboard.co/PyHrs1WFFfJq.png

the xml files until node 100 is :

<?xml version="1.0" encoding="utf-8"?>
<NPCCharacters>
<NPCCharacter id="looter_fm" default_group="Infantry" is_female="True" name="{=00000020}Looter Girl" level="6" occupation="Bandit" culture="Culture.looters">
<face>
<face_key_template value="BodyProperty.villager_empire" />
</face>
<skills>
<skill id="Athletics" value="25"/>
<skill id="Riding" value="0"/>
<skill id="OneHanded" value="25"/>
<skill id="TwoHanded" value="0"/>
<skill id="Polearm" value="0"/>
<skill id="Bow" value="5"/>
<skill id="Crossbow" value="0"/>
<skill id="Throwing" value="25"/>
</skills>
<Equipments>
<EquipmentRoster civilian="true">
<equipment slot="Item0" id="Item.peasant_2haxe_1_t1" />
<equipment slot="Item2" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.bandit_envelope_dress_v1" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
</EquipmentRoster>
<EquipmentRoster >
<equipment slot="Item0" id="Item.peasant_hammer_1_t1" />
<equipment slot="Item2" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.bandit_envelope_dress_v1" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
</EquipmentRoster >
<EquipmentRoster >
<equipment slot="Item0" id="Item.peasant_hatchet_1_t1" />
<equipment slot="Body" id="Item.bandit_envelope_dress_v2" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
</EquipmentRoster >
<EquipmentRoster>
<equipment slot="Item0" id="Item.seax" />
<equipment slot="Item1" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.bandit_leather_water_flask" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
<equipment slot="Gloves" id="Item.armwraps" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.peasant_hammer_2_t1" />
<equipment slot="Body" id="Item.vlandia_bandit_c" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
<equipment slot="Head" id="Item.wrapped_headcloth" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.peasant_hammer_2_t1" />
<equipment slot="Item1" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.torn_bandit_clothes" />
<equipment slot="Leg" id="Item.leather_shoes" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.peasant_pickaxe_1_t1" />
<equipment slot="Body" id="Item.bandit_gambeson" />
<equipment slot="Leg" id="Item.leather_shoes" />
<equipment slot="Head" id="Item.pilgrim_hood" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.peasant_sickle_1_t1" />
<equipment slot="Item2" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.bandit_envelope_dress_v1" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
<equipment slot="Head" id="Item.pilgrim_hood" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.falchion_sword_t2" />
<equipment slot="Body" id="Item.bandit_envelope_dress_v2" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.vlandia_mace_1_t2" />
<equipment slot="Item1" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.bandit_leather_water_flask" />
<equipment slot="Head" id="Item.pilgrim_hood" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
<equipment slot="Gloves" id="Item.armwraps" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.peasant_pitchfork_2_t1" />
<equipment slot="Body" id="Item.vlandia_bandit_c" />
<equipment slot="Leg" id="Item.wrapped_shoes" />
<equipment slot="Head" id="Item.wrapped_headcloth" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.small_spurred_axe_t2" />
<equipment slot="Body" id="Item.torn_bandit_clothes" />
<equipment slot="Leg" id="Item.leather_shoes" />
<equipment slot="Head" id="Item.wrapped_headcloth" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.peasant_hammer_1_t1" />
<equipment slot="Item1" id="Item.throwing_stone" />
<equipment slot="Body" id="Item.bandit_gambeson" />
<equipment slot="Leg" id="Item.leather_shoes" />
<equipment slot="Head" id="Item.wrapped_headcloth" />
</EquipmentRoster>
</Equipments>
<upgrade_targets>
<upgrade_target id="NPCCharacter.camp_follower" />
</upgrade_targets>

that upgrade targets is another xml files.. and here is the troop tree :

<?xml version="1.0" encoding="utf-8"?>
<NPCCharacters>
<NPCCharacter id="camp_follower"
default_group="Infantry"
is_female="true"
level="11"
name="{=Camp Follower}Camp Follower"
occupation="Bandit"
culture="Culture.forest_bandits">
<face>
<face_key_template value="BodyProperty.villager_empire" />
</face>
<skills >
<skill id="Athletics" value="50"/>
<skill id="Riding" value="0"/>
<skill id="OneHanded" value="50"/>
<skill id="TwoHanded" value="0"/>
<skill id="Polearm" value="50"/>
<skill id="Bow" value="0"/>
<skill id="Crossbow" value="0"/>
<skill id="Throwing" value="50"/>
</skills>
<upgrade_targets>
<upgrade_target id="NPCCharacter.camp_hunter"/>
<upgrade_target id="NPCCharacter.camp_fighter"/>
</upgrade_targets>
<Equipments>
<EquipmentRoster>
<equipment slot="Item0" id="Item.empire_mace_1_t2"/>
<equipment slot="Item1" id="Item.western_javelin_1_t2"/>
<equipment slot="Body" id="Item.studded_leather_waistcoat"/>
<equipment slot="Gloves" id="Item.padded_vambrace"/>
<equipment slot="Leg" id="Item.empire_horseman_boots"/>
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.western_spear_1_t2"/>
<equipment slot="Item1" id="Item.falchion_sword_t2"/>
<equipment slot="Body" id="Item.studded_leather_waistcoat"/>
<equipment slot="Gloves" id="Item.padded_vambrace"/>
<equipment slot="Leg" id="Item.empire_horseman_boots"/>
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.western_spear_1_t2"/>
<equipment slot="Body" id="Item.studded_leather_waistcoat"/>
<equipment slot="Gloves" id="Item.padded_vambrace"/>
<equipment slot="Leg" id="Item.empire_horseman_boots"/>
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0" id="Item.empire_mace_1_t2"/>
<equipment slot="Item1" id="Item.western_javelin_1_t2"/>
<equipment slot="Body" id="Item.studded_leather_waistcoat"/>
<equipment slot="Gloves" id="Item.padded_vambrace"/>
<equipment slot="Leg" id="Item.empire_horseman_boots"/>
</EquipmentRoster>
<EquipmentRoster civilian="true">
<equipment slot="Item0" id="Item.peasant_2haxe_1_t1"/>
<equipment slot="Item2" id="Item.throwing_stone"/>
<equipment slot="Body" id="Item.bandit_envelope_dress_v1"/>
<equipment slot="Leg" id="Item.wrapped_shoes"/>
</EquipmentRoster>
</Equipments>
</NPCCharacter>
 

metal fake

Recruit
Okay i found the problem.. it seems in new version, you can't put the upgrade path lines at the end of NPCCharacters code.. it has to be in between skill lines and equipment lines..

I have just reposition the lines and it works just fine..
 

CrazyElf

Sergeant
Okay i found the problem.. it seems in new version, you can't put the upgrade path lines at the end of NPCCharacters code.. it has to be in between skill lines and equipment lines..

I have just reposition the lines and it works just fine..

Is there any documentation on this from Taleworlds?
 
Top Bottom