Results 1 to 7 of 7

Thread: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

  1. #1

    Default Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP
    Hey guys at TWCenter.Net,
    I am an amateur programmer and a current student at a data science bootcamp. Iíve derived a way to play against machine learning AI in both campaign and in battle, but it will be tedious and slow, unless I find a better solution via quicksaving, loading, quicksaving, so on and so forth.
    By using the hotseat campaign mechanic, users can play against machine learning AI easily and quickly. The save file for the hotseat campaign called Quicksave.sav, can be used to readily have a trained ML agent play Rome Total War, save the Quicksave.sav file and the user can load the Quicksave.sav file. Note, the player cannot play in battles against the Machine Learning AI, so be careful how you play. There could theoretically be a function via a script for the game to by default, as per every attack by the AI, the game could stop, quick save, and the player could fight the battle.
    That is a little more tricky, but I think doable with some neat scripting tricks. The Machine Learning AI will be fed videos of my gameplay footage per respective total war game and even better high quality footage later on to train on. This will be one of my projects I will undertake later on down the road. It is an idea that is a good loophole workaround.
    Ask me any questions and if anyone wants to work on this project for the next two months, please email me at

    john.lasheras@gmail.com or call me at 551-482-6232.

    Maybe we can get good jobs out of this.

    Sincerely,
    John Lasheras


  2. #2

    Default Re: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    The script is described fully, here:

    https://forums.totalwar.org/vb/showt...mpaign-Release

    and is downloadable, here:

    http://www.mediafire.com/file/2sappk...cript.txt/file

    I have the file saved and on my local hard-drive as well as on Google Drive.

  3. #3

    Default Re: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    Also, I sadly think that this will only work with the campaign, but the AI will be able to train on battles and can be used for some other repurposed fashion. The main problem here is that when the AI plays its turn, you can't play, but you MUST watch the AI play, which is kind of like cheating, but this can be fixed through another run around of just alt tabbing out of the game while the AI plays. Or, alternatively, every time the AI strikes your faction, the game autosaves and allows you to play next. This AI could be retrofitted for multiplayer and some sort of netcode could be rigged up by me predicated on what open source netcode I can find that is low latency and works well with Hamachi.

    You could, theoretically, have a battle between the machine learning AI and RTW's crap AI, but I probably wouldn't sacrifice my troops like that. As a segue into a further solution for this, would be hacky and glitchy netcode for RTW.

    This is very theoretical, but part of a planned featureset.

  4. #4

    Default Re: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    Quote Originally Posted by Harbinger4150 View Post
    The script is described fully, here:

    https://forums.totalwar.org/vb/showt...mpaign-Release

    and is downloadable, here:

    http://www.mediafire.com/file/2sappk...cript.txt/file

    I have the file saved and on my local hard-drive as well as on Google Drive.

    Just a reminder, this specific script will be a part of my mod, but this specific script is NOT my work.

    Credit goes to the original author. What I plan on doing is to use this script in tandem with my own work, while giving credit.

  5. #5

    Default Re: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    Doing some more research, I found some open source netcode and a multiplayer campaign client mod which I will modify for convenience sake, but once again this following link is NOT my mod, and credit is due to the proper creators/owners.

    Once again, this ML AI is VERY, VERY far down the line. I would only be comfortable taking on this project in about a year or so, but I'll be working on it slowly until then.

    http://www.twcenter.net/forums/showt...t-lt-!!!/page7

  6. #6

    Default Re: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    Greetings everyone, I've got some more updates for my plans for this mod:

    I've done more research yet still and have found a hacky Hotseat Launcher created by TWCenter user "Showdown".

    I am going to integrate his work into my project and contact him to see if he's interested in working with me.

    http://www.twcenter.net/forums/showt...1#post15324600

  7. #7

    Default Re: Machine Learning Hot Seat Campaign (Machine Learning for RTW and M2TW) WIP

    I am interested in working with you, I have experience in memory reading and editing rome total war and medieval 2 total war.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •