I am modding spnpccharacters.xml
Modding skill troops is working (it doesn't show skills below 0 in popup information but the skills seems to apply)
Inventory is more troublesome, when testing troops on custom battle mod sometimes I get strange results.
For example
This troops always wear clothes while this
seems to work....they are shirtless people but with cloak
Also former cavalry troops after I put them in infantry default group and remove their horse from inventory sometimes get a horse anyway! Also for no reason they are super slow because very low riding skil since they aren't supposed to be mounted but they get very high acceleration when an enemy is near.
I have no idea where this free stuff comes from.
Modding skill troops is working (it doesn't show skills below 0 in popup information but the skills seems to apply)
Inventory is more troublesome, when testing troops on custom battle mod sometimes I get strange results.
For example
<NPCCharacter id="battanian_volunteer"
default_group="Infantry"
level="6"
name="{=GUQ3zfg2}Battanian Volunteer"
occupation="Soldier"
is_basic_troop="true"
culture="Culture.battania">
<face>
<face_key_template value="BodyProperty.fighter_battania" />
</face>
<skills>
<skill id="Athletics"
value="-450" />
<skill id="Riding"
value="5" />
<skill id="OneHanded"
value="-200" />
<skill id="TwoHanded"
value="-200" />
<skill id="Polearm"
value="-200" />
<skill id="Bow"
value="-100" />
<skill id="Crossbow"
value="0" />
<skill id="Throwing"
value="-50" />
</skills>
<upgrade_targets>
<upgrade_target id="NPCCharacter.battanian_clanwarrior" />
<upgrade_target id="NPCCharacter.battanian_woodrunner" />
</upgrade_targets>
<Equipments>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.momos_sickle" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.momos_sickle" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.momos_hammer" />
</EquipmentRoster>
</Equipments>
</NPCCharacter>
default_group="Infantry"
level="6"
name="{=GUQ3zfg2}Battanian Volunteer"
occupation="Soldier"
is_basic_troop="true"
culture="Culture.battania">
<face>
<face_key_template value="BodyProperty.fighter_battania" />
</face>
<skills>
<skill id="Athletics"
value="-450" />
<skill id="Riding"
value="5" />
<skill id="OneHanded"
value="-200" />
<skill id="TwoHanded"
value="-200" />
<skill id="Polearm"
value="-200" />
<skill id="Bow"
value="-100" />
<skill id="Crossbow"
value="0" />
<skill id="Throwing"
value="-50" />
</skills>
<upgrade_targets>
<upgrade_target id="NPCCharacter.battanian_clanwarrior" />
<upgrade_target id="NPCCharacter.battanian_woodrunner" />
</upgrade_targets>
<Equipments>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.momos_sickle" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.momos_sickle" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.momos_hammer" />
</EquipmentRoster>
</Equipments>
</NPCCharacter>
This troops always wear clothes while this
<NPCCharacter id="battanian_clanwarrior"
default_group="Infantry"
level="11"
name="{=VtlvxEs7}Battanian Clan Warrior"
occupation="Soldier"
culture="Culture.battania">
<face>
<face_key_template value="BodyProperty.fighter_battania" />
</face>
<skills>
<skill id="Athletics"
value="-100" />
<skill id="Riding"
value="20" />
<skill id="OneHanded"
value="-100" />
<skill id="TwoHanded"
value="-100" />
<skill id="Polearm"
value="-100" />
<skill id="Bow"
value="0" />
<skill id="Crossbow"
value="0" />
<skill id="Throwing"
value="0" />
</skills>
<upgrade_targets>
<upgrade_target id="NPCCharacter.battanian_trained_warrior" />
<upgrade_target id="NPCCharacter.battanian_scout" />
</upgrade_targets>
<Equipments>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.battania_sword_1_t2" />
<equipment slot="Cape"
id="Item.battania_civil_cloak" />
<equipment slot="Leg"
id="Item.rough_tied_boots" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.peasant_pickaxe_1_t1" />
<equipment slot="Gloves"
id="Item.buttoned_leather_bracers" />
<equipment slot="Cape"
id="Item.battania_cloak_furr" />
<equipment slot="Leg"
id="Item.rough_tied_boots" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.celtic_dagger" />
<equipment slot="Cape"
id="Item.hood" />
<equipment slot="Leg"
id="Item.ragged_boots" />
</EquipmentRoster>
</Equipments>
</NPCCharacter>
default_group="Infantry"
level="11"
name="{=VtlvxEs7}Battanian Clan Warrior"
occupation="Soldier"
culture="Culture.battania">
<face>
<face_key_template value="BodyProperty.fighter_battania" />
</face>
<skills>
<skill id="Athletics"
value="-100" />
<skill id="Riding"
value="20" />
<skill id="OneHanded"
value="-100" />
<skill id="TwoHanded"
value="-100" />
<skill id="Polearm"
value="-100" />
<skill id="Bow"
value="0" />
<skill id="Crossbow"
value="0" />
<skill id="Throwing"
value="0" />
</skills>
<upgrade_targets>
<upgrade_target id="NPCCharacter.battanian_trained_warrior" />
<upgrade_target id="NPCCharacter.battanian_scout" />
</upgrade_targets>
<Equipments>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.battania_sword_1_t2" />
<equipment slot="Cape"
id="Item.battania_civil_cloak" />
<equipment slot="Leg"
id="Item.rough_tied_boots" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.peasant_pickaxe_1_t1" />
<equipment slot="Gloves"
id="Item.buttoned_leather_bracers" />
<equipment slot="Cape"
id="Item.battania_cloak_furr" />
<equipment slot="Leg"
id="Item.rough_tied_boots" />
</EquipmentRoster>
<EquipmentRoster>
<equipment slot="Item0"
id="Item.celtic_dagger" />
<equipment slot="Cape"
id="Item.hood" />
<equipment slot="Leg"
id="Item.ragged_boots" />
</EquipmentRoster>
</Equipments>
</NPCCharacter>
seems to work....they are shirtless people but with cloak
Also former cavalry troops after I put them in infantry default group and remove their horse from inventory sometimes get a horse anyway! Also for no reason they are super slow because very low riding skil since they aren't supposed to be mounted but they get very high acceleration when an enemy is near.
I have no idea where this free stuff comes from.