There is a model.db syntax checker around (cannot find the download, but it is in the download section here on TWC). This can be very helpful: Modify models.db by changing the entries, but do not touch the numbers at the beginning of each line. When you have made your changes for that unit let the syntax checker run, it will tell you which character numbers to place where. As a side effect, if anything is wrong you can exclude the numbers to be the culprit, what saves you endless hours of counting letters.
Another thing: Making new mounted units that way is pretty easy. In EDU change the entry
Code:
type Viking Raiders
dictionary Viking_Raiders ; Viking Raiders
category infantry
class light
voice_type Light
banner faction main_infantry
banner holy crusade
soldier Viking_Raiders, 60, 0, 0.3
attributes sea_faring, hide_forest, hardy, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 9, 2, no, 0, 0, melee, melee_blade, slashing, axe, 0, 0.35
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 0.35
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 0, 16, 6, flesh
;stat_armour_ex 0, 4, 5, 7, 3, 6, 6, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 9, normal, untrained
stat_charge_dist 40
stat_fire_delay -2500
stat_food 60, 300
stat_cost 1, 480, 15, 85, 65, 480, 4, 120 ;KRP 1, 480, 155, 85, 65, 480, 4, 120
armour_ug_levels 0, 1, 2, 3
armour_ug_models Viking_Raiders, Viking_Raiders_ug1, Viking_Raiders_ug2, Viking_Raiders_ug3
ownership sweden, denmark, slave
era 0 sweden, denmark
;unit_info 9, 0, 9
to:
Code:
type Viking Raiders
dictionary Viking_Raiders ; Viking Raiders
category cavalry
class light
voice_type Light
banner faction main_infantry
banner holy crusade
soldier Viking_Raiders, 60, 0, 0.3
mount heavy horse
attributes sea_faring, hide_forest, hardy, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 9, 2, no, 0, 0, melee, melee_blade, slashing, axe, 0, 0.35
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 0.35
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 0, 16, 6, flesh
;stat_armour_ex 0, 4, 5, 7, 3, 6, 6, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 9, normal, untrained
stat_charge_dist 40
stat_fire_delay -2500
stat_food 60, 300
stat_cost 1, 480, 15, 85, 65, 480, 4, 120 ;KRP 1, 480, 155, 85, 65, 480, 4, 120
armour_ug_levels 0, 1, 2, 3
armour_ug_models Viking_Raiders, Viking_Raiders_ug1, Viking_Raiders_ug2, Viking_Raiders_ug3
ownership sweden, denmark, slave
era 0 sweden, denmark
;unit_info 9, 0, 9
in models.db change
Code:
14 viking_raiders
1 4
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod0.mesh 121
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod1.mesh 900
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod2.mesh 2500
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod3.mesh 6400
2
7 denmark
79 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_denmark.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
46 unit_sprites/denmark_Viking_Raiders_sprite.spr
5 slave
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_rebels.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
44 unit_sprites/slave_Viking_Raiders_sprite.spr
2
7 denmark
60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture
60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0
5 slave
58 unit_models/AttachmentSets/Final Danish_slave_diff.texture
58 unit_models/AttachmentSets/Final Danish_slave_norm.texture 0
1
4 None
9 MTW2_Mace 0
2
17 MTW2_Mace_Primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
to
Code:
14 viking_raiders
1 4
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod0.mesh 121
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod1.mesh 900
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod2.mesh 2500
61 unit_models/_Units/EN_Peasant_Padded/viking_raiders_lod3.mesh 6400
2
7 denmark
79 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_denmark.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
46 unit_sprites/denmark_Viking_Raiders_sprite.spr
5 slave
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_rebels.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
44 unit_sprites/slave_Viking_Raiders_sprite.spr
2
7 denmark
60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture
60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0
5 slave
58 unit_models/AttachmentSets/Final Danish_slave_diff.texture
58 unit_models/AttachmentSets/Final Danish_slave_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
done. Now you have the made the Viking raiders mounted. Repeat the process for the upgrade models too.