Results 1 to 5 of 5

Thread: how to give unit cost of man

Hybrid View

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

    Default how to give unit cost of man

    how to add more cost of man to unit that when u buy unit at campain it will cost more pepole

  2. #2

    Default Re: how to give unit cost of man

    I see two possible answers for the question. One is if you want more men in the unit, thereby making the unit size bigger. The other is making it cost more to recruit the unit. I will answer both of these though. Remember to make a backup of the file we will be editing.

    1) Making Unit Size Bigger
    We will be making Hastati have more men in each unit for this.

    Find your way to the Rome Total War folder. On a normal install, it should be in either of these two locations:
    Regular Version
    • C:/Program Files/Activision/Rome - Total War
    Gold Edition or Eras
    • C:/Program Files/The Creative Assembly/Rome - Total War
    Now go into the Data, and open the file export_descr_unit.txt in notepad. Now press Ctrl+F, and search for hastati. You should be taken to a section that looks like this:

    Code:
    type             roman hastati
    dictionary       roman_hastati      ; Hastati
    category         infantry
    class            light
    voice_type       Light_1
    soldier          roman_hastati, 40, 0, 1
    officer          roman_early_centurion
    officer          roman_early_standard
    attributes       sea_faring, hide_forest, can_sap
    formation        1, 2, 2, 3, 4, square
    stat_health      1, 0
    stat_pri         11, 2, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr    prec, thrown ap
    stat_sec         7, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr    no
    stat_pri_armour  5, 4, 5, metal
    stat_sec_armour  0, 1, flesh
    stat_heat        3
    stat_ground      2, 0, 0, 0
    stat_mental      6, normal, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 440, 170, 50, 70, 440
    ownership        roman
    Right now, I am only telling you how to make more men in a unit. Go to this line:
    Code:
    soldier          roman_hastati, 40, 0, 1
    The roman_hastati relates it to an entry in DMB, do not worry about that now though. 40 is the part we will be changing. 40 is the number of men for normal size settings. Increase it to 60, and it will be the size of Barbarian units like warbands and Phalanx units like Phalanx Pikemen.

    2) Making it Cost MoreWe will be making Hastati cost more to recruit

    Find your way to the Rome Total War folder. On a normal install, it should be in either of these two locations:
    Regular Version
    • C:/Program Files/Activision/Rome - Total War
    Gold Edition or Eras
    • C:/Program Files/The Creative Assembly/Rome - Total War
    Now go into the Data, and open the file export_descr_unit.txt in notepad. Now press Ctrl+F, and search for hastati. You should be taken to a section that looks like this:

    Code:
    type             roman hastati
    dictionary       roman_hastati      ; Hastati
    category         infantry
    class            light
    voice_type       Light_1
    soldier          roman_hastati, 40, 0, 1
    officer          roman_early_centurion
    officer          roman_early_standard
    attributes       sea_faring, hide_forest, can_sap
    formation        1, 2, 2, 3, 4, square
    stat_health      1, 0
    stat_pri         11, 2, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr    prec, thrown ap
    stat_sec         7, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr    no
    stat_pri_armour  5, 4, 5, metal
    stat_sec_armour  0, 1, flesh
    stat_heat        3
    stat_ground      2, 0, 0, 0
    stat_mental      6, normal, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 440, 170, 50, 70, 440
    ownership        roman
    We want this line:
    Code:
    stat_cost        1, 440, 170, 50, 70, 440
    This is a breakdown on what each one means:
    • 1 - Number of turns it takes to train the unit on Campaign Map
    • 440 - Cost of unit to train on Campaign Map
    • 170 - Cost for each turn after you train the unit. Upkeep
    • 50 - Cost for upgrading the weapons
    • 70 - Cost for upgrading Armour
    • 440 - Cost for custom battles
    I will leave you to change it as you see fit.

    Hope it helps,
    RM3
    RIP Calvin, you won't be forgotten.

  3. #3

    Default well dude i knew how to do that what i meant is:

    when u train a unit in the campain it's cost pepole from the city so how to add cost of pepole for the units? and ty

  4. #4

    Default Re: well dude i knew how to do that what i meant is:

    Quote Originally Posted by israeli View Post
    when u train a unit in the campain it's cost pepole from the city so how to add cost of pepole for the units? and ty
    If you increase the size of the unit, that many men will be taken from the cities population. So if I train an 80 men unit, 80 men will be taken out of the cities population. So increasing the unit size will increase the amount of men taken from the city.

    No problem and,

    Cheers,
    RM3
    RIP Calvin, you won't be forgotten.

  5. #5
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: how to give unit cost of man

    Reread the answer above it answers your question about how to increase the number of people in a unit.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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