I am trying to import Order Militia as a "Sergeant Swordsmen" unit, and getting a ctd on load.
These are the entries:
BMDB:
EDU:Code:18 sergeant_swordsmen 1 4 60 unit_models/_Units/EN_Peasant_Padded/order_militia_lod0.mesh 121 60 unit_models/_Units/EN_Peasant_Padded/order_militia_lod1.mesh 900 60 unit_models/_Units/EN_Peasant_Padded/order_militia_lod2.mesh 2500 60 unit_models/_Units/EN_Peasant_Padded/order_militia_lod3.mesh 6400 1 7 normans 86 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_teutonic_order.texture 78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture 52 unit_sprites/teutonic_order_Order_Militia_sprite.spr 1 7 normans 75 unit_models/AttachmentSets/Final European Light_teutonic_order_diff.texture 75 unit_models/AttachmentSets/Final European Light_teutonic_order_norm.texture 0 1 4 None 19 MTW2_Slow_Swordsman 0 2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 22 sergeant_swordsmen_ug1 1 4 64 unit_models/_Units/EN_Peasant_Padded/order_militia_ug1_lod0.mesh 121 64 unit_models/_Units/EN_Peasant_Padded/order_militia_ug1_lod1.mesh 900 64 unit_models/_Units/EN_Peasant_Padded/order_militia_ug1_lod2.mesh 2500 64 unit_models/_Units/EN_Peasant_Padded/order_militia_ug1_lod3.mesh 6400 1 7 normans 86 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_teutonic_order.texture 78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture 56 unit_sprites/teutonic_order_Order_Militia_ug1_sprite.spr 1 7 normans 75 unit_models/AttachmentSets/Final European Light_teutonic_order_diff.texture 75 unit_models/AttachmentSets/Final European Light_teutonic_order_norm.texture 0 1 4 None 19 MTW2_Slow_Swordsman 0 2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
and the log:Code:type Sergeant Swordsmen dictionary Sergeant_Swordsmen ; Reskinned Order Militia category infantry class light voice_type Light banner faction main_infantry soldier Sergeant_Swordsmen, 48, 0, 0.8 attributes sea_faring, hide_forest, can_withdraw, hardy formation 1.2, 1.2, 2.4, 2.4, 4, square stat_health 1, 0 stat_pri 16, 4, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1 ;stat_pri_ex 0, 0, 0 stat_pri_attr no 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 0, 7, 5, flesh ;12 ;stat_armour_ex 0, 2, 0, 0, 3, 5, 5, flesh stat_sec_armour 0, 0, flesh stat_heat 4 stat_ground 1, -2, 3, 4 stat_mental 5, disciplined, trained stat_charge_dist 40 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 400, 125, 65, 150, 310, 3, 90 armour_ug_levels 0, 1 armour_ug_models Sergeant_Swordsmen, Sergeant_Swordsmen_ug1 ownership milan, france, portugal, papal_states, sicily, egypt, denmark, scotland, venice, england, mongols, hre, spain, hungary, normans, saxons, byzantium, poland, russia, aztecs, slave era 0 milan, france, portugal, papal_states, sicily, egypt, denmark, scotland, venice, england, mongols, hre, spain, hungary, normans, saxons, byzantium, poland, russia, aztecs era 1 milan, france, portugal, papal_states, sicily, egypt, denmark, scotland, venice, england, mongols, hre, spain, hungary, normans, saxons, byzantium, poland, russia, aztecs era 2 milan, france, portugal, papal_states, sicily, egypt, denmark, scotland, venice, england, mongols, hre, spain, hungary, normans, saxons, byzantium, poland, russia, aztecs ;unit_info 7, 0, 8 recruit_priority_offset 0
Code:21:14:00.287 [system.io] [info] exists: found mods/WarringVipers/data/export_descr_unit.txt (from: D:\Games\Steam\steamapps\common\Medieval II Total War) 21:14:00.287 [system.io] [trace] file open,,150C44A0,466257 21:14:00.287 [system.io] [info] open: found mods/WarringVipers/data/export_descr_unit.txt (from: D:\Games\Steam\steamapps\common\Medieval II Total War) 21:14:00.293 [script.err] [error] Script Error in mods/WarringVipers/data/export_descr_unit.txt, at line 5055, column 1 Could not find soldier battle model for unit type 'Sergeant_Swordsmen'. 21:14:00.293 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file mods/WarringVipers/data/export_descr_unit.txt.