Results 1 to 5 of 5

Thread: Dismounted sipahis stuck in ground

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    e_lizard's Avatar Civis
    Join Date
    Sep 2009
    Location
    aden, south arabia
    Posts
    166

    Icon4

    Hi
    I dismount Sipahis and it work i was able to enter the battle with no crash but look at this


    and this is export_descr_unit
    Code:
    Dismounted Sipahis
    dictionary       Dismounted_Sipahis      ; Dismounted  Sipahis
    category         infantry
    class            missile
    voice_type       Light
    banner faction   main_missile
    banner holy      crusade
    soldier          Sipahis, 48, 0, 1
    attributes       sea_faring, hide_forest, can_withdraw, can_formed_charge,
    formation        1.2, 1.2, 2.4, 2.4, 3, square
    stat_health      1, 0
    stat_pri         25, 2, arrow, 160, 25, missile, missile_mechanical, piercing, none, 25, 1
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         9, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  5, 7, 3, metal
    ;stat_armour_ex   5, 7, 0, 0, 7, 3, 3, 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, 300, 75, 100, 75, 760, 4, 190
    armour_ug_levels 2, 3
    armour_ug_models Sipahis, Sipahis_ug1
    ownership        turks
    era 0            turks
    era 1            turks
    era 2            turks
    ;unit_info        9, 8, 15


    and i make its battle_models.modeldb from sipahis
    and my battle_models.modeldb.txt is in the attachment
    Last edited by Ishan; April 26, 2011 at 02:54 AM. Reason: Double Post

  2. #2

    Default Re: Dismounted sipahis stuck in ground

    looks like there just too lazy to be dismounted,there taking a nap .
    Take a look at how other dismounted units are written down,like feudal knights or Ritterbruders...you can even copy some of their stats


  3. #3
    dutch81's Avatar Senator
    Join Date
    Dec 2005
    Location
    Texas
    Posts
    1,242

    Default Re: Dismounted sipahis stuck in ground

    Quicksand?

  4. #4
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: Dismounted sipahis stuck in ground

    A few mistakes in your coding, you have to also make a new entry in the battle_models for it to work.
    increase this number by 2 yours might be different than mine,
    22 serialization::archive 3 0 0 0 0 701 0 0
    22 serialization::archive 3 0 0 0 0 703 0 0
    Tested and works.
    Spoiler Alert, click show to read: 
    Code:
    type             Dismounted Sipahis
    dictionary       Dismounted_Sipahis      ; Dismounted  Sipahis
    category         infantry
    class            missile
    voice_type       Light
    banner faction   main_missile
    banner holy      crusade
    soldier          Dismounted_Sipahis, 48, 0, 1
    attributes       sea_faring, hide_forest, can_withdraw
    formation        1.2, 1.2, 2.4, 2.4, 3, square
    stat_health      1, 0
    stat_pri         25, 2, arrow, 160, 25, missile, missile_mechanical, piercing, none, 25, 1
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         9, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  5, 7, 3, metal
    ;stat_armour_ex   5, 7, 0, 0, 7, 3, 3, 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, 300, 75, 100, 75, 760, 4, 190
    armour_ug_levels 2, 3
    armour_ug_models Dismounted_Sipahis, Dismounted_Sipahis_ug1
    ownership        turks
    era 0            turks
    era 1            turks
    era 2            turks
    ;unit_info        9, 8, 15
    ]


    Spoiler Alert, click show to read: 
    Code:
    18 dismounted_sipahis 
    1 3 
    61 unit_models/_Units/ME_Light_Mail_Heavy_Mail/sipahis_lod0.mesh 121 
    61 unit_models/_Units/ME_Light_Mail_Heavy_Mail/sipahis_lod1.mesh 1225 
    61 unit_models/_Units/ME_Light_Mail_Heavy_Mail/sipahis_lod2.mesh 6400 
    1 
    5 turks 
    85 unit_models/_Units/ME_Light_Mail_Heavy_Mail/textures/mtw2_ME_light_mail_turks.texture 
    86 unit_models/_Units/ME_Light_Mail_Heavy_Mail/textures/mtw2_ME_light_mail_normal.texture 
    43 unit_sprites/turks_Turkomans_ug2_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_Bowman 
    14 MTW2_Swordsman 2 
    19 MTW2_Bowman_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 
    22 dismounted_sipahis_ug1 
    1 3 
    65 unit_models/_Units/ME_Light_Mail_Heavy_Mail/sipahis_ug1_lod0.mesh 121 
    65 unit_models/_Units/ME_Light_Mail_Heavy_Mail/sipahis_ug1_lod1.mesh 1225 
    65 unit_models/_Units/ME_Light_Mail_Heavy_Mail/sipahis_ug1_lod2.mesh 6400 
    1 
    5 turks 
    85 unit_models/_Units/ME_Light_Mail_Heavy_Mail/textures/mtw2_ME_light_mail_turks.texture 
    86 unit_models/_Units/ME_Light_Mail_Heavy_Mail/textures/mtw2_ME_light_mail_normal.texture 
    41 unit_sprites/turks_Sipahis_ug1_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_Bowman 
    14 MTW2_Swordsman 2 
    19 MTW2_Bowman_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
    Last edited by Moon; April 21, 2011 at 04:52 PM. Reason: wrong forum by the way.

  5. #5
    e_lizard's Avatar Civis
    Join Date
    Sep 2009
    Location
    aden, south arabia
    Posts
    166

    Default Re: Dismounted sipahis stuck in ground

    i will see

Posting Permissions

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