Hi. Some time ago, I had added Teutonic, Lithuania, Jerusalem to the custom campaign mod 2. It was generally tested with success until recently i realised that it will CTD during battle loading for Frankish Axemen of Jerusalem. i checked the meshes, textures and sprites and they are at the correct folders (original files copied over from Crusades).
My ModelDB for Frankish Axemen:
15 frankish_axemen
1 4
62 unit_models/_Units/EN_Peasant_Padded/frankish_axemen_lod0.mesh 121
62 unit_models/_Units/EN_Peasant_Padded/frankish_axemen_lod1.mesh 900
62 unit_models/_Units/EN_Peasant_Padded/frankish_axemen_lod2.mesh 2500
62 unit_models/_Units/EN_Peasant_Padded/frankish_axemen_lod3.mesh 6400
2
9 jerusalem
81 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_jerusalem.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
49 unit_sprites/jerusalem_Frankish_Axemen_sprite.spr
4 merc
81 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_jerusalem.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
49 unit_sprites/jerusalem_Frankish_Axemen_sprite.spr
2
9 jerusalem
62 unit_models/AttachmentSets/Final Danish_jerusalem_diff.texture
62 unit_models/AttachmentSets/Final Danish_jerusalem_norm.texture 0
4 merc
57 unit_models/AttachmentSets/Final Danish_merc_diff.texture
57 unit_models/AttachmentSets/Final Danish_merc_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
19 frankish_axemen_ug1
1 4
63 unit_models/_Units/EN_Lmail_Hmail/frankish_axemen_ug1_lod0.mesh 121
63 unit_models/_Units/EN_Lmail_Hmail/frankish_axemen_ug1_lod1.mesh 900
63 unit_models/_Units/EN_Lmail_Hmail/frankish_axemen_ug1_lod2.mesh 2500
63 unit_models/_Units/EN_Lmail_Hmail/frankish_axemen_ug1_lod3.mesh 6400
2
9 jerusalem
71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_mercs.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
53 unit_sprites/jerusalem_Frankish_Axemen_ug1_sprite.spr
4 merc
71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_mercs.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
53 unit_sprites/jerusalem_Frankish_Axemen_ug1_sprite.spr
2
9 jerusalem
62 unit_models/AttachmentSets/Final Danish_jerusalem_diff.texture
62 unit_models/AttachmentSets/Final Danish_jerusalem_norm.texture 0
4 merc
57 unit_models/AttachmentSets/Final Danish_merc_diff.texture
57 unit_models/AttachmentSets/Final Danish_merc_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
Ran the syntax checker and it found no error.
For EDU, i also copied it over from Crusades as follows:
type Frankish Axemen
dictionary Frankish_Axemen ; Frankish Axemen
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Frankish_Axemen, 48, 0, 1.2
attributes sea_faring, hide_forest, hardy, can_withdraw, mercenary_unit
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 7, 2, no, 0, 0, melee, melee_blade, slashing, axe, 25, 1.2
;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 2, 3, 8, leather
;stat_armour_ex 2, 3, 0, 0, 3, 8, 6, leather
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 4
stat_mental 5, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 400, 125, 50, 115, 400, 4, 120
armour_ug_levels 1, 2
armour_ug_models Frankish_Axemen, Frankish_Axemen_ug1
ownership jerusalem, slave
era 0 jerusalem
era 1 jerusalem
;unit_info 7, 0, 13
recruit_priority_offset -10
Can anyone help me identify what is the possible cause for the CTD before battle loading for this particular unit?




Reply With Quote






