Results 1 to 14 of 14

Thread: how can i change my greek general from cavalry to infantry

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default how can i change my greek general from cavalry to infantry

    Hi all. I am new in moding, but i know how to change stats, add-remove-edit units, but when i tried changing my greek general from cavalry to infantry, the game crashes and gives me an error which says that the it cant find the model soldier for greek general...
    pls can you help me. i know that it can be done, but i cant realise how
    I forget about the general's bodyguards, they also must be infantry.
    Last edited by Ionut90; July 19, 2007 at 03:47 AM.

  2. #2
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: how can i change my greek general from cavalry to infantry

    Tell me which game you want to mod (RTW/MTW2) and I'll move you to the correct workshop..

    And welcome to TWC.

  3. #3

    Default Re: how can i change my greek general from cavalry to infantry

    I would think its RTW, as he said Greek General.

  4. #4
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    yes RTW 1.2 and thanks for the warm welcome

  5. #5
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: how can i change my greek general from cavalry to infantry

    A'yup, missed that bit...

    Anyway;

    Moved to the workshop...

  6. #6
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    thanks a lot! ....but where i must go now...which forum. 'cause i dont how this moving works :p

  7. #7
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    no problem i've found the forum

    now pls who can help with this?
    Last edited by Ionut90; July 19, 2007 at 05:53 AM.

  8. #8
    Prince_of_Macedon's Avatar Πρίγκηψ της Μακεδονίας
    Join Date
    Apr 2007
    Location
    Florida, USA
    Posts
    2,815

    Default Re: how can i change my greek general from cavalry to infantry

    Quote Originally Posted by Ionut90 View Post
    Hi all. I am new in moding, but i know how to change stats, add-remove-edit units, but when i tried changing my greek general from cavalry to infantry, the game crashes and gives me an error which says that the it cant find the model soldier for greek general...
    pls can you help me. i know that it can be done, but i cant realise how
    I forget about the general's bodyguards, they also must be infantry.
    The first unit you select for your army will be your general unit. So if you wanted your general to serve with the Spartan Hoplites, pick the Spartan Hoplites first during the troop selection process.

    No mod is needed to do that.
    HOW TO PLAY EMPIRE TOTAL WAR OFFLINE

    "It is a lovely thing to live with courage and to die leaving behind an everlasting renown." - ALEXANDER THE GREAT

    Watch my online-commentary battles here
    Under the Patronage of Hader

  9. #9
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: how can i change my greek general from cavalry to infantry

    BP, that only applies in custom battles or for armies pre-defined in descr_strat.txt. That also only applies to changing the bodyguard units not the general himself - though he does switch from mounted to infantry according to which bodyguard he is with.

    Ionut90 can you post a copy of the section of the files you changed? Paste it in to reply and put code tags around it. Also please say which files you altered, export_descr_unit / descr_character.txt / descr_model_battle.txt etc

  10. #10
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    TO Barbarian_Prince: my mistake, i was asking how to change the general unit for the campaing map
    TO makanyane: i've replaced the files that i changed with the back-up files
    to make other modifications and will take some time to make the changes to the general unit again,
    so if you'll be nice to wait.

  11. #11
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    i have changed only the export_descr_unit.txt & descr_model_battle.txt, because i dont know what to modify in other documents. This is what i've changed:


    Code:
    export_descr_unit
    
    type             greek general's guard cavalry early
    dictionary       greek_generals_guard_cavalry_early      ; General's Bodyguard
    category         cavalry
    class            heavy
    voice_type       General_1
    soldier          greek_medium_cavalry, 12, 0, 1
    mount            generals horse
    mount_effect     elephant -8, camel -4
    attributes       sea_faring, general_unit, hide_forest, hardy
    formation        1.5, 4, 3, 6, 3, square
    stat_health      2, 0
    stat_pri         12, 9, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr    no
    stat_sec         0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr    no
    stat_pri_armour  3, 7, 0, leather
    stat_sec_armour  0, 0, flesh
    stat_heat        1
    stat_ground      0, 0, -6, 0
    stat_mental      10, disciplined, highly_trained
    stat_charge_dist 40
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 690, 130, 70, 110, 690
    ownership        greek_cities, seleucid, macedon, slave
    
    
    i've changed it to : -> 
    
    type             greek general's guard cavalry early
    dictionary       greek_generals_guard_cavalry_early      ; General's Bodyguard
    category         infantry
    class            spearmen
    voice_type       General_1
    soldier          greek_hoplite_spartan_pylos, 20, 0, 1
    attributes       sea_faring, general_unit, hide_forest, hardy
    formation        1, 1, 2, 2, 3, square
    stat_health      2, 0
    stat_pri         12, 9, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr    no
    stat_sec         10, 8, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr    no
    stat_pri_armour  3, 7, 6, leather
    stat_sec_armour  0, 0, flesh
    stat_heat        1
    stat_ground      0, 0, -6, 0
    stat_mental      10, disciplined, highly_trained
    stat_charge_dist 40
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 690, 130, 70, 110, 690
    ownership        greek_cities, seleucid, macedon, slave
    
    descr_model_battle
    
    type				greek_general
    skeleton			fs_dagger
    skeleton_horse		fs_hc_swordsman	
    skeleton_elephant	fs_forest_elephant_rider
    skeleton_chariot	fs_chariot_sword
    skeleton_camel		fs_hc_swordsman
    indiv_range			40
    texture				greek_cities, data/models_unit/textures/officer_greek_general_greece.tga
    texture				seleucid, data/models_unit/textures/officer_greek_general_seleucid.tga
    texture				macedon, data/models_unit/textures/officer_greek_general_macedon.tga
    texture				thrace, data/models_unit/textures/officer_greek_general_thrace.tga
    model_flexi			data/models_unit/officer_greek_general_high.cas, 15
    model_flexi			data/models_unit/officer_greek_general_med.cas, 30
    model_flexi			data/models_unit/officer_greek_general_low.cas, 40
    model_flexi			data/models_unit/officer_greek_general_lowest.cas, max
    model_sprite		60.0, data/sprites/greek_general_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5
    
    type				greek_lesser_general
    skeleton			fs_dagger
    skeleton_horse		fs_hc_swordsman	
    skeleton_elephant	fs_forest_elephant_rider
    skeleton_chariot	fs_chariot_sword
    skeleton_camel		fs_hc_swordsman
    indiv_range			40
    texture				greek_cities, data/models_unit/textures/officer_greek_lesser_general_greece.tga
    texture				seleucid, data/models_unit/textures/officer_greek_lesser_general_seleucid.tga
    texture				macedon, data/models_unit/textures/officer_greek_lesser_general_macedon.tga
    texture				thrace, data/models_unit/textures/officer_greek_lesser_general_thrace.tga
    model_flexi			data/models_unit/officer_greek_lesser_general_high.cas, 15
    model_flexi			data/models_unit/officer_greek_lesser_general_med.cas, 30
    model_flexi			data/models_unit/officer_greek_lesser_general_low.cas, 40
    model_flexi			data/models_unit/officer_greek_lesser_general_lowest.cas, max
    model_sprite		60.0, data/sprites/greek_lesser_general_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5
    
    
    i've changed it to : ->
    
    
    type				greek_general
    skeleton			fs_dagger
    indiv_range			40
    texture				greek_cities, data/models_unit/textures/unit_greek_spartan_greek.tga
    texture				seleucid, data/models_unit/textures/unit_greek_spartan_greek.tga
    texture				macedon, data/models_unit/textures/unit_greek_spartan_greek.tga
    texture				thrace, data/models_unit/textures/unit_greek_spartan_greek.tga
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_400.cas, 15
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_300.cas, 30
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_200.cas, 40
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_100.cas, max
    model_sprite		60.0, data/sprites/greek_hoplite_spartan_pylos_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5
    
    type				greek_lesser_general
    skeleton			fs_dagger
    indiv_range			40
    texture				greek_cities, data/models_unit/textures/unit_greek_spartan_greek.tga
    texture				seleucid, data/models_unit/textures/unit_greek_spartan_greek.tga
    texture				macedon, data/models_unit/textures/unit_greek_spartan_greek.tga
    texture				thrace, data/models_unit/textures/unit_greek_spartan_greek.tga
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_400.cas, 15
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_300.cas, 30
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_200.cas, 40
    model_flexi			data/models_unit/unit_greek_hoplite_spartan_pylos_100.cas, max
    model_sprite		60.0, data/sprites/greek_hoplite_spartan_pylos_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5
    and now it gives me an error which says that "data/models_unit/unit_greek_hoplite_spartan_pylos_100.cas" doesn't exist... what i must do?
    Last edited by Ionut90; July 19, 2007 at 07:31 AM.

  12. #12
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: how can i change my greek general from cavalry to infantry

    If you're doing that to vanilla RTW - it doesn't exist the cas file name seems to be:
    unit_greek_spartan_hoplite_pylos_100.CAS
    with spartan and hoplite the other way round.....

    they just do that to confuse you every now and again!

    EDIT: oh and don't take out the other skeleton lines, leave them in and he'll turn up on foot with your infantry bodyguard. But if you get a default unit (in custom battle etc) that is mounted I think you have to allow him to turn up on a horse too, he'd look rather silly running along behind them anyway !

  13. #13
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    it still doesn't work...

  14. #14
    Ionut90's Avatar Laetus
    Join Date
    Jul 2007
    Location
    Bucharest, Romania
    Posts
    16

    Default Re: how can i change my greek general from cavalry to infantry

    thanks alot i finally made it. With your help ofcourse..

Posting Permissions

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