Results 1 to 4 of 4

Thread: Unit recruitment

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Unit recruitment

    I have noticed playing this thing before and after the patch the unit recruitment inthe settlements seems to be at the whim of the AI. Is there a thread I have not found that has the formulas/algorythms CA built into the AI? Can they be modified?

  2. #2

    Default Re: Unit recruitment

    This is sooo in the wrong forum. Post in modding section and you'll get tons of help with this, better yet search first. But if you didn't find anything, they can surely help.

  3. #3

    Default Re: Unit recruitment

    This will be moved, and moved threads have a tendency not to be answered as often. . . so I will do my best now

    In export_descr_buildings.txt under each building that recruits is the lines for castle:
    recruit_pool "Mailed Knights" 1 0.4 3 0 requires factions { england, scotland, france, hre, spain, portugal, milan, venice, papal_states, sicily, Normans, }
    the second number "0.4" is how quickly they refresh I believe (may or may not be inversed so that lower number is quicker)
    third number "3" is the max limit.
    I'm not 100% sure about these values as I haven't experimented too much yet, but give it a go yourself.

    Edit: or did you mean how the AI composes it's armies?

    If so, the AI has a value in the descr_strat.txt for each faction, ie: comfortable caesar, trader napoleon, etc.
    I'm not sure which is which, but I believe this prioritizes certain agents/buildings/unit recruitments.
    The AI also selects units based on cost-effectiveness. High-stats and low cost gets some serious spamming. Again, I am not yet 100% sure on this, but I have seen full French stacks with 15 mailed knights and 5 mounted sergeants.

    If this doesn't answer your question, then please give an example of the problem.
    Last edited by severdhope; December 20, 2006 at 01:41 PM.
    Idealists are like the captain that knows his destination, but doesn't know how to sail,
    Realists are like a captain who knows how to sail, but not where he is going.

    Huge Cathedral Fix
    Mod Switch for Dummies
    Lite Historical Positions Mod - recruiting!

  4. #4
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Unit recruitment

    Makes sense. Thank you.

Posting Permissions

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