Question about AI

Discussion in 'Modding' started by Lightnessking, Nov 24, 2016.

  1. Lightnessking

    Lightnessking New Member

    Hello everyone,

    I'm new to modding and very inexperienced however, editing script files for example unit costs isn't that hard.
    My main concern is that the AI seems to ignore the edited unit costs. How does the AI work in this case? For example when I set spearmen to 1000 food (a bit much I know, but for the sake of testing.), it does work for players but the AI can still pump out hundreds of spearmen while the starting resources are 1000 food.

    Hopefully someone can help me,

    Thanks in advance.

    -edit- Nevermind, the AI in multiplayer also takes in account these costs.
    Last edited: Nov 25, 2016
  2. Hansol333

    Hansol333 Active Member

    I stopped modding a while ago because I had the same problems.
    Increased food cost and enemy AI stopped doing anything. Did that change with the latest patch? I havent checked it so far.

    However would still be nice to know where I could change it, for example that after a certain time the enemy AI stops producing 17c pike and sends 17c muskets.

    Or give a special upgrade (+100% food) only the AI can perform.
  3. colonelburton

    colonelburton Active Member

    AI can also buy to the market.
    Check the end of game statistics.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice