hello
i am trying to make a new unit like the urban militia unit .
but when i try to start the game i got a ctd
i use m2 v1.3 and kingdoms v1.05 .
i hope someone tell me what is wrong ....
_____________________________________________________________________________________
type sokar Militia
dictionary sokar_Militia ; sokar Militia
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier sokar_Militia, 48, 0, 1.2
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 11, 2, 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 5, 7, 6, metal
;stat_armour_ex 5, 7, 0, 0, 7, 6, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 1, 1, 0, -1
stat_mental 5, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 400, 125, 75, 55, 400, 4, 100
armour_ug_levels 2, 3
armour_ug_models sokar_Militia, sokar_Militia_ug1
ownership moors
era 1 moors
era 2 moors
;unit_info 11, 0, 18
_____________________________________________________________________________________
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
13 sokar_militia
1 3
67 unit_models/_Units/ME_Light_Mail_Heavy_Mail/urban_militia_lod0.mesh 121
67 unit_models/_Units/ME_Light_Mail_Heavy_Mail/urban_militia_lod1.mesh 1225
67 unit_models/_Units/ME_Light_Mail_Heavy_Mail/urban_militia_lod2.mesh 6400
1
5 moors
85 unit_models/_Units/ME_Light_Mail_Heavy_Mail/textures/mtw2_ME_light_mail_moors.texture
86 unit_models/_Units/ME_Light_Mail_Heavy_Mail/textures/mtw2_ME_light_mail_normal.texture
43 unit_sprites/moors_Urban_Militia_sprite.spr
1
5 moors
60 unit_models/AttachmentSets/Final ME Heavy_moors_diff.texture
60 unit_models/AttachmentSets/Final ME Heavy_moors_norm.texture 0
1
4 None
14 MTW2_Swordsman 0
2
18 MTW2_Sword_Primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
17 sokar_militia_ug1
1 4
54 unit_models/_Units/ES_Mail/urban_militia_ug1_lod0.mesh 121
54 unit_models/_Units/ES_Mail/urban_militia_ug1_lod1.mesh 900
54 unit_models/_Units/ES_Mail/urban_militia_ug1_lod2.mesh 2500
54 unit_models/_Units/ES_Mail/urban_militia_ug1_lod3.mesh 6400
1
5 moors
62 unit_models/_Units/ES_Mail/textures/mtw2_ES_Mail_moors.texture
63 unit_models/_Units/ES_Mail/textures/mtw2_ES_Mail_normal.texture
47 unit_sprites/moors_Urban_Militia_ug1_sprite.spr
1
5 moors
60 unit_models/AttachmentSets/Final ME Heavy_moors_diff.texture
60 unit_models/AttachmentSets/Final ME Heavy_moors_norm.texture 0
1
4 None
14 MTW2_Swordsman 0
2
18 MTW2_Sword_Primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
_____________________________________________________________________________________
{Sokar_Militia}Sokar Militia
{Sokar_Militia_descr}These Urban Militia are well armoured and trained troops, far superior to most militias who are little more than levied peasants. Used widely by the Alohas to garrison and defend settlements in Moorish occupied Spain and Portugal, these troops are equipped with a sword and are a useful addition to any army.
{Sokar_Militia_descr_short}Equipped with a sword, well trained and protected by heavy armour these troops are far superior to most militias.
_____________________________________________________________________________________




Reply With Quote















