1. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  2. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  3. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[General] AI doesn't work

Discussion in 'World Editor Help Zone' started by Raider Neoh, Sep 16, 2020.

  1. Raider Neoh

    Raider Neoh

    Joined:
    Aug 7, 2015
    Messages:
    325
    Resources:
    0
    Resources:
    0
    Can anyone please help me? I am making myself some custom melee series, but my night elf AI just wouldnt work. Both human, orc and undead AI works just fine. As of night elf AI the computer only does mining gold, and does nothing else. I worked on this for 7 months, and I don't want to just give up on this project, but I really can't figure out what's the issue with the AI. Please if anyone can take some time and check it out for me, the template map is provided in it

    The Ai files are in the map itself, you will have to export it if you want to check it out
     

    Attached Files:

  2. noob

    noob

    Joined:
    Sep 28, 2011
    Messages:
    784
    Resources:
    0
    Resources:
    0
    Is it 1.27 compatible?
    If yes then I can try to help.
     
  3. Raider Neoh

    Raider Neoh

    Joined:
    Aug 7, 2015
    Messages:
    325
    Resources:
    0
    Resources:
    0
    Thanks! It's 1.30 for me... but can you try viewing it? The unit stats are somehow stuck at 1.26(or 1.27) ver if I remember correctly
     
  4. Fleck

    Fleck

    Joined:
    Dec 20, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    I tested it, well I was unable to open any ai scripts since the al editor are looking for .wai files not .ai files so I made a very basic ai. This basic ai can build a coral bed, altar of depths and quarters, train reavers, can harvest lumber but strangely not gold. I think it has something to do with the slave abilities since I was unable to select it as gold worker in the ai editor. Also I used the 1.31 version so you might not be able open the edited map at all.

    I recommend learning how to use the ai editor, here are some links.

    AI Editor
    The AI Editor
     

    Attached Files:

  5. Raider Neoh

    Raider Neoh

    Joined:
    Aug 7, 2015
    Messages:
    325
    Resources:
    0
    Resources:
    0
    upload_2020-9-17_15-51-39.png

    What do I do :(

    but still, thanks for the links tho
     
    Last edited: Sep 17, 2020
  6. Fleck

    Fleck

    Joined:
    Dec 20, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    Not much, I'm afraid. I tried opening your map first in my 1.27 version but yours was more recent and saving it causes my editor to crash so I used 1.31 version instead. And it's not possible to downgrade the map either. I zipped the ai file, try extracting, importing and triggering it. Once the .wai file is imported, it should automatically create an .ai file. I also attached a screenshot on how to trigger it. Run the custom ai script before running the default melee ai scripts.
     

    Attached Files:

  7. Raider Neoh

    Raider Neoh

    Joined:
    Aug 7, 2015
    Messages:
    325
    Resources:
    0
    Resources:
    0
    thanks dude! i appreciate your help :)
     
  8. Fleck

    Fleck

    Joined:
    Dec 20, 2012
    Messages:
    15
    Resources:
    0
    Resources:
    0
    Your welcome, glad to help!