Results 1 to 6 of 6

Thread: help me out

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    saglam2000's Avatar Campidoctor
    Join Date
    Apr 2008
    Location
    New York State
    Posts
    1,515

    Default help me out

    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
    "The Turks are never trapped. It's the people who surround them who are in trouble."Anthony Hebert

    ‎"What can be asserted without evidence can also be dismissed without evidence." Christopher Hitchens

  2. #2

    Default Re: help me out

    Does the unit work in campaign battles?
    Did you add textures for the unit?

  3. #3
    saglam2000's Avatar Campidoctor
    Join Date
    Apr 2008
    Location
    New York State
    Posts
    1,515

    Default Re: help me out

    i didn't add to campaign yet.
    and it does use the right texture
    "The Turks are never trapped. It's the people who surround them who are in trouble."Anthony Hebert

    ‎"What can be asserted without evidence can also be dismissed without evidence." Christopher Hitchens

  4. #4

    Default Re: help me out

    Is it possible that the label your using, Iqta dar clashes with the existing mounted version named Iqta dar? I would have thought you should name a dismounted unit dismounted_iqta dar...

    9 dismounted_iqta dar
    1 4
    etc.

    Or did you edit the existing unit rather than make a new one?

  5. #5
    saglam2000's Avatar Campidoctor
    Join Date
    Apr 2008
    Location
    New York State
    Posts
    1,515

    Default Re: help me out

    i tried to add this unit to DLV which doesn't have iqta'dar.

    when i put this in:armour_ug_models iqta_dar_ug1
    the games has invisible units.
    i did the same thing with a dismounted Sibyan-al-khass (the crusades HA for egypt)
    and it worked.

    edit: i figured it out, some moderator should close this thread.
    Last edited by saglam2000; August 12, 2008 at 07:42 PM.
    "The Turks are never trapped. It's the people who surround them who are in trouble."Anthony Hebert

    ‎"What can be asserted without evidence can also be dismissed without evidence." Christopher Hitchens

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: help me out

    If you figured it out please let us know how you fixed it.
    That way others can learn too.










Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •