For Backers Only: AI building stuff

Discussion in 'Backers Lounge (Read-only)' started by Sorian, July 19, 2013.

  1. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    @sorian, just curious, but when you guys add a new unit, do you have to set up any more than the unit reference json files for the ai before you train it? Or does it just find out what combinations to use the units in and whether or not to use certain units during training sessions? IE, do you have to make it build units via the platoon setups and such, or does it figure it out for itself during training?
  2. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    I have to tell it to build units via the json files.

    I did have an idea a while back about setting up a neural net or some other system to help the AI choose what to build based on what was on the field. Maybe for the next game, unless I get a chance down the line to do it for PA.
    lafncow and cdrkf like this.
  3. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    That would be awesome.
  4. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Yeah, if we could just plug in the unit and run a few training sessions that would be badass!
  5. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    Speaking of training sessions. @sorian Will we ever get access to neural network training? IIRC somewhere I heard that the controls for that were disabled.
  6. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    I can bring it up to @jables and see what we can do. No promises.
    SXX, cdrkf, ace63 and 3 others like this.
  7. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    lafncow, mjshorty, Quitch and 4 others like this.
  8. cwarner7264

    cwarner7264 Moderator Alumni

    Messages:
    4,460
    Likes Received:
    5,390
  9. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
  10. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Did the AI forget how to Uber cannon?
  11. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    So a couple questions about the latest changes:

    Code:
            'Normal': {
                percent_vehicle: 0.25,
                percent_bot: 0.45,
                percent_air: 0.2,
                percent_naval: 0.05,
                percent_orbital: 0.05,
                metal_drain_check: 1.12,
                energy_drain_check: 1.25,
                metal_demand_check: 1.32,
                energy_demand_check: 1.40,
                micro_type: 0,
                go_for_the_kill: false,
                priority_scout_metal_spots: false,
                neural_data_mod: 1.3,
                adv_eco_mod: 1.0,
                adv_eco_mod_alone: 1.0
    I hear percent_land is still supported, but the (modded) AI in my tests now only builds air units. How does percent_land differ from percent_bot and percent_vehicle?
    What do adv_eco_mod and adv_eco_mod_alone do?
    Do I need to make extensive changes and updates to AI json files for it to work or will it work with the old code as well?
  12. Quitch

    Quitch Post Master General

    Messages:
    5,850
    Likes Received:
    6,045
    Doesn't the AI just add bot and vehicle together to get land?

  13. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    My percent_land is set to 0.55, while percent air is set to 0.2. But since I don't have percent_bot and percent_tank it must be taking those two as 0. I might need to compromise and set them both to 0.225. I don't like this change since air first is also viable (maybe even the most viable), but once it's countered you shouldn't be relying on air as much and the bulk of your forces should always be ground forces. @sorian please consider this: The best factory type to start with may not be the factory type that is needed the most through the game.

    The second thing I have noticed is removal of Need*LandFabber and Need*LandFactory. Does the old code still work. Usually in RCBM a specific factory is not required, any T1 factroy will do. Again we are confronted with the fact that the generalised is better than specialised in this case. I don't want to force the AI to build a specific factory and make it more predictable. If AI decided it wants a tank only game it should have one. If (RCBM) balance doesn't allow that freedom then I need o fix the balance, not the AI.

    On the more positive note: AllMetalSpotsFull and UnableToExpand will be useful for our T2 metal expansion. And I need to take a look at how did oyu get Jigs to work, because I have tried and failed to do so.
  14. Quitch

    Quitch Post Master General

    Messages:
    5,850
    Likes Received:
    6,045
    While I completely agree (and think the default AI wanting more bots than tanks is a big mistake given the meta) you can setup customised AI rules to handle the opening and bypass this.
  15. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    True, but I shouldn't really need to, right? It worked without it before.
  16. Quitch

    Quitch Post Master General

    Messages:
    5,850
    Likes Received:
    6,045
    Well, no, it didn't work before because the first factory could be drawn from any category so you should have been writing custom opening rules anyway.
  17. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    That's what I'm talking about. It could be drawn form ANY category, so you didn't need any special code to make it choose at random what it wanted to build.
  18. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    It splits percent_land into percent_bot and percent_vehicle. I will double check to make sure I didn't miss anything.
    mjshorty likes this.
  19. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    Is the replay not up yet, or is the replay limited to paying users? I'm only seeing a "The full high-quality recording is available after editing from the PREMIUM area. It takes less than a minute to become a member!" message.
  20. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    Yeah, I believe the replay is behind a pay wall for the moment. The live broadcast was available to all.

Share This Page