Results 1 to 6 of 6

Thread: custom unit sizes?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default custom unit sizes?

    Hi all

    sorry if this has been asked before but i have looked in search and FAQ and found little info on it.

    is it possible to edit unit sizes to my own desired values?

    is the number capped at all?

    i'd like to play a campaign with units slightly biogger in size than the huge setting.

    i realise it might be limited by computer power, but my system is probally quite capable.

    any help much appreciated thanks ;-)

  2. #2
    Benz282's Avatar Vicarius
    Join Date
    May 2008
    Location
    East Coast, US
    Posts
    2,955

    Default Re: custom unit sizes?

    Go to /Data/export_descr_unit.

    After the file info, there should be a lot of small sections, each representing a single unit in campaign. (similar to this):

    type roman legionary cohort ii
    dictionary roman_legionary_cohort_ii ; Legionary Cohort
    category infantry
    class heavy
    voice_type Medium_1
    soldier roman_legionary_cohort_ii, 40, 0, 1.3
    officer roman_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 2, 2, 3, 4, square, testudo
    stat_health 1, 0
    stat_pri 13, 3, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 12, 5, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 5
    stat_ground 2, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 740, 210, 80, 120, 740
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate
    Assuming you don't want to edit anything other than the unit size, here's what you need to edit. After "soldier", there is the unit model, followed by the number of men in each unit, which is in turn followed by the number of artillery pieces/extras attached to it and the collision mass of the unit.

    The number after the unit model is the number of men in the unit when "Normal" unit size is selected. For "Small" unit size, the actual number of men is .5 of normal, Large = 2 times the size, Huge = 4 times the size.

    I believe the fewest men allowed in a unit is 6; not sure what the max is. (I don't suggest you try to get a 1000 man unit though).

    I'm not sure what you want your goal unit size is, but lets say you want 200 men per cohort. Here's the original file:

    type roman legionary cohort ii
    dictionary roman_legionary_cohort_ii ; Legionary Cohort
    category infantry
    class heavy
    voice_type Medium_1
    soldier roman_legionary_cohort_ii, 40, 0, 1.3
    officer roman_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 2, 2, 3, 4, square, testudo
    stat_health 1, 0
    stat_pri 13, 3, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 12, 5, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 5
    stat_ground 2, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 740, 210, 80, 120, 740
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate
    And here's what you would need to change it to. (set unit size to Huge in-game).

    type roman legionary cohort ii
    dictionary roman_legionary_cohort_ii ; Legionary Cohort
    category infantry
    class heavy
    voice_type Medium_1
    soldier roman_legionary_cohort_ii, 50, 0, 1.3
    officer roman_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 2, 2, 3, 4, square, testudo
    stat_health 1, 0
    stat_pri 13, 3, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 12, 5, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 5
    stat_ground 2, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 740, 210, 80, 120, 740
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate
    Now lets say you want a 400 man cohort...

    type roman legionary cohort ii
    dictionary roman_legionary_cohort_ii ; Legionary Cohort
    category infantry
    class heavy
    voice_type Medium_1
    soldier roman_legionary_cohort_ii, 100, 0, 1.3
    officer roman_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 2, 2, 3, 4, square, testudo
    stat_health 1, 0
    stat_pri 13, 3, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 12, 5, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 5
    stat_ground 2, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 740, 210, 80, 120, 740
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate
    I'm not an expert modder by any standards, so I may be wrong on a few portions of this. Hope it helps though.

  3. #3
    Benz282's Avatar Vicarius
    Join Date
    May 2008
    Location
    East Coast, US
    Posts
    2,955

    Default Re: custom unit sizes?

    Also, before you do anything, backup export_descr_unit and add "-show_err" to the "target" of your RTW shortcut. The "-show_err" will tell you what is wrong if the game CTDs on startup.

    EDIT
    I can't find a way to make the units larger than 243. Seems like that's the most you can get by doing a simple mod like that. I think it may be possible to make more, but it would be more complicated than I can help you with.
    Last edited by Benz282; June 14, 2008 at 12:55 PM.

  4. #4

    Default Re: custom unit sizes?

    Quote Originally Posted by Benz282 View Post
    I believe the fewest men allowed in a unit is 6; not sure what the max is. (I don't suggest you try to get a 1000 man unit though).
    Max is 60, so u wont be able to reach above 240 men even in huge unit size.


  5. #5
    Xavier Dragnesi's Avatar Esse quam videre
    Join Date
    Jan 2008
    Location
    Sydney, Australia
    Posts
    7,434

    Default Re: custom unit sizes?

    Ok, people have had trouble modding this for ages. From what I know, the maximum unit sizes are hard coded in the game and unchangable. So you can mod the size to anything within that maximum, but not over. So in your case, a 400 man cohort would be impossible.

    I have tried this before, and what happens is that on the unit cards, it will say the number that you have modded it to be, and you will go "yes! mean!". But then when you play the actual battle, the size will still be the same as the normal maximum, and like me you'd go "awww that sucks"

  6. #6
    Primicerius
    Join Date
    Nov 2006
    Location
    Toronto, Canada
    Posts
    3,925

    Default Re: custom unit sizes?

    Max is 243, with the three officers/general in a unit. This has been disussed to death in many sub-forums, so if you want the details do a search in the RS forum, I think there was a thread there talking about it...



Posting Permissions

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