Results 1 to 3 of 3

Thread: how can i change archer to infantry

  1. #1

    Unhappy how can i change archer to infantry

    Hi guys this is my first post, I hope some help, i played Turks and many were archers and i always lose battles against any army has infantry or cavalry so i tried to change some files

    battle_model.modeldb
    Code:
    16 ottoman_infantry 
    1 3 
    70 unit_models/_Units/ME_Light_Mail_Heavy_Mail/ottoman_infantry_lod0.mesh 121 
    70 unit_models/_Units/ME_Light_Mail_Heavy_Mail/ottoman_infantry_lod1.mesh 1225 
    70 unit_models/_Units/ME_Light_Mail_Heavy_Mail/ottoman_infantry_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 
    46 unit_sprites/turks_Ottoman_Infantry_sprite.spr 
    1 
    5 turks 
    60 unit_models/AttachmentSets/Final ME Heavy_turks_diff.texture 
    60 unit_models/AttachmentSets/Final ME Heavy_turks_norm.texture 0  
    1 
    4 None 
    14 MTW2_Swordsman
    14 fs_test_shield 2 
    18 MTW2_Sword_Primary 
    14 fs_test_shield 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    result the units stop fighting at all

    I reduced amount of ammo---------->so act as infantry
    export_descr_unit
    Code:
    type             Ottoman Infantry
    dictionary       Ottoman_Infantry      ; Ottoman Infantry
    category         infantry
    class            heavy
    voice_type       Heavy
    banner faction   main_infantry
    banner holy      crusade
    soldier          Ottoman_Infantry, 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         9, 2, arrow, 160, 0, missile, missile_mechanical, piercing, none, 25, 1
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         11, 2, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  5, 6, 6, metal
    ;stat_armour_ex   5, 7, 0, 0, 6, 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, 670, 150, 75, 55, 670, 4, 160
    armour_ug_levels 2, 3
    armour_ug_models Ottoman_Infantry, Ottoman_Infantry_ug1
    ownership        turks
    era 1            turks
    era 2            turks
    ;unit_info        11, 9, 17
    result games crashed

    so i made red zero --------->2
    AND GAME WORKED \
    BUT still were useless especially during siege when they must fire to finish ammo and act as infantry but the get killed or route

    SO what in name of ALLAH I could do..................help pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeez

  2. #2
    Near East TW Mod Leader Member Cute Wolf's Avatar
    Join Date
    Nov 2008
    Location
    In ancient Middle East, driving Assyrian war machines...
    Posts
    3,991
    Blog Entries
    2

    Default Re: how can i change archer to infantry

    don't even try to mess up with codings.. alll you need is press alt + click, and voila, they will enggage in melee without looking for their bows

    My Projects : * Near East Total War * Nusantara Total War * Assyria Total War *
    * Watch the mind-blowing game : My Little Ponies : The Mafia Game!!! *

    Also known as SPIKE in TWC

  3. #3
    Member Member Trve Leveller's Avatar
    Join Date
    Jul 2010
    Location
    Düsseldorf, NRW, Germany
    Posts
    584

    Default Re: how can i change archer to infantry

    or change

    stat_pri_attr no

    to

    stat_pri_attr prec

    They will fire one shot before engaging in melee, like rtw legionaries.


    But dont change the battles_model data! Modding this requires some experience and you would have to make a new model with milkshape if you want to remove their bows...
    And give them at least some arrows.
    Last edited by Trve Leveller; 11-25-2010 at 10:26.



    "This Declares likewise to all Laborers, or such as are called Poor people, that they shall not dare to work for Hire, for any Landlord, or for any that is lifted up above others; for by their labours, they have lifted up Tyrants and Tyranny; and by denying to labor for Hire, they shall pull them down again." - William Everard

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO