Results 1 to 3 of 3

Thread: Modding unit cost/upkeep etc.

Hybrid View

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

    Default Modding unit cost/upkeep etc.

    I was wondering if someone could show me what digits in the export_descr_unit file effect the cost to recruit units, the upkeep of the units, and if a unit cannot be recruited until a certain year (roman legionaires) how i change that...thanks guys

  2. #2
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Modding unit cost/upkeep etc.

    type desert archers sassanid
    dictionary desert_archers_sassanid ; Desert Archers
    category infantry
    class missile
    voice_type Light_1
    soldier desert_archers_sassanid, 40, 0, 0.15
    mount_effect elephant +6, chariot +6
    attributes sea_faring, hide_forest, can_sap
    formation 1.2, 1.2, 2.4, 2.4, 2, square
    stat_health 1, 0
    stat_pri 7, 1, arrow, 160, 30, missile, archery, piercing, none, 25 ,1
    stat_pri_attr no
    stat_sec 3, 1, no, 0, 0, melee, simple, piercing, sword, 25 ,0.9
    stat_sec_attr no
    stat_pri_armour 4, 6, 0, leather
    stat_sec_armour 0, 1, flesh
    stat_heat 0
    stat_ground 1, 1, 0, -1
    stat_mental 8, normal, trained
    stat_charge_dist 60
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 380, 120, 40, 60, 380
    ownership sassanids
    the relevant line is stat_cost, 380 = cost to recruit, 120 = maintenance - unless you have mod that changed file that should all be explained at top of export_desrc_units file. How they are recruited is defined in export_descr_buildings.txt file, if you have something that is not available until later in campaign it probably has after the requires factions section:
    and marian_reforms
    activation of marian_reforms does not relate to set date but fulfilment of hard coded set of conditions. You can delete that requirement from the units line if you want them to be available always.

    If you actually want to get unit recruitment aligned to set date, that would be difficult but could be possible through scripting, probably by adding the recruitment building on a set turn.

  3. #3

    Default Re: Modding unit cost/upkeep etc.

    thanks for your help

Posting Permissions

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