[HELP] Modding The AI

Discussion in 'Mod Support' started by emraldis, October 28, 2014.

  1. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    I'm trying to mod the AI, but any changes I make to the code prevents me from playing/spectating any game with AI. It keeps disconnecting me from the server. Can someone help?
  2. burntcustard

    burntcustard Post Master General

    Messages:
    699
    Likes Received:
    1,312
    Sounds like an invalid .json file somewhere?
  3. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Ok, fixed it, just the crash was weirding me out. It was, of course and invalid json. However, now the AI is dead, so I'll have to look at it later.
  4. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Ok, so now the AI builds an air factory, an energy storage, and then assists the factory to pump out random air units, which do nothing at all. And that's all it does... Am I doing something wrong?

    EDIT: Clearly I am, I meant to say "What am I doing wrong?"
  5. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Are you using absurd AIs?

    Do you tweak metal at all?
  6. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    I'm using normal AI's and did not tweak the metal...
  7. thetrophysystem

    thetrophysystem Post Master General

    Messages:
    7,050
    Likes Received:
    2,874
    Likely the issue.
  8. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    ?
  9. thetrophysystem

    thetrophysystem Post Master General

    Messages:
    7,050
    Likes Received:
    2,874
    Well, depending on what you are trying to do, first always assume you are going to play with absurd AI.

    Then, you have to do a step by step process where you know the commander will start with the eco or prioritize the eco to get first factory, then prioritize just enough fabbers to use the eco, then prioritize factory per eco ratio.

    If wrong, then the commander won't think he has eco for a fabber so won't build one and will never expand. Or, the commander won't think he can afford a factory.

    Try tweaking that.
  10. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    But I haven't tweaked any of those things to begin with, so why are they broken?

Share This Page