Results 1 to 7 of 7

Thread: Merc Costs

  1. #1
    EB Token Radical Member QwertyMIDX's Avatar
    Join Date
    Jan 2005
    Location
    Providence, Rhode Island
    Posts
    5,898

    Default Merc Costs

    Does anyone know how to change Merc costs?
    History is for the future not the past. The dead don't read.


    Operam et vitam do Europae Barbarorum.

    History does not repeat itself. The historians repeat one another. - Max Beerbohm

  2. #2

    Default Re: Merc Costs

    It's found in the export_descr_unit.txt file.

    I'll use Mercenary Peltasts as an example:

    type merc peltast
    dictionary merc_peltast ; Mercenary Peltasts
    category infantry
    class missile
    voice_type Light_1
    soldier greek_heavy_peltast_merc, 40, 0, 0.8
    mount_effect elephant +6, chariot +6
    attributes sea_faring, hide_improved_forest, hide_long_grass, can_sap, mercenary_unit
    formation 1.2, 1.2, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 6, 2, javelin, 50, 6, thrown, archery, piercing, spear, 25 ,1
    stat_pri_attr thrown
    stat_sec 4, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 2, 2, 5, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, 0, 3, 0
    stat_mental 4, normal, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 330, 170, 40, 50, 330
    ownership slave

    You want to look at stat_cost (in BOLD).

    The numbers are:
    1: Number of turns to build this unit.
    330: Cost of constructing this unit. <-- in this case, cost to Hire.
    170: Cost to maintain this unit.
    40: Cost to upgrade unit's weapons
    50: Cost to upgrade unit's armor
    330: Cost of constructing this unit. <-- in this case, for Custom Battles

  3. #3
    EB Token Radical Member QwertyMIDX's Avatar
    Join Date
    Jan 2005
    Location
    Providence, Rhode Island
    Posts
    5,898

    Default Re: Merc Costs

    That was my approach at first, but it seems not to be working. Is there anything the else the game uses to generate these costs?
    History is for the future not the past. The dead don't read.


    Operam et vitam do Europae Barbarorum.

    History does not repeat itself. The historians repeat one another. - Max Beerbohm

  4. #4
    Back in style Member Lentonius's Avatar
    Join Date
    Nov 2005
    Location
    U.K
    Posts
    445

    Default Re: Merc Costs

    yes, descr_mercenaries i think it is

    It is pretty easy- just find the unit and change the cost
    Hey, Im back

  5. #5
    EB Token Radical Member QwertyMIDX's Avatar
    Join Date
    Jan 2005
    Location
    Providence, Rhode Island
    Posts
    5,898

    Default Re: Merc Costs

    I shall look into it, thanks my friend.
    History is for the future not the past. The dead don't read.


    Operam et vitam do Europae Barbarorum.

    History does not repeat itself. The historians repeat one another. - Max Beerbohm

  6. #6

    Default Re: Merc Costs

    Ahhh ok, I edited some stuff in export_descr_unit.txt and fired up RTW. I know what you mean now, it had no effect.

    Sorry, was my mistake.

    Go into Data\world\maps\campaign

    Assuming you're modding the merc costs for an Imperial Campaign, enter the imperial_campaign folder, open up -> descr_mercenaries.txt

    This should be what you are looking for.

    Note: The same mercenary in a different region could have different costs. Eg:

    pool Thrace
    regions Thrace Propontis Tribus_Getae Bithynia
    unit merc peltast, exp 1 cost 550 replenish 0.125 - 0.25 max 1 initial 0
    unit merc thracian, exp 1 cost 800 replenish 0.125 - 0.25 max 3 initial 1
    unit merc bastarnae, exp 0 cost 1700 replenish 0.05 - 0.08 max 1 initial 0
    unit merc greek hoplites, exp 0 cost 850 replenish 0.03 - 0.07 max 1 initial 0


    pool Northern_Greece
    regions Paionia Macedonia Thessalia
    unit merc peltast, exp 0 cost 600 replenish 0.05 - 0.08 max 1 initial 0
    unit merc illyrian, exp 0 cost 650 replenish 0.05 - 0.08 max 1 initial 0
    unit merc thracian, exp 0 cost 800 replenish 0.05 - 0.08 max 1 initial 1
    unit merc greek hoplites, exp 0 cost 850 replenish 0.05 - 0.08 max 1 initial 0

    G'luck!

  7. #7
    EB Token Radical Member QwertyMIDX's Avatar
    Join Date
    Jan 2005
    Location
    Providence, Rhode Island
    Posts
    5,898

    Default Re: Merc Costs

    Yeah, I got it too. All good.
    Thanks guys.
    History is for the future not the past. The dead don't read.


    Operam et vitam do Europae Barbarorum.

    History does not repeat itself. The historians repeat one another. - Max Beerbohm

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