А именно юнита Wlocznicy из фракции Польши сделать наемником.
type Wlocznicy
dictionary Wlocznicy ; Peasants
category infantry
class light
voice_type Light
banner faction main_infantry
banner holy crusade
soldier polen_wlocznicy, 72, 0, 0.8
attributes sea_faring, hide_forest, very_hardy, can_withdraw, is_peasant, peasant, free_upkeep_unit, stakes
formation 1.4, 1.4, 2.8, 2.8, 6, square
stat_health 1, 0
stat_pri 12, 3, no, 0, 0, melee, melee_simple, piercing, spear, 25, 1
stat_pri_attr light_spear, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
stat_sec_attr no
stat_pri_armour 4, 4, 5, flesh
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 1, -2, 3, 2
stat_mental 20, impetuous, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1000, 150, 150, 150, 1000, 0, 0
armour_ug_levels 1, 2, 3
armour_ug_models polen_wlocznicy
ownership poland, slave
recruit_priority_offset 0
Вам надо добавить строку mercenary_unit к (attributes) и ownership - (фракция к которой будет принадлежать юнит, также должна обязательно включать фракцию slave).
1.и вставить в EDU:
type Wlocznicy
dictionary Wlocznicy ; Peasants
category infantry
class light
voice_type Light
banner faction main_infantry
banner holy crusade
soldier polen_wlocznicy, 72, 0, 0.8
attributes sea_faring, hide_forest, very_hardy, can_withdraw, is_peasant, peasant, free_upkeep_unit, stakes, mercenary_unit
formation 1.4, 1.4, 2.8, 2.8, 6, square
stat_health 1, 0
stat_pri 12, 3, no, 0, 0, melee, melee_simple, piercing, spear, 25, 1
stat_pri_attr light_spear, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
stat_sec_attr no
stat_pri_armour 4, 4, 5, flesh
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 1, -2, 3, 2
stat_mental 20, impetuous, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1000, 150, 150, 150, 1000, 0, 0
armour_ug_levels 1, 2, 3
armour_ug_models polen_wlocznicy
ownership poland, mongols, slave
recruit_priority_offset 0
жжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжж
В battle_models найдите следующую запись - (в EDU определив по armour_ug_models polen_wlocznicy ).
15 polen_wlocznicy
1 1
53 unit_models/_Units/polen/RM_polen_wlocznicy_lod0.mesh 6400
2
6 poland
60 unit_models/_Units/polen/textures/RM_polen_wlocznicy.texture
67 unit_models/_Units/polen/textures/RM_polen_wlocznicy_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
5 slave
60 unit_models/_Units/polen/textures/RM_polen_wlocznicy.texture
67 unit_models/_Units/polen/textures/RM_polen_wlocznicy_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
2
6 poland
66 unit_models/AttachmentSets/Final Special Heads_poland_diff.texture
66 unit_models/AttachmentSets/Final Special Heads_poland_norm.texture 0
5 slave
66 unit_models/AttachmentSets/Final Special Heads_poland_diff.texture
66 unit_models/AttachmentSets/Final Special Heads_poland_norm.texture 0
1
4 None
10 MTW2_Spear 0
2
18 MTW2_Spear_primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
2.добавив дополнительные строки(4 merc) вставить в MDB:
15 polen_wlocznicy
1 1
53 unit_models/_Units/polen/RM_polen_wlocznicy_lod0.mesh 6400
3
6 poland
60 unit_models/_Units/polen/textures/RM_polen_wlocznicy.texture
67 unit_models/_Units/polen/textures/RM_polen_wlocznicy_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
4 merc
60 unit_models/_Units/polen/textures/RM_polen_wlocznicy.texture
67 unit_models/_Units/polen/textures/RM_polen_wlocznicy_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
5 slave
60 unit_models/_Units/polen/textures/RM_polen_wlocznicy.texture
67 unit_models/_Units/polen/textures/RM_polen_wlocznicy_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
3
6 poland
66 unit_models/AttachmentSets/Final Special Heads_poland_diff.texture
66 unit_models/AttachmentSets/Final Special Heads_poland_norm.texture 0
4 merc
64 unit_models/AttachmentSets/Final Special Heads_merc_diff.texture
64 unit_models/AttachmentSets/Final Special Heads_merc_norm.texture 0
5 slave
66 unit_models/AttachmentSets/Final Special Heads_poland_diff.texture
66 unit_models/AttachmentSets/Final Special Heads_poland_norm.texture 0
1
4 None
10 MTW2_Spear 0
2
18 MTW2_Spear_primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
жжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжж
3.В descr_mercenaries найдите регион, для которого вы хотите сделать возможным для найма наемника:
pool Polen
regions Pomorie_Province Polonie_Province Povislenie_Province Masowia_Province Silesia_Province Moravia_Province
unit Varyagwoi exp 0 cost 1000 replenish 0.01 - 0.06 max 1 initial 0
unit Wlocznicy exp 3 cost 2000 replenish 0.01 - 0.06 max 2 initial 1
жжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжж
4. вставьте иконки юнита в папку "merc" в data/ui/unit_info и /units.
жжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжжж