Results 1 to 3 of 3

Thread: Turns until a unit is available again

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sadreddine's Avatar Lost in a Paradise Lost
    Join Date
    Oct 2006
    Location
    Madrid, Spain
    Posts
    1,521

    Default Turns until a unit is available again

    Peace!

    I was wondering how do I mod the 'turns until a unit is available again', after training it? Specifically, 15 turns for Ghorid Ghazis is too much compared to similar units for other factions. How do I mod this? I've been trying in exp_descr_unit and exp_descr_building but found nothing.

    Thanks in advance!
    Struggling by the Pen since February 2007.

    َاللَّهُ بِكُلِّ شَيْءٍ عَلِيمٌ

  2. #2
    Judeman266's Avatar Senator
    Join Date
    Mar 2011
    Location
    Philadelphia, PA
    Posts
    1,030

    Default Re: Turns until a unit is available again

    It is in export_descr_building. Here is a guide

    Originally Posted by Judeman266
    @Jared2556

    In your Broken_Crescent_kingdoms\data there is a text file, export_descr_buildings. Open it up and press control+f, type dismounted junior druzhina (or) whatever unit you are looking for.

    Here are 2 examples. In this case the number you will be looking at is in bold.

    recruit_pool "Dismounted Junior Druzhina" 1 0.17 1 0 requires factions { russia, kievan_rus, } and hidden_resource kievan_rus


    recruit_pool "Dismounted Junior Druzhina" 0 0.13 1 0 requires factions { russia, kievan_rus, } and not hidden_resource kievan_rus

    This first example (with hidden_resource kievan_rus) refers to recruiting the unit in the general "Russia" area. The second example (not hidden_resource kievan_rus) refers to recruiting the unit outside of Russia. The number in bold shows the rate at which a unit replenishes. A unit appears every time the number passes 1.0. In this case it would take 6 turns or years for a unit to appear. If you want it to replenish faster, you would change the number to anything above .17 but below 1.0.

    More extensive guides are located here

    A Guide to Export_Descr_Buildings.txt

    http://www.twcenter.net/forums/showthread.php?t=221100

    A Beginner's Guide to the Export_Descr_Unit

    http://www.twcenter.net/forums/showthread.php?t=221093


  3. #3
    Sadreddine's Avatar Lost in a Paradise Lost
    Join Date
    Oct 2006
    Location
    Madrid, Spain
    Posts
    1,521

    Default Re: Turns until a unit is available again

    Ah, I somehow guessed it was that number but didn't figure out how it worked, as names are quite generic (i.e. ghorid_medium or ghorid_heavy) and after a quick calculation I didn't quite get the numbers I was expecting. Anyway, I'll look at it when I get back home, thanks!
    Struggling by the Pen since February 2007.

    َاللَّهُ بِكُلِّ شَيْءٍ عَلِيمٌ

Posting Permissions

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