ok i tried to add dismounted iqta dar to my game. it used to just have invisible units, i knew there was a problem in the model file so i think i fixed it. but now the game ctds when i try a custom battle with the unit. this is the model file and descr unit:
type Iqta dar
dictionary Iqta_dar ; Iqta dar
category infantry
class missile
voice_type Heavy
banner faction main_missile
banner holy crusade
soldier Turkish_Archers, 48, 0, 0.35
officer Hashishim
attributes sea_faring, hide_forest, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 9, 2, composite_arrow, 160, 30, missile, missile_mechanical, piercing, none, 0, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 11, 2, no, 0, 0, melee, melee_blade, piercing, sword, 10, 1.2
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 6, 8, 6, metal
;stat_armour_ex 5, 7, 0, 0, 2, 6, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 1, 1, 0, -2
stat_mental 11, normal, trained
stat_charge_dist 5
stat_fire_delay -100000
stat_food 60, 300
stat_cost 1, 1830, 183, 75, 55, 610, 4, 150
armour_ug_levels 4
armour_ug_models iqta_dar
ownership turks
era 1 turks
era 2 turks
;unit_info 9, 9, 13
recruit_priority_offset 15
8 iqta_dar
1 4
66 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/iqta_dar_ug1_lod0.mesh 121
66 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/iqta_dar_ug1_lod1.mesh 1225
66 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/iqta_dar_ug1_lod2.mesh 2500
66 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/iqta_dar_ug1_lod3.mesh 6400
1
5 turks
96 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/mtw2_ME_Mail_Plate_Hvy_Mplate_turks.texture
97 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/mtw2_ME_Mail_Plate_Hvy_Mplate_normal.texture
38 unit_sprites/turks_iqta_dar_sprite.spr
1
5 turks
66 unit_models/AttachmentSets/Final Middle Eastern_turks_diff.texture
66 unit_models/AttachmentSets/Final Middle Eastern_turks_norm.texture 0
1
4 none
11 MTW2_HR_Bow
13 MTW2_HR_Sword 2
19 MTW2_HR_Bow_Primary
14 fs_test_shield 2
18 MTW2_Sword_Primary
14 fs_test_shield
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002




Reply With Quote










































