Hello guys, can anyone help me? I find some posts related to this but none solved, soo i start this thread.
I'm trying to add a Vanilla unit to a mod and I followed all the steps as if it were a new unit but something is going wrong when I try to use that unit in some battle as a test, the game crashes on the loading screen and a message appears of "Total War encountered an unspecified error and will now exit." is the second unit that I try to add to the mod and the first one worked well, but this one I don't know what I did wrong. I have checked all the meshs, texture and sprites and its apparently all ok
this is my log.txt
export_descr_unit.txt i have changed the type and dictionary of the original unit and change in the UI/units and units_info tooCode:01:03:11.105 [system.rpt] [always] CPU: SSE2 01:03:11.105 [system.rpt] [always] ==== system log start, build date: Sep 5 2014 version development === 01:03:11.120 [system.io] [always] mounted pack packs/data_0.pack 01:03:11.120 [system.io] [always] mounted pack packs/data_1.pack 01:03:11.120 [system.io] [always] mounted pack packs/data_2.pack 01:03:11.120 [system.io] [always] mounted pack packs/data_3.pack 01:03:11.120 [system.io] [always] mounted pack packs/data_4.pack 01:03:11.120 [system.io] [always] mounted pack packs/localized.pack 01:03:49.882 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
this is the battle_models.modeldb entry of this unit:Code:type Dismounted Golden Knights dictionary Dismounted_Golden_Knights ; Dismounted Golden Knights category infantry class heavy voice_type Heavy banner faction main_infantry banner holy crusade soldier Dismounted_English_Knights, 48, 0, 1.2 attributes sea_faring, hide_forest, hardy, can_withdraw formation 1.2, 1.2, 2.4, 2.4, 3, square stat_health 1, 0 stat_pri 21, 6, no, 0, 0, melee, melee_blade, slashing, axe, 25, 1.33 ;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, 5, 0, metal ;stat_armour_ex 8, 9, 0, 0, 5, 0, 0, metal stat_sec_armour 0, 0, flesh stat_heat 6 stat_ground 1, -2, 3, 2 stat_mental 11, normal, trained stat_charge_dist 30 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 530, 225, 100, 75, 530, 4, 130 armour_ug_levels 4, 5 armour_ug_models Dismounted_English_Knights, Dismounted_English_Knights_ug1 ownership england era 1 england era 2 england ;unit_info 21, 0, 13 recruit_priority_offset 25
Code:26 dismounted_english_knights 1 3 71 unit_models/_Units/EN_Pplate_Plate/dismounted_english_knights_lod0.mesh 121 71 unit_models/_Units/EN_Pplate_Plate/dismounted_english_knights_lod1.mesh 1225 71 unit_models/_Units/EN_Pplate_Plate/dismounted_english_knights_lod2.mesh 6400 1 7 england 74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_england.texture 73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture 58 unit_sprites/england_Dismounted_English_Knights_sprite.spr 1 7 england 67 unit_models/AttachmentSets/Final Special Heads_england_diff.texture 67 unit_models/AttachmentSets/Final Special Heads_england_norm.texture 0 1 4 None 16 MTW2_Slow_2H_Axe 0 1 19 MTW2_2H_Axe_primary 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 30 dismounted_english_knights_ug1 1 3 75 unit_models/_Units/EN_Pplate_Plate/dismounted_english_knights_ug1_lod0.mesh 121 75 unit_models/_Units/EN_Pplate_Plate/dismounted_english_knights_ug1_lod1.mesh 1225 75 unit_models/_Units/EN_Pplate_Plate/dismounted_english_knights_ug1_lod2.mesh 6400 1 7 england 74 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_england.texture 73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture 62 unit_sprites/england_Dismounted_English_Knights_ug1_sprite.spr 1 7 england 67 unit_models/AttachmentSets/Final Special Heads_england_diff.texture 67 unit_models/AttachmentSets/Final Special Heads_england_norm.texture 0 1 4 None 16 MTW2_Slow_2H_Axe 0 1 19 MTW2_2H_Axe_primary 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002