The PokéCommunity Forums Fan Games ROM Hacking Research & Development
Development [FR] Trainer AI Script Resource

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

Reply
 
Thread Tools
  #1    
Old May 19th, 2018 (7:16 PM).
xizqu's Avatar
xizqu xizqu is offline
     
    Join Date: Feb 2018
    Location: California
    Gender: Male
    Nature: Adamant
    Posts: 82
    If this is your first time reading about ai scripting, please take a look at the following thread.

    Akamethebulbasaur, Skeli and myself have been working on the AI for Fire Red. Adding moves and abilities common routines in the community but little work has been done to the ai. When you add moves and abilities, the ai does not know how to use it. I seek to solve that issue and I wouldn't doubt akame and skeli feel the same way although I cannot speak for them.

    I have started a GitHub project here along with a discord here.

    I have all the information in the GitHub. Skeli created the compiler in the folder titled "python compiler". Credits go to that great man. Akame has created 90% of the routines found in my Ai routine(Here but don't add it as I have to make adjustments) and of course credits go to him.

    I hope the github can become a community effort. If done in a proper manner, we can have an intelligent base ai with modular resources to add moves and abilities for your specific needs.

    How can you help?
    Please take a look at the resources folder i have provided. In it you will find a txt file titled ai_commands. Read over those, these can be compared to scripting commands in XSE or BSP. Once you understand what the commands to, please feel free to add some moves. I made a file in the ai_scripts folder titled "Moves_Unsure". If you would like your move/ability script reviewed before being inserted, please put it there. This gives a chance for newer scripts to participate without the stress of messing up!

    If you have any questions, feel free to message me in the discord or here on PC!
    Reply With Quote
      #2    
    Old July 24th, 2018 (7:11 PM). Edited August 7th, 2018 by SidJustice.
    SidJustice's Avatar
    SidJustice SidJustice is offline
       
      Join Date: Jul 2018
      Posts: 5
      I don’t get why this thread doesn’t have any attention. Not even a single post.
      Reply With Quote
        #3    
      Old July 25th, 2018 (6:15 AM).
      Nisarg's Avatar
      Nisarg Nisarg is offline
         
        Join Date: Jan 2017
        Gender: Male
        Posts: 208
        Yay! Thanks for this! I'd like to see the progress and discussions, but the discord invite has expired... Would you please edit the MP and put up a permanent invite, thank you :)
        __________________
        Reply With Quote
          #4    
        Old July 25th, 2018 (8:16 PM). Edited July 25th, 2018 by xizqu.
        xizqu's Avatar
        xizqu xizqu is offline
           
          Join Date: Feb 2018
          Location: California
          Gender: Male
          Nature: Adamant
          Posts: 82
          The discord is dead. Being as this got no attention, no one joined the discord. I can certainly make a group if this is something anyone would want to be apart of.

          As of right now, I have totally overhauled the base ai. As I, and probably most rom hackers, will be using Leon's/mrds base, I catered this to those move sets. Around 100 moves are added into the ai, most base abilites and added abilites are done(that needed to be coded in). In terms of abilites, I only have the minus script (don't do if opponent has this) but that makes up the bulk of the abilites.

          No major testijg is done so I can guarantee there are little nuances (like the ai would probably be better off using a status move but they decided to use an attack one) but no softlocking or crashes occur. With that said, the ai is wayyyy smarter than before.

          Tbh, to anyone reading this, ai programming is literally just scripting. It's as easy as xse with different commands. It's just THOUSANDS of lines of code hence why it's taken so long for anyone to do it. I'll update the GitHub with all my new resources and updated scripts tomorrow if you two want to look at it.

          Lastly, I've had to put rom hacking down for a few weeks as irl stuff has me too busy. I don't plan to wait until my room is done but I will be taking a lengthy break. I will update everything so anyone can pick up right where I left off for effenciency reasons. Side note: you will have to install new ai commands(info is in op). My asm routine will add all 30+ routines. Will update that too as akame has added more commands and fixed broken ones as well.
          Reply With Quote
          Reply

          Quick Reply

          Join the conversation!

          Create an account to post a reply in this thread, participate in other discussions, and more!

          Create a PokéCommunity Account
          Thread Tools

          Posting Rules
          You may not post new threads
          You may not post replies
          You may not post attachments
          You may not edit your posts

          BB code is On
          Smilies are On
          [IMG] code is On
          HTML code is Off

          Forum Jump


          All times are GMT -8. The time now is 11:46 AM.