Results 1 to 7 of 7

Thread: How does the AI receive generals?

  1. #1
    Sir Matthias's Avatar Tiro
    Join Date
    Oct 2018
    Location
    Riding off into the sunset
    Posts
    243

    Default How does the AI receive generals?

    Does the AI get a spawned general every turn they have more setts than generals? If so, how could I turn that off and insert my own generals?

  2. #2
    nadalio's Avatar Civis
    Join Date
    Apr 2016
    Location
    Where the nameless things gnawing the earth
    Posts
    116

    Default Re: How does the AI receive generals?

    There are news about?

  3. #3

    Default Re: How does the AI receive generals?

    It seems to be rather random but if usually follows the number of settlements. The more settlements, the more Generals you will have, but it's not always like this. You do not turn it off but you can create something like EBII did and recruit your own Generals so that you can better control how many you have.

  4. #4
    nadalio's Avatar Civis
    Join Date
    Apr 2016
    Location
    Where the nameless things gnawing the earth
    Posts
    116

    Default Re: How does the AI receive generals?

    Thanks for the quick reply Lusitanio!!
    Do you mean that you can chose to recruit the generals from captains in EBII?

  5. #5
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: How does the AI receive generals?

    When you recruit a unit with the general_unit attribute (in EDU) then it creates a general with that unit as his bodyguard. Normally this does not happen because normally general_unit units are not made recruitable in EDB.

  6. #6
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,487

    Default Re: How does the AI receive generals?

    Quote Originally Posted by Withwnar View Post
    When you recruit a unit with the general_unit attribute (in EDU) then it creates a general with that unit as his bodyguard. Normally this does not happen because normally general_unit units are not made recruitable in EDB.
    I actually considered making more recruitable generals for the AI a way to make it more likely that the AI has it's armies lead by the generals (not captains, what happens most of the time). do you see drawbacks of such solution?

  7. #7

    Default Re: How does the AI receive generals?

    Quote Originally Posted by Jurand of Cracow View Post
    I actually considered making more recruitable generals for the AI a way to make it more likely that the AI has it's armies lead by the generals (not captains, what happens most of the time). do you see drawbacks of such solution?
    The only negative thing that I see is the AI recruiting too many Generals but you can control that by limiting the recruitment of those Generals in certain buildings and with a very low refreshment pool.
    You can also create an event in the campaign script and add that condition to the recruitment of the General so that the AI would only be able to recruit the General while that event is "on".

Posting Permissions

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