<NPCCharacter id="chael_nadra_recruit_f" 兵种ID,也就是config中你设置的兵种需要调用的ID名
default_group="Infantry" 定义兵种类型,此处为步兵
is_female="true" 性别
level="6" 等级
civilianTemplate="NPCCharacter.vlandia_troop_civilian_template_t1" 模板
name="{=0000001}Chael Nad'ra" 名称,此处可直接中文修改你想取的名称
occupation="Soldier"
is_basic_troop="false"
culture="Culture.neutral_culture"> 定义文化,作者这里设置了中立文化,用了固定的脸模,你可以设置不同阵营的文化,想随机的话可以在蓝字套用成你喜欢的文化中的外貌模板,模板可以参考原版兵种,比如库塞特脸模 <face_key_template value="NPCCharacter.villager_khuzait" />
<face>
<BodyProperties version="4" age="22.01" weight="0.3" build="0.01" key="0000040000FC3001287644075661326233C387585545552284566C438364514302304724F35355650000000000000FFE00000000000000000000000050501000" />
<BodyPropertiesMax version="4" age="33.01" weight="0.3" build="0.01" key="0022840FC0FC3010A97B966BAAA6A79686E8889B96BAB8984BBBBF9D88DA774802704724F796C9A80000000000000FFE00000000000000000000000050E04000" />
</face>
<skills>技能
<skill id="Athletics" value="40" />
<skill id="Riding" value="20" />
<skill id="OneHanded" value="60" />
<skill id="TwoHanded" value="60" />
<skill id="Polearm" value="40" />
<skill id="Bow" value="40" />
<skill id="Crossbow" value="10" />
<skill id="Throwing" value="5" />
</skills>
<equipmentSet>装备套装1
<equipment slot="Item0" id="Item.cn_sword_1_t1" />
<equipment slot="Head" id="Item.cn_hood" />
<equipment slot="Body" id="Item.empire_short_dress" />
<equipment slot="Gloves" id="Item.northern_brass_bracers" />
<equipment slot="Leg" id="Item.woven_leather_boots" />
</equipmentSet>
<equipmentSet>装备套装2
<equipment slot="Item0" id="Item.cn_sword_2_t1" />
<equipment slot="Head" id="Item.cn_hood" />
<equipment slot="Body" id="Item.empire_short_dress" />
<equipment slot="Gloves" id="Item.northern_brass_bracers" />
<equipment slot="Leg" id="Item.woven_leather_boots" />
</equipmentSet>
<upgrade_targets>兵种树
<upgrade_target id="NPCCharacter.chael_nadra_fighter_f" />下一级升级成xxxx,红字部分填兵种ID
<upgrade_target id="NPCCharacter.chael_nadra_archer_f" />下一级升级成xxxxx,红字部分填需要兵种ID
</upgrade_targets>
</NPCCharacter>
同理,ad_items可以增加你的自定义装备。
所以如果想要完全自定义,建议大家以此模组为模板,建立自己的mod,防止将来更新时覆盖了自己的数据。原版装备和兵种的文件在如下路径
在Mount & Blade II Bannerlord\Modules\SandBoxCore\ModuleData下
装备代码 spitems.xml