先用官方工具解压即运行unpack_all.bat
需要4个文件夹 text ui unit_models unit_sprites
在unit_models\_units\en_pplate_plate下找到:armored_clergy_lod0.mesh armored_clergy_lod1.mesh
armored_clergy_lod2.mesh armored_clergy_ug_lod.mesh
armored_clergy_ug1_lod1.mesh
armored_clergy_ug1_lod2.mesh
复制这几个文件在它们文件名前面都加上dismounted_ 再重新粘贴到原文件夹.
在data\unit_sprites找到这些文件:
denmark_armored_clergy_sprite.spr denmark_armored_clergy_ug1_sprite.spr
denmark和_armored之间添加_dimounted
在ui文件夹找到'unit_info'和'units'这2个文件夹,unit_info\denmark找到armored_clergy_info.tga ,复制和重命名为dismounted_armored_clergy_info.tga
在units\denmark找到#armored_clergy.tga复制和重命名为#dismounted_armored_clergy.tga
unit_info 和 units
armored_clergy_info.tga 变成 dismounted_armored_clergy_info.tga
armored_clergy.tga 变成 dismounted_armored_clergy.tga
开始修改'export_descr_unit.txt'
type Armored Clergy
dictionary Armored_Clergy ; Norse War Clerics
category cavalry
class heavy
voice_type Heavy
banner faction main_cavalry
banner holy crusade_cavalry
soldier Armored_Clergy, 32, 0, 1
mount mailed horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw, can_formed_charge, knight
formation 2, 4.4, 3, 6, 2, square, wedge
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, melee_blade, blunt, mace, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 8, 7, 4, metal
;stat_armour_ex 8, 9, 0, 0, 7, 4, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 6
stat_ground 0, -2, -4, 0
stat_mental 9, normal, trained
stat_charge_dist 45
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 750, 250, 120, 95, 750, 4, 180
armour_ug_levels 4, 5
armour_ug_models Armored_Clergy, Armored_Clergy_ug1
ownership denmark
era 2 denmark
;unit_info 10, 0, 19
变成
type Armored Clergy
dictionary Armored_Clergy ; Norse War Clerics
category cavalry
class heavy
voice_type Heavy
banner faction main_cavalry
banner holy crusade_cavalry
soldier Armored_Clergy, 32, 0, 1
mount mailed horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw, can_formed_charge, knight
formation 2, 4.4, 3, 6, 2, square, wedge
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, melee_blade, blunt, mace, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 8, 7, 4, metal
;stat_armour_ex 8, 9, 0, 0, 7, 4, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 6
stat_ground 0, -2, -4, 0
stat_mental 9, normal, trained
stat_charge_dist 45
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 750, 250, 120, 95, 750, 4, 180
armour_ug_levels 4, 5
armour_ug_models Armored_Clergy, Armored_Clergy_ug1
ownership denmark
era 2 denmark
;unit_info 10, 0, 19
type Dismounted Armored Clergy
dictionary Dismounted_Armored_Clergy ; Dismounted Norse War Clerics
category infantry
class heavy
voice_type Heavy
banner faction main_cavalry
banner holy crusade_cavalry
soldier Dismounted_Huscarls, 46, 0, 1
attributes sea_faring, hide_forest, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 6, square
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, melee_blade, blunt, mace, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 8, 7, 4, metal
;stat_armour_ex 8, 9, 0, 0, 7, 4, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 6
stat_ground 0, -2, -4, 0
stat_mental 9, normal, trained
stat_charge_dist 45
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 750, 250, 120, 95, 750, 4, 180
armour_ug_levels 4, 5
armour_ug_models Dismounted_Armored_Clergy, Dismounted_Armored_Clergy_ug1
ownership denmark
era 2 denmark
;unit_info 10, 0, 19
然后修改'export_descr_buildings.txt'
abbey city requires factions { normans, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain,
sicily, milan, }
{
capability
{
agent priest 0 requires factions { normans, denmark, scotland, hre, france, england, }
agent priest 0 requires factions { hungary, poland, }
agent priest 0 requires factions { papal_states, portugal, spain, sicily, milan, venice, }
recruit_pool "Armored Clergy" 1 0.2 2 0 requires factions { denmark, }
happiness_bonus bonus 2
religion_level bonus 3
agent_limit priest 2
pope_disapproval 1
}
material wooden
construction 3
cost 3200
settlement_min city
upgrades
{
cathedral
}
}
变成
abbey city requires factions { normans, denmark, hre, scotland, france, england, hungary, poland, venice, papal_states, portugal, spain,
sicily, milan, }
{
capability
{
agent priest 0 requires factions { normans, denmark, scotland, hre, france, england, }
agent priest 0 requires factions { hungary, poland, }
agent priest 0 requires factions { papal_states, portugal, spain, sicily, milan, venice, }
recruit_pool "Armored Clergy" 1 0.2 2 0 requires factions { denmark, }
recruit_pool "Dismounted Armored Clergy" 1 0.2 2 0 requires factions { denmark, }
happiness_bonus bonus 2
religion_level bonus 3
agent_limit priest 2
pope_disapproval 1
}
material wooden
construction 3
cost 3200
settlement_min city
upgrades
{
cathedral
}
}
接着修改'export_units.txt'
{Armored_Clergy}Norse War Clerics
{Armored_Clergy_descr}Scandinavian Bishops are not your average men of the cloth. These clerics when roused to righteous anger would ritually place upon their altar their cassock and mitre and gird themselves with the accoutrements of war. Leading a retinue to rival a king, these clerics are outlawed in Sweden but still deliver holy chastisement to the foes of Denmark
{Armored_Clergy_descr_short}Heavily armoured Bishop and cavalry retinue. Encased in plate armour and wielding foe-crushing maces
变成
{Armored_Clergy}Norse War Clerics
{Armored_Clergy_descr}Scandinavian Bishops are not your average men of the cloth. These clerics when roused to righteous anger would ritually place upon their altar their cassock and mitre and gird themselves with the accoutrements of war. Leading a retinue to rival a king, these clerics are outlawed in Sweden but still deliver holy chastisement to the foes of Denmark
{Armored_Clergy_descr_short}Heavily armoured Bishop and cavalry retinue. Encased in plate armour and wielding foe-crushing maces
{Dismounted_Armored_Clergy}Dismounted Norse War Clerics
{Dismounted_Armored_Clergy_descr}Scandinavian Bishops are not your average men of the cloth. These clerics when roused to righteous anger would ritually place upon their altar their cassock and mitre and gird themselves with the accoutrements of war. Leading a retinue to rival a king, these clerics are outlawed in Sweden but still deliver holy chastisement to the foes of Denmark
{Dismounted_Armored_Clergy_descr_short}Heavily armoured Bishop and infantry retinue. Encased in plate armour and wielding foe-crushing maces
再接着修改'battle_models.modeldb'
14 armored_clergy
1 3
59 unit_models/_Units/EN_Pplate_Plate/armored_clergy_lod0.mesh 121
59 unit_models/_Units/EN_Pplate_Plate/armored_clergy_lod1.mesh 1225
59 unit_models/_Units/EN_Pplate_Plate/armored_clergy_lod2.mesh 6400
1 7 denmark
74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_denmark.texture 73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
46 unit_sprites/denmark_Armored_Clergy_sprite.spr
1 7 denmark
66 unit_models/AttachmentSets/Final Priest Heads_denmark_diff.texture
66 unit_models/AttachmentSets/Final Priest Heads_denmark_norm.texture
0 1 5 Horse
12 MTW2_HR_Mace
0 2 17 MTW2_Mace_Primary
14 fs_test_shield
0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
18 armored_clergy_ug1
1 3
63 unit_models/_Units/EN_Pplate_Plate/armored_clergy_ug1_lod0.mesh 121
63 unit_models/_Units/EN_Pplate_Plate/armored_clergy_ug1_lod1.mesh 1225 63 unit_models/_Units/EN_Pplate_Plate/armored_clergy_ug1_lod2.mesh 6400
1 7 denmark
74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_denmark.texture 73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture 50 unit_sprites/denmark_Armored_Clergy_ug1_sprite.spr
1 7 denmark
66 unit_models/AttachmentSets/Final Priest Heads_denmark_diff.texture
66 unit_models/AttachmentSets/Final Priest Heads_denmark_norm.texture
0
1 5 Horse
12 MTW2_HR_Mace
0 2 17 MTW2_Mace_Primary
14 fs_test_shield
0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
修改成
14 armored_clergy
1 3
59 unit_models/_Units/EN_Pplate_Plate/armored_clergy_lod0.mesh 121
59 unit_models/_Units/EN_Pplate_Plate/armored_clergy_lod1.mesh 1225
59 unit_models/_Units/EN_Pplate_Plate/armored_clergy_lod2.mesh 6400
1 7 denmark
74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_denmark.texture 73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture 46 unit_sprites/denmark_Armored_Clergy_sprite.spr
1 7 denmark
66 unit_models/AttachmentSets/Final Priest Heads_denmark_diff.texture
66 unit_models/AttachmentSets/Final Priest Heads_denmark_norm.texture
0 1 5 Horse
12 MTW2_HR_Mace
0 2 17 MTW2_Mace_Primary
14 fs_test_shield
0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
18 armored_clergy_ug1
1 3
63 unit_models/_Units/EN_Pplate_Plate/armored_clergy_ug1_lod0.mesh 121
63 unit_models/_Units/EN_Pplate_Plate/armored_clergy_ug1_lod1.mesh 1225 63 unit_models/_Units/EN_Pplate_Plate/armored_clergy_ug1_lod2.mesh 6400
1 7 denmark
74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_denmark.texture 73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture 50 unit_sprites/denmark_Armored_Clergy_ug1_sprite.spr
1 7 denmark
66 unit_models/AttachmentSets/Final Priest Heads_denmark_diff.texture
66 unit_models/AttachmentSets/Final Priest Heads_denmark_norm.texture
0 1 5 Horse
12 MTW2_HR_Mace
0 2 17 MTW2_Mace_Primary
14 fs_test_shield
0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
25 dismounted_armored_clergy
1 3
70 unit_models/_Units/EN_Pplate_Plate/dismounted_armored_clergy_lod0.mesh 121
70 unit_models/_Units/EN_Pplate_Plate/dismounted_armored_clergy_lod1.mesh 1225
70 unit_models/_Units/EN_Pplate_Plate/dismounted_armored_clergy_lod2.mesh 6400
1 7 denmark
74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_denmark.texture
73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
57 unit_sprites/denmark_dismounted_Armored_Clergy_sprite.spr 1 7 denmark
66 unit_models/AttachmentSets/Final Priest Heads_denmark_diff.texture
66 unit_models/AttachmentSets/Final Priest Heads_denmark_norm.texture
0 1 4 none
12 MTW2_HR_Mace
0 2 17 MTW2_Mace_Primary
14 fs_test_shield
0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
29 dismounted_armored_clergy_ug1
1 3
74 unit_models/_Units/EN_Pplate_Plate/dismounted_armored_clergy_ug1_lod0.mesh 121
74 unit_models/_Units/EN_Pplate_Plate/dismounted_armored_clergy_ug1_lod1.mesh 1225
74 unit_models/_Units/EN_Pplate_Plate/dismounted_armored_clergy_ug1_lod2.mesh 6400
1 7 denmark
74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_denmark.texture
73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
61 unit_sprites/denmark_dismounted_Armored_Clergy_ug1_sprite.spr
1 7 denmark
66 unit_models/AttachmentSets/Final Priest Heads_denmark_diff.texture
66 unit_models/AttachmentSets/Final Priest Heads_denmark_norm.texture
0 1 4 none
12 MTW2_HR_Mace
0 2 17 MTW2_Mace_Primary
14 fs_test_shield
0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
友情提示:有几个软件是修改必需的
strings_bin_converter.rar
python-2.5.msi (下载网址在strings_bin_converter.rar的文档里)
另外修改时千万要细心再细心,特别是空格。否则文件出错会进不去游戏,建议先备份!
相关文章
更多+- 01/05
- 01/05
- 01/05
- 01/03
- 01/03