(Beginner Question) Is there a way to customize unit equipment quality in the XML?

Users who are viewing this thread

CrazyElf

Sergeant
Is there a way in the game to modify the XMLs of individual units to modify the equipment quality of that unit?

To give an example, here is the Banner Knight.

<NPCCharacter
id="vlandian_banner_knight"
default_group="Cavalry"
level="31"
name="{=bTApMxWr}Vlandian Banner Knight"
occupation="Soldier"
culture="Culture.vlandia">
<face>
<face_key_template
value="BodyProperty.fighter_vlandia" />
</face>
<skills>
<skill
id="Athletics"
value="60" />
<skill
id="Riding"
value="200" />
<skill
id="OneHanded"
value="220" />
<skill
id="TwoHanded"
value="60" />
<skill
id="Polearm"
value="260" />
<skill
id="Bow"
value="25" />
<skill
id="Crossbow"
value="60" />
<skill
id="Throwing"
value="30" />
</skills>
<Equipments>
<EquipmentRoster>
<equipment
slot="Item0"
id="Item.vlandia_lance_2_t4" />
<equipment
slot="Item1"
id="Item.heavy_horsemans_kite_shield" />
<equipment
slot="Item2"
id="Item.vlandia_sword_4_t4" />
<equipment
slot="Body"
id="Item.sturgian_fortified_armor" />
<equipment
slot="Leg"
id="Item.mail_chausses" />
<equipment
slot="Head"
id="Item.full_helm_over_mail_coif" />
<equipment
slot="Gloves"
id="Item.lordly_mail_mitten" />
<equipment
slot="Cape"
id="Item.empire_cape_a" />
</EquipmentRoster>
<EquipmentRoster>
<equipment
slot="Item0"
id="Item.vlandia_lance_2_t4" />
<equipment
slot="Item1"
id="Item.heavy_horsemans_kite_shield" />
<equipment
slot="Item2"
id="Item.vlandia_axe_2_t4" />
<equipment
slot="Body"
id="Item.sturgian_fortified_armor" />
<equipment
slot="Leg"
id="Item.mail_chausses" />
<equipment
slot="Head"
id="Item.full_helm_over_mail_coif" />
<equipment
slot="Gloves"
id="Item.lordly_mail_mitten" />
<equipment
slot="Cape"
id="Item.empire_cape_a" />
</EquipmentRoster>
<EquipmentRoster>
<equipment
slot="Item0"
id="Item.vlandia_lance_2_t4" />
<equipment
slot="Item1"
id="Item.heavy_horsemans_kite_shield" />
<equipment
slot="Item2"
id="Item.vlandia_mace_2_t4" />
<equipment
slot="Body"
id="Item.sturgian_fortified_armor" />
<equipment
slot="Leg"
id="Item.mail_chausses" />
<equipment
slot="Head"
id="Item.full_helm_over_mail_coif" />
<equipment
slot="Gloves"
id="Item.lordly_mail_mitten" />
<equipment
slot="Cape"
id="Item.empire_cape_a" />
</EquipmentRoster>
<EquipmentSet
id="vlandia_troop_civilian_template_t3"
civilian="true" />
<equipment
slot="Horse"
id="Item.t3_vlandia_horse" />
<equipment
slot="HorseHarness"
id="Item.chain_barding" />
</Equipments>
</NPCCharacter>


Is there a way to change the quality of equipment in the XML?

To give an example of the equipment quality (from the Wiki), would it be possible to give the knights all Hardened polearms equipment?

Polearms
ModifierDamageSpeedCost
Balanced+3+2+450%
Hardened+2-+250%
Bent--1-20%
Heavy+1-2-30%
Splintered-1-1-50%
Cracked-6-3-70%
 
Back
Top Bottom