Results 1 to 2 of 2

Thread: A.I. recruiting

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Laetus
    Join Date
    Oct 2008
    Location
    a small dungeon in so california
    Posts
    6

    Default A.I. recruiting

    the mod I currently have installed is Custom Campaign Mod V. 2.

    I modified the export_desc_bldg.txt file to up the trade revenues, in the hopes that if the A.I had a little more cash, it would build better buildings and recruit some better armies.

    An unintended side effect was that the A.I. began horde-spamming ; stacks and stacks of militia units and merchant cavalry.

    Since several of the most flagrant "recruit-spammer" countries only have 3 territories (Spain, Portugal etc), I believe I can safely assert that (for reasons unknown to me) the A.I. is not limited in recruiting to the 'stack' in the desc_bldg file , which should have limited the total units recruitable to the regeneration rate for all countries inherent to the specific buildings.

    Question 1:

    what code do I have to modify to force the A.I recruiting to clamp to the limits of export_descr_buildings.txt ?


    Question 2:

    How do I fix the A.I cheat that the A.I. can't go broke ?
    I attempted to stem the A.I. recruit spamming by cutting off their cash - blockading ports, blowing up trade buildings with assassins, etc., and even though the A.I. isn't earning much cash - its spending it like a sailor in port on saturday night.

    Any suggestions appreciated. After investing 4 hrs searching various current and archived threads on these two scripting/mod issues I decided to bite the bullet and open a thread.

  2. #2

    Default Re: A.I. recruiting

    1) You can reduce how frequently various units are available by editing the unit line in the '' file.

    Below is an example of the unit line:
    Code:
    recruit_pool "Aztec Peasants"  1   1   9  0  requires factions { aztecs, }
    The red number is how frequently a unit can be recruited, the green number is how many can be recruited. Reducing these numbers will reduce the number of militia the AI can recruit.

    2) The only way the AI cannot go broke is if you have a money script in the 'campaign_script.txt'. Try reducing the amount of money the AI gets every turn.
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

Posting Permissions

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