How the AoE2 AI Thinks (ft. Promi)

Ойындар

How do you make a computer so that it competes with an experienced human player? Let's look at the AI script and ask the person who programmed the AI to begin with.
AI script: gist.github.com/Andygmb/1e3a6...
Patreon: / spiritofthelaw
Full intro song: • Spirit of the Law Chan...
Background music from Epidemic Sound: www.epidemicsound.com
Game: Age of Empires 2 HD with Forgotten Empires, African Kingdoms, and Rise the Rajas expansions

Пікірлер: 791

  • @samueljett7807
    @samueljett78075 жыл бұрын

    A video I didn't know I wanted until now

  • @baldawen

    @baldawen

    5 жыл бұрын

    How I feel about every SotL video that's not a Civ Overview

  • @Namelesswhirl

    @Namelesswhirl

    5 жыл бұрын

    I agree Samuel quite interesting...

  • @rurouniad

    @rurouniad

    5 жыл бұрын

    As someone who knows code this is both fun and cool. I could have watched a 40 minute video.

  • @adambishop328

    @adambishop328

    5 жыл бұрын

    Truer words have never been said

  • @GreatKingOfLipnice

    @GreatKingOfLipnice

    5 жыл бұрын

    Seconded. A good idea.

  • @FalsPals
    @FalsPals5 жыл бұрын

    Six minutes in: "My sheep perished when my folk sought to use it as food. No wonder thou wert victorious. I shalt abdicate"

  • @ambultrabae2175

    @ambultrabae2175

    5 жыл бұрын

    This gave me an laughattack, thanks for that friend! :D :D

  • @Khananbuilds

    @Khananbuilds

    4 жыл бұрын

    😂😂😂

  • @Gunth0r

    @Gunth0r

    4 жыл бұрын

    "My peasants used pig's bladders to catch their seed! No wonder thou wert victorious. I shalt abdicate."

  • @MarSHornetsandWasps-v26

    @MarSHornetsandWasps-v26

    4 жыл бұрын

    I couldst not replace the berries.

  • @sharilshahed6106

    @sharilshahed6106

    4 жыл бұрын

    "Thou art human, with soul and wit. I am naught but clockwork!" *resigns even before my first barracks*

  • @Heavysweating
    @Heavysweating5 жыл бұрын

    _Enemy scout passes by AI's base_ Help! The enemy is in my town!

  • @hussammustafa477

    @hussammustafa477

    5 жыл бұрын

    At once, sire.

  • @MultiTwentyseven

    @MultiTwentyseven

    5 жыл бұрын

    Send me your spare ressources

  • @reeseweisgerber4268

    @reeseweisgerber4268

    5 жыл бұрын

    Wood please

  • @madeiraislander

    @madeiraislander

    5 жыл бұрын

    @@VandalGaming-gw6bt it's not wise to attack while in the dark age sire!!! 30 secs later Attack an Enemy NOOOOW!!!

  • @himangijayakar2322

    @himangijayakar2322

    5 жыл бұрын

    AI FOoOoDplzWwwooooooooodplzGoooooldddplzStoooooooneplzz me you have 30000 food 30000 gold 30000 stone and 30000 wood

  • @lahire2960
    @lahire29605 жыл бұрын

    *THEM DEVS CAN'T MAKE AN AI SMARTER THAN LA HIRE*

  • @AmazingDuckmeister

    @AmazingDuckmeister

    5 жыл бұрын

    The blood on La Hire sword is almost dry!

  • @PivotToThePast

    @PivotToThePast

    5 жыл бұрын

    😂 Haha

  • @jamesspargo9399

    @jamesspargo9399

    5 жыл бұрын

    La Hire weeshes to keeel somesing

  • @Skelath

    @Skelath

    5 жыл бұрын

    But they did make a "high definition" AI, lol.

  • @udechile2497

    @udechile2497

    5 жыл бұрын

    You created that account just to say that

  • @T-West
    @T-West5 жыл бұрын

    Fun fact about Promi: He may be the only human in existence ever to have read the rule book for the Age of Mythology board game. Unfortunately we got "board" and stopped playing by the time he finished understanding it...

  • @RiseOFStalker
    @RiseOFStalker2 жыл бұрын

    We need an updated version of this video for the definitive version. Please make it happen😃

  • @0sba
    @0sba5 жыл бұрын

    When I was 8 I learned building a wall around my settlement (especially on forest maps) with an opening and towers behind the walls made the AI attack from that gap 100% of the time.

  • @josefikrakowski
    @josefikrakowski5 жыл бұрын

    all i wanted to know is why the AI has an obsession with hoarding its army around a building and doing nothing the entire match XD

  • @TheGeoCheese

    @TheGeoCheese

    5 жыл бұрын

    meme machine standard difficulty. The AI is hell aggressive on anything higher than standard.

  • @Goabnb94

    @Goabnb94

    5 жыл бұрын

    I captured a screenshot once of an AI ally, whos army was surrounding its lumbercamp and the lumberjacks couldn't get to it so they just stood around doing nothing. Meanwhile I was being attacked, asking for help, and this guy was asking for resources with his army doing nothing but blocking his own resources.

  • @Unwanted.A7X

    @Unwanted.A7X

    5 жыл бұрын

    @@Tariousgaming even on hardest keep doing that shit, you are getting destroyed by the enemy and your allie ai doesnt come to help you after 2 hrs of match

  • @lyserg173

    @lyserg173

    5 жыл бұрын

    @@Tariousgaming it happens in Hard

  • @Handconnonierr

    @Handconnonierr

    5 жыл бұрын

    @@Goabnb94 The king probably was watching for his X-mass tree and there was his bodyguards around to secure him while he found his tree. And villagers was not allowed to work, because they might chop and make tree usable (99/100 if you understand what I mean :D), yeah and while king on his duties and there is no income, that's why allies is needed for. ps. damn that would be nice view.

  • @obesechicken13
    @obesechicken135 жыл бұрын

    I like the AI but wish it didn't have bullshit archer/anti mangonel micro. No human can individually micro 40 archers and it causes players to shy away from mangonels or infantry.

  • @LeMicronaut

    @LeMicronaut

    5 жыл бұрын

    I like the micro, but the single player campaigns can be really frustrating cause of this, especially Joan of Arc's against English Longbow spam. You have to micro each mangonel to attack ground in a matrix. It would be nice if there was target scatter or area bombard like Company of Heroes cause all projectiles landing in the same spot is usually pointless against a moving target.

  • @kherossilverlight8400

    @kherossilverlight8400

    5 жыл бұрын

    I compensate it with the power of Pause and give several orders at the same time. It doesn't work when using infantry, but at least you can keep your economy going while your army is getting ravaged ;)

  • @VarenvelDarakus

    @VarenvelDarakus

    5 жыл бұрын

    You obviously don't watch t90 streams of best players

  • @Zakuzelo

    @Zakuzelo

    5 жыл бұрын

    That's probably my biggest complaint about AoE2, from release to this day. Even now I've got a stigma against mangonels and ESPECIALLY bombard cannons from my years of fighting the AI.

  • @galliman123

    @galliman123

    5 жыл бұрын

    This is AOE2HD issue not an original AOE2 AI one, the original AI wad more broken and useless but at least didn't do god like micro

  • @buttnuttz6119
    @buttnuttz61195 жыл бұрын

    I wish you had asked why the AI hates walls so much?

  • @Heavysweating

    @Heavysweating

    5 жыл бұрын

    I don't think he meant that with the comment, but the fact that the AI deletes it's own walls usually at some point in imp.

  • @buttnuttz6119

    @buttnuttz6119

    5 жыл бұрын

    Javier Mora the original AI is able to build walls

  • @torinjones3221

    @torinjones3221

    5 жыл бұрын

    Yeah the original AI used to love walls

  • @Klosterhasi

    @Klosterhasi

    5 жыл бұрын

    walls in general are only an early-warning thing because of mangonels, rams and petards. They dont protect you from shit. The AI sees everything at once, so it doesnt need a warning systems like that, as it knows when its being attacked.

  • @SC0RPY0N

    @SC0RPY0N

    5 жыл бұрын

    I think they remove walls in HD AI, because they was unable to solve that bug with blocked troops when you can beat 1 vs 7 Hardest AI. (especially on closed maps).

  • @joshuaread9366
    @joshuaread93665 жыл бұрын

    @spirit of the law This is by and far the most interesting video you have posted! And I’m not just throwing out that term lightly. I really mean that! I think it’s safe to say we ALL have played somewhere between 50 and 50,000 hours against the AI and ALL wonder how he thinks and works. This video had us go from a view through a keyhole to a view through a big window. Thanks a lot!

  • @inkadinka9517
    @inkadinka95175 жыл бұрын

    How you consistently produce this volume of great content limited to a single game never ceases to amaze me.

  • @mod4rchive
    @mod4rchive5 жыл бұрын

    this is miles better quality content, you have improved a lot. i'd never guessed you would find the actual dev... this is pornography

  • @i.e.o.5840

    @i.e.o.5840

    5 жыл бұрын

    10/10 better than PornHub

  • @jacques4703

    @jacques4703

    5 жыл бұрын

    But pornography is bad for you and this video is educative

  • @ManthanPandYEAH

    @ManthanPandYEAH

    4 жыл бұрын

    @joaquin Sotl interviewed him again for de check that out

  • @lmln1532
    @lmln15325 жыл бұрын

    This exclusive footage will show you what the ai says to its villagers: WOOD PLEASE FOOD PLEASE GOLD PLEASE WOLOLO WOLOLO

  • @kentsang7410
    @kentsang74105 жыл бұрын

    What I hate about the AI is that they never be useful when they are the ally in the campaign. They cannot even protect themselves and ask you for resource

  • @galliman123

    @galliman123

    5 жыл бұрын

    HD AI breaks the campaigns and was never designed for it, original AI makes campaigns better

  • @Chris-jl6vp
    @Chris-jl6vp5 жыл бұрын

    Here's my question. When the hell are they gonna make AIs build walls again.

  • @danielrobertson2154

    @danielrobertson2154

    4 жыл бұрын

    The new DE ai builds walls out of monasteries in all my games lmao

  • @furkanaydin8046

    @furkanaydin8046

    4 жыл бұрын

    @@danielrobertson2154 Just finished a game Aztects vs Inka and the AI build walls out of castles lmao

  • @royalhero4608

    @royalhero4608

    3 жыл бұрын

    I play on Hard and they make walls of castles but only on the side facing you, so you can always just flank them and get into the heart of their base lol

  • @su0tin731
    @su0tin7315 жыл бұрын

    Whenever I have an ally AI, it always works like that: IF (No market is built) THEN Build a market IF (There's space around the market) THEN Build anything around the market. THEN Clutter armies around the market. Yay for trading with the AI!. Why does the AI build in such a messy way? It's always a clutter of buildings with small spaces between them like it wants to build a maze.

  • @Goabnb94

    @Goabnb94

    5 жыл бұрын

    No, no, no. Its: IF (human ally) THEN (don't build a market for 30 minutes) IF (don't have market) THEN (pester human for resources) IF (human ally being attacked) THEN (don't help or send resources) IF (human enemy) THEN (rush market to begin trading)

  • @su0tin731

    @su0tin731

    5 жыл бұрын

    @@Goabnb94 hahaha, Yeah, they also do that! :D

  • @william.mariner4230

    @william.mariner4230

    5 жыл бұрын

    The video states that it the AI cannot choose where to build their buildings, to the tile, but can only give a set of rough instructions as it where it can't build. Don't place mill within 8 tiles of another mill. Place mining camp within 3 tile radius of gold. Only build dock if water area is bigger than Y tiles.

  • @tomscorpion6288

    @tomscorpion6288

    5 жыл бұрын

    I am no scripter but it doesn't sound too complicated to issue an instruction like: Don't build any building within 6 tiles around your market. Don't send units within 6 tiles around your market unless attacked. It wouldn't solve cluttered trade routes between two AI's but it would definitely help a lot. Btw, AI that is able to select individual units to attack individual targets would be STRONG. I would love to see that.

  • @pierre-mariecaulliez6285

    @pierre-mariecaulliez6285

    5 жыл бұрын

    @@tomscorpion6288 Good thing you mentionned you are no scripter, because you input THAT code into your AI... ... And next thing you know, it tries to build dock 3 tiles from shores...

  • @Quierounnombre
    @Quierounnombre5 жыл бұрын

    I have a question, whyy your alie IA is more stupid than your enemy IA?

  • @hernand.jazzzleep9128

    @hernand.jazzzleep9128

    5 жыл бұрын

    That's a good one...

  • @MultiTwentyseven

    @MultiTwentyseven

    5 жыл бұрын

    Can you repeat that in english?

  • @MultiTwentyseven

    @MultiTwentyseven

    5 жыл бұрын

    can you hear me?

  • @Quierounnombre

    @Quierounnombre

    5 жыл бұрын

    @@MultiTwentyseven ok, tell me how it will be.

  • @ngastakvakis4425

    @ngastakvakis4425

    5 жыл бұрын

    IA? What? WTF?

  • @motorhead2063
    @motorhead20633 жыл бұрын

    The Hardest AI's monk rush with its micro haunts me to this day. Each of them will target an individual unit thus not only ruining my raid but also making me retreat to my base with the haunted tension that I'll be seeing my Mangudais again soon...

  • @Nadie-mb4vw
    @Nadie-mb4vw5 жыл бұрын

    Hey Spirit, about the AI theme, do you have any experience with the Barbarian AI? Is a well know new AI coded by The Max, a famous Finnish player, and in the hardest level is comparable to a 1700-1800 Voobly rated player. The Viper took 3 tries to win a 2v1 in that setting.

  • @kalamsv3294

    @kalamsv3294

    5 жыл бұрын

    Absolutely Barbaric!

  • @lautarop4995

    @lautarop4995

    5 жыл бұрын

    And 5 of this AI gave a nice battle to TheViper+Daut(Rip in KotD2)+Tatoh

  • @OkabexKurisu

    @OkabexKurisu

    5 жыл бұрын

    i looked exactly for this? i mean how can you talk about aoe2 ai without even mentioning barbarian if u dont get your boars it will lame you^^

  • @KaoticPhoenix

    @KaoticPhoenix

    2 жыл бұрын

    It's too bad it never got properly ported to HD or DE

  • @hukuando
    @hukuando5 жыл бұрын

    Best video so far! Really insightful into the back-end process of the game, on an extremely important aspect no less!

  • @Chenla
    @Chenla5 жыл бұрын

    Promi and SotL, such a good combo to explain stuff. What I like about the Custom Campaigns is how neat and good ideas are people coming for their AIs. Some are even specifically set to counter you and use counter attacks, which I am always intrigued to see.

  • @hansoskar1911
    @hansoskar19115 жыл бұрын

    Interesting episode. Can you do another one with TheMax? He is a top aoe player and created the barbarian AI the strongest AI available. It would be interesting to see how he made his AI so strong.

  • @satyakisil4289

    @satyakisil4289

    5 жыл бұрын

    No Barbarian on Steam, so chances of doing that would be very slim. Also, sotl has a weird habit of avoiding the pro scene wherever possible. The only reason he brought TaToH was because he was popular on HD.

  • @newdarkages3191
    @newdarkages31915 жыл бұрын

    For people who don't know, if you look at the code (click the git hub link in the description) it tells you all the hidden in game commands you can ask/tell the AI: "100 - Forbids the AI to resign." "231-238 - Chat 230+[enemy player number] to make the AI target this enemy for 10 minutes." "250 - Chats information about the current strategy."

  • @grevehans
    @grevehans5 жыл бұрын

    One of your best videos in my opinion, Spirit. Informative, concise but not rushed, and the enthusiasm from both of you shines through. This is why I'm subscribed. Thank you.

  • @endyage
    @endyage5 жыл бұрын

    Damn, Spirit, you are the man! To find a dev and come up with so many right questions is quite a task and you performed beautifully!

  • @thunktankpodcast4645
    @thunktankpodcast46455 жыл бұрын

    Great interview! Would love to see more!

  • @mrwasgehtsiedasan3278
    @mrwasgehtsiedasan32785 жыл бұрын

    Such an interesting topic, love it! And a german developer, as I hear (greetings from Germany) :D

  • @mrwasgehtsiedasan3278

    @mrwasgehtsiedasan3278

    5 жыл бұрын

    @GloriousTapeworm he has the typical german accent, nothing arabic here, i think i dont get your comment XD

  • @ObviusRetard

    @ObviusRetard

    5 жыл бұрын

    @@mrwasgehtsiedasan3278 it's a meme with non Germans that German sounds similar to Arabic (Sharp consonants and such)

  • @ruppaikuschluck6543

    @ruppaikuschluck6543

    5 жыл бұрын

    I love his hard german accent, so I know I'm not the only one who butchers the english language :D

  • @lizardemperorkorbac4281

    @lizardemperorkorbac4281

    5 жыл бұрын

    @@ObviusRetard I thought it was a joke about how Germany is flooded with Muslims.

  • @SoyKhalid

    @SoyKhalid

    5 жыл бұрын

    @@lizardemperorkorbac4281 In any case, most Muslims are not speakers of Arabic.

  • @alexgalleguillos4467
    @alexgalleguillos44675 жыл бұрын

    Quality content as always! Thx so much Spirit ❤️! Much love from Chile

  • @Morgan_Black
    @Morgan_Black5 жыл бұрын

    That interview is actually... Cool. Just as always. Thanks to both!

  • @MiniCraftWolskys
    @MiniCraftWolskys5 жыл бұрын

    Oh god the script for the IA is available online ? I didn't knew that ! Thanks you Spirit and Promi !!!!

  • @mrvex6695
    @mrvex66955 жыл бұрын

    It has quite amazing AI for its kind of game. RTS in general have dumb AI because its just complex... and AOE is even harder to make an AI for. By giving the AI some tricks like the good micro it already puts it above its competitors. Speaking of unique AI's... Company of Heroes 2 AI is also somewhat unique in its genre as it has full functionality that it actually takes humans as possible teammates and works around them. In most other RTS games the AI will simply ignore you when its teamed up with you as if you werent there. In COH 2 on other hand.... For those unfamiliar with Company of Heroes, its a RTS serie set in WW2, more tactical and about map control than something like a Command and Conquer. - Relocates its troops when its needed, it wont try to go the same path as your troops unless its through a choke point. So you go to the left, AI to the right. - Amasses troops when it detects that you are trying to make a breakthrough through defence. In maps where there are some choke points death traps. The AI will station its troops outside around your own troops and they are idle till you commence an attack. Then they will join in. - It actively repairs your structures and tanks and it actually expects you to repair theirs too. If a tank is beated to shit it will start reversing towards your closest repair capable units and it will stop once you start repairing it. This thing is so human and so smart for a computer and i dont think such thing is present in any other RTS game. Unlike other games where AI will try to rush the tank to its death or across the whole map. If your tank is getting beaten to shit it will start repairing it even in middle of combat. - On normal and easy, AI actually has map vision like the player, not like in other games where it sees everything. This means if your units spot enemy blobs it will start shelling them with its artillery. So if you would have an invisible spotter (lets say a sniper with restricted fire) and simply sneak in to the enemy fortress, watch how the howitzers will pummel the area till there is nothing left. - AI builds chokepoints or reinforces yours with things like machinegun nests. - AI utilizes what you make, if you make an reinforcement outpost, the AI will retreat their infantry to them to reinforce to full number (instead of like retreating to their base). If its a hospital, its the same. It will make a full use of it. If it has a halftrack it will move it to your wounded troops so YOU can reinforce and it will seek YOUR halftracks with its infantry so they can reinforce to full strength. Too bad that although these behaviours are really amazing, the normal AI (the last AI that doesnt cheat) is weak against a human...

  • @lethn2929
    @lethn29294 жыл бұрын

    Easily one of the most interesting and also informative videos I've found the fact that you posted up pseudo code for me to look at rather than pointlessly talk about the theory like so many other videos was especially helpful, I had no idea for example the AOE2 AI actually compared distances when placing buildings. In hindsight it's obvious but it just shows you how many factors you need to take into account when developing AI generally to make it convincing.

  • @vmp2707
    @vmp27075 жыл бұрын

    Please make more of these technical videos. They are awesome.

  • @SpoOkyMagician
    @SpoOkyMagician5 жыл бұрын

    Great video SotL. Very informative.

  • @jackschmidt141
    @jackschmidt1415 жыл бұрын

    I love your analysis and voice so much. You are great 😁

  • @vyxsinn1864
    @vyxsinn18645 жыл бұрын

    This is a great video. So so interesting and questions I haven’t even considered

  • @davidbeck79
    @davidbeck795 жыл бұрын

    pls make a video about barbarian AI

  • @marcuspontius3967

    @marcuspontius3967

    5 жыл бұрын

    Not possible, don't think there has been a video with SotL playing AoE2 with UP :p

  • @rettej6733
    @rettej67335 жыл бұрын

    I have been watching you videos for a year and a half love your videos

  • @blacktimhoward4322
    @blacktimhoward43225 жыл бұрын

    Someone in the Total War franchise needs to hire this guy they've never had an AI that could think its way out of a paper bag

  • @sygmaone
    @sygmaone5 жыл бұрын

    Great idea thanks for making this SotL! More like this please!!!

  • @Jewus19
    @Jewus195 жыл бұрын

    it's a good ai. But it simply cannot deal with half of the maps in the mappool at all. especially water maps, Islands, TeamIslands, start on a small island, expand to the bigger one. It. Just. Dies.

  • @jordanthejq12

    @jordanthejq12

    5 жыл бұрын

    That's running up against the limits of the AI engine itself. Even Barbarian struggles on Islands.

  • @satyakisil4289

    @satyakisil4289

    5 жыл бұрын

    It's not gonna put Villagers in Transports. That's the only handicap. In fact,no AI can be scripted to do that. The game engine prohibits it.

  • @GummieI

    @GummieI

    5 жыл бұрын

    And well Promi did acknowledge that it could have trouble with water maps in this very video

  • @Goabnb94

    @Goabnb94

    5 жыл бұрын

    Its funny, because a water map, like Costal or Mediterranean, it doesn't need a navy but will invest heavily in it. But Islands, it rarely ventures from its island, other than with small, single transport ship pokes.

  • @Krbyfan1

    @Krbyfan1

    5 жыл бұрын

    @@satyakisil4289 I always wondered why the AI never transported Villagers. I had no idea that it was a limitation of the engine. You'd figure after 20 years they would have found a way to code it in 11

  • @tarpdurr6662
    @tarpdurr66625 жыл бұрын

    This is a fucking brilliant interview. Great work all around

  • @LetsbeHonestOfficial
    @LetsbeHonestOfficial5 жыл бұрын

    So cool that you got in contact with one of the actual creators. I've come to believe that there are no AOE2 without a Spirit of the law

  • @Raorl173
    @Raorl1735 жыл бұрын

    This video has everything I like!! AI and AoE please do a follow up if there’s more info out there about this topic

  • @tom1600x1050
    @tom1600x10505 жыл бұрын

    Great video by the way. I enjoy your clear explanations. When I play against the ResonanceBot AI, on slow mode, using the F3 'pause' button regularly (I am a new player who can't multitask very well), I find that the AI doesn't fight against my strategy -- which is what strategy is all about -- instead the AI is rules-focused with, as you point out, it's 'if-then' logic using conditions and such. So it is only a matter of time until a human player can learn how the AI 'thinks' and beat it. What would be REALLY COOL is if an AI can be developed which really 'thinks', that is, it learns from its mistakes, and it guesses about what will happen in the future (will my town center be attacked? will villagers be raided? with what? when? etc) and then actively take steps to guard against it. My sense is that, in time, this will happen, and yes, it will only be a matter of time until a thinking and advanced AI can beat any possible human or combination of humans.

  • @rafiqrendika7264
    @rafiqrendika72645 жыл бұрын

    IF I am about to get wrek THEN Deploy the cars

  • @Peter-ie6po
    @Peter-ie6po5 жыл бұрын

    Really interesting and next level to invite developer of the game

  • @jayrosado5894
    @jayrosado58945 жыл бұрын

    Wonderful topic with great questions, it gets me interested in building my own ai one day.

  • @elliejohnson2786
    @elliejohnson27865 жыл бұрын

    Very interesting video, so glad you made it!

  • @TomTom-ol7mz
    @TomTom-ol7mz5 жыл бұрын

    This was really interesting! Thank you. :)

  • @Giesela0815
    @Giesela08155 жыл бұрын

    Thank you both so much!

  • @MoreNimrod
    @MoreNimrod5 жыл бұрын

    I'm amazed at how hard work went into a game this old, it seems like a true labor of love. My dad and his friends would probably be amazed that the game they used to play on LAN parties is still going!

  • @Nico-kd7uz
    @Nico-kd7uz5 жыл бұрын

    Really nice interview and video

  • @nathangamble125
    @nathangamble1255 жыл бұрын

    This is really interesting. I've created a (very basic) Starcraft AI, and it's interesting seeing how the approach compares between different games. A lot of if-then statements seems to be something in common.

  • @milkteaalliance1748
    @milkteaalliance17482 жыл бұрын

    Very insightful video thanks!

  • @KamisKapi
    @KamisKapi5 жыл бұрын

    2:46 the guitar intro automatically plays in my head

  • @ngastakvakis4425
    @ngastakvakis44255 жыл бұрын

    Excellent questions!

  • @fritzfreak
    @fritzfreak5 жыл бұрын

    i love your vids man keep it up !

  • @Spectre5549
    @Spectre55495 жыл бұрын

    this is really fascinating!

  • @Lukas94337
    @Lukas943375 жыл бұрын

    What the AI still never does is: -Transporting villagers by transport ships (which makes it impossible to play migration maps against AI). -builds fish traps nor use existing ones like in scenario editor or campaign. Builds palisade walls or palisade gates. Builds outpost. Playing tower rush. Just what i remember atm.

  • @xfi6658

    @xfi6658

    5 жыл бұрын

    Yeah, i would aoe devs make a special ai for migration maps

  • @xfi6658

    @xfi6658

    5 жыл бұрын

    And outpost,but walls cant

  • @pavXX
    @pavXX5 жыл бұрын

    Cool video! Interesting to see how the AI is programmed.

  • @arcticbeak
    @arcticbeak5 жыл бұрын

    18:38 There already is an AI for DOTA 2 that consistenly beats any pro player 1v1 midlane and that players today use to train. It still needs improvement because DOTA is not played 1v1 and the AI only knows one or a few champions in a mirror matchup, but it's still impressive. If today there were as much interest in AoE2 as it is in DOTA 2 there would totally be an AI beating top human players consistenly in AOE2 at some point.

  • @reisanibal1

    @reisanibal1

    5 жыл бұрын

    For that to happen, AI mechanics should be updated. It will never happen with "if then" statements. Deep learning should be applied here.

  • @ubelmensch

    @ubelmensch

    5 жыл бұрын

    TheViper had problems with Barbarian AI but in 1v2 2v4 and 3v5

  • @GummieI

    @GummieI

    5 жыл бұрын

    Also pretty sure it is vastly more complicated to make a RTS AI than an DOTA AI, there are so many more things to consider in an RTS

  • @advaithrajagopal2506

    @advaithrajagopal2506

    5 жыл бұрын

    Champions instead of heroes triggers me. Agree with you though

  • @nathangamble125

    @nathangamble125

    5 жыл бұрын

    That's fairly old news. A few months ago the same AI easily won 5v5s against progamers.

  • @vegannegan9652
    @vegannegan96525 жыл бұрын

    When will patch 5.9 released? Make the karambit great again.

  • @supremememelord8326

    @supremememelord8326

    5 жыл бұрын

    #MAGA (make arambai great again)

  • @jantube358

    @jantube358

    5 жыл бұрын

    Better fix match making, elo, desyncs, ...

  • @Supervideo1491
    @Supervideo14915 жыл бұрын

    Fantastic video. You should interview the creator of Barbarian AI next 😊

  • @shyarcher1111
    @shyarcher11115 жыл бұрын

    best video you did so far

  • @PressA2Die
    @PressA2Die5 жыл бұрын

    Flipin' heck, this is phenomenal

  • @mafiousbj
    @mafiousbj5 жыл бұрын

    I have a newfound respect for the original AOE2 team back then, and the Forgotten Team for the heavy scripting done with such simple conditions such as only using "ifs", and people like TheMax who is not only a top player but also has time to program such a competent AI like Barbarian by himself. Thanks SOTL!

  • @raspootin7555
    @raspootin75555 жыл бұрын

    Can you do a video about tree hp?

  • @elliejohnson2786

    @elliejohnson2786

    5 жыл бұрын

    Actually yes please

  • @ThZuao

    @ThZuao

    5 жыл бұрын

    It will be about 3 minutes long. 2:30 of which are spent on the intro and SotL talking about his social medias and to like, share and subscribe.

  • @raspootin7555

    @raspootin7555

    5 жыл бұрын

    Thauã Aguirre how would it be 3 mins. He could test if lumbercamp upgrades effect how fast the tree is cut down. He could go into death about siege that cuts trees. He could talk about the expansions trees and there weird hp.

  • @HaBBiSiFy

    @HaBBiSiFy

    5 жыл бұрын

    Don't forget Sappers tech that makes vills one-shot trees

  • @hjelsethak

    @hjelsethak

    5 жыл бұрын

    @@HaBBiSiFy Wait, what? Is this really true??

  • @000oMaat
    @000oMaat5 жыл бұрын

    Super Video! Thx

  • @jose2226
    @jose22265 жыл бұрын

    I haven't played AoE in 9 years, but I love your videos!

  • @BigBossXCV

    @BigBossXCV

    5 жыл бұрын

    I'm afraid it's been 9 Years TRY NOT TO PANIC

  • @FanaticProductions
    @FanaticProductions5 жыл бұрын

    Very interessting video!

  • @willdbeast1523
    @willdbeast15235 жыл бұрын

    I actually had a go at making an ai (with prior no experience) over christmas I'm both pleased and embarrassed that it plays better than I do. It was fun to do and didn't take all that long to get started so I'd recommend it!

  • @willdbeast1523

    @willdbeast1523

    5 жыл бұрын

    ​@Kvothe Windrunner going through the game files is hardly a deal-breaker, most of the files are pretty helpfully named, and there are some good guides out there for beginners and most of the lines are just the same thing copy/pasted but with a unit id or a number changed. I should say my ai only does 1v1 arabia (or similar land maps) as knight civs but for a first attempt I am happy with it. Hopefully yt doesn't mind links; here it is if you want to see: pastebin.com/qA0Z13aC p.s. when I say it didn't take too long, it was a few nights of doing it but not as long as I expected it to be considering I've not coded anything for 4 years and am p bad at aoe

  • @caymangag
    @caymangag5 жыл бұрын

    Awesome video

  • @ArchCone
    @ArchCone5 жыл бұрын

    I loved this always amazing to learn about AI.

  • @samueltunnicliffe7012
    @samueltunnicliffe70124 жыл бұрын

    This guy says that the AI doesn't one what units you produce, without scouting them... but I swear on DE it does know. It counters what I build without even knowing or seeing lol

  • @subhadeepmandal1465

    @subhadeepmandal1465

    2 жыл бұрын

    Yah.. that's a big cheating. To know the composition & number of opponent's army or even entire population.

  • @pedropasquini4311
    @pedropasquini43115 жыл бұрын

    Now I want a video of spirit vrs the barbarian

  • @Vyas9296
    @Vyas92965 жыл бұрын

    Hi Spirit, I would love to see you do a video on monk conversion times. The pros use monks a lot to great effect in early castle age, so it would be great to see some numbers on them!

  • @user-co8vc5nd7l
    @user-co8vc5nd7l4 жыл бұрын

    Man can we get an updated video for DE this is so interesting. I love it

  • @eulefranz944
    @eulefranz9445 жыл бұрын

    Omg !! I think other games need an analysis of the AI in a similar way

  • @RomaInvictusSPQR
    @RomaInvictusSPQR5 жыл бұрын

    great job well done

  • @Toni_N
    @Toni_N5 жыл бұрын

    Perfect Video *-*

  • @tkzsfen
    @tkzsfen5 жыл бұрын

    SO COOL!!! i've never seen a video with the one who developed the game. Awesome! btw it is true - the jump to moderate is huge! i can barely keep up with the AI. i am casual player and never engage in multiplayer fights. so, the AI games are my jam. i am deeply demoralized how they manage to destroy me with such ease :D

  • @lirikhajdari4802
    @lirikhajdari48025 жыл бұрын

    Definitely good enough to beat me on easiest difficulty Edit: this comment is just a joke. I know that nobody can be THAT terrible at the game.

  • @xotl2780

    @xotl2780

    5 жыл бұрын

    I bet that's not true.

  • @ubelmensch

    @ubelmensch

    5 жыл бұрын

    @@xotl2780 trust me people in the hd lobby can be horrendous

  • @naravasuraj1204

    @naravasuraj1204

    5 жыл бұрын

    @@ubelmensch Easiest difficulty AI doesnt make more than 10 villagers, how horrendous can anyone be to lose to that. Their villager high stat in all the games is always single digit.

  • @lordfabulous6198

    @lordfabulous6198

    5 жыл бұрын

    Easiest difficulty is so bad that they don't make more than 3 paladins in deathmatch on black forest.

  • @Berlinbower

    @Berlinbower

    5 жыл бұрын

    @@lordfabulous6198 nah mine's made like 20 knights, and monks

  • @TheBedroomRocker1
    @TheBedroomRocker14 жыл бұрын

    Awesome video! Time for an update for the definitive edition AI. Where do you get your sound track? I love that funky thing!

  • @salildeshpande7
    @salildeshpande75 жыл бұрын

    their voices.. so soothing

  • @PrimeGamator
    @PrimeGamator5 жыл бұрын

    I thought you were going to talk about both AIs (old and new), still really liked the video. I've started playing AoE:TC again and now that i can observe things more clearly than when i was younger it's impressive how cheaty the AI is in that game and the weird decisions that it makes: -It will most of the times target the player with the highest score, so if you let your score be low enough you can basically just stall until they run out of resources while attacking eachother -When it decides to attack you it targets your trebuchets or cannons as the highest priority, it knows where they are even if it has no line of sight, so you can lure the armies to a location you desire just by placing a trebuchet there -It knows where every single resource is, no matter if it has never explored that area -It knows where your villagers are, if you run out of resources in your base and have to send villagers far away to gather resources they will always get attacked at some point or another -It is so reactive to damage that even has problems with things attacking it through walls, sometimes they don't register that they have to attack the wall blocking it from the enemy (and they never retreat, except with villagers). One time i walled a tower next to a relic i palisaded and all the melee military that it send that way just got stuck in the walls trying to attack the tower while the tower kept shooting them and it would always send monks to try to get the relic and wouldn't retreat when it couldn't reach it and the tower was attacking them. -I know i should have said this sooner but yeah...it knows where everything is basically -At one point of a game that has lasted too long almost all villagers stop working even if they have wood and food still available and do not continue attacking or they do it at way bigger intervals of time -The build spacing is so badly made that they build all their buildings ,apart from houses and farms, in random places that are incredibly away from their base (this was noticeable even as a kid) -No matter if the enemy that it intends to attack needs to be reached by going through enemy territory, it will do it and lose all army if necessary....or just have it stuck forever because it is being blocked from all sides by other enemy's walls And the list goes on and on

  • @BCase56
    @BCase565 жыл бұрын

    Love this

  • @Apoc428
    @Apoc4285 жыл бұрын

    very interesting video, especially since it highlights the changes in ai development. Though i get that AOE2 is your specialty i would have been interested in a little bit more of a zoomed out view as well, so if you could get promi to do a follow up that would be very interesting. I mention this specifically because he refers to the ai from shooter games, which have evolved from all matters of clunkiness, to smart, but non-existant. Plus after your question about developing ai that could beat any human player he mentions machine learning which is what google and Blizzard are using with their ai that is learning starcraft 2. Using the proper channels i don't see why the same could not be developed in any other RTS. I would also really like to know if the standard AOE2 ai differs from the ai's of aoe1 and 3 in a fundamental way, or not.

  • @ShintyShinto
    @ShintyShinto5 жыл бұрын

    I wish there were a few extra difficulty settings between the existing ones, so that the increase in difficulty isn't as dramatic as it is now.

  • @CoqPwner
    @CoqPwner5 жыл бұрын

    I find the AI of AoE2 HD the best I've ever seen in any Strategy games, even including 4x's and the like. Anyone disagrees? (Genuinely curious) Super interesting video btw, great interview!

  • @Luredreier
    @Luredreier5 жыл бұрын

    THANK YOU SO MUCH!!! This really was a topic I'm very interested in. I might end up buying the game again because of this video. Is there a AI tournament held by anyone?

  • @Clerkius
    @Clerkius5 жыл бұрын

    Excellent Choice!

  • @intetx
    @intetx5 жыл бұрын

    Good content!

  • @Finndu
    @Finndu5 жыл бұрын

    I would like to know how Ai sorts different units in formations. It always looks really good organised when marching different unit types.

  • @ThZuao

    @ThZuao

    5 жыл бұрын

    It's simple. The game is just programmed to prioritize certain units to be put in front. Usually it goes Cavalry, then Infantry, then Ranged (incl. Mounted cavalry), then Siege, then Monks. If you're using Box formation, it uses the same rule to organize units from the outside to the inside. It does not give priority to some units of the same type over others. However it does try to organize different units neatly. If you have 10 Swordsmen and 10 Spearmen, it will put them in a neat checkered pattern two rows deep. I only wished the game had a way to set formation heading easily. There was this other game I had that you could click and drag so the unit went there and maneuvered to face the direction you set.

  • @Finndu

    @Finndu

    5 жыл бұрын

    @@ThZuao but i think there is more, since when you have 10 swordsman and 5 spear man if i remember right the swordsman will be on the outside and the spear man on the inside(marching collum) I just really liek that i always loos so well organised

  • @Demovitron
    @Demovitron5 жыл бұрын

    Very interesting video and interview. Thanks. Got any content about why AI in recent games seems less sophisticated, as many years ago?

  • @benperegrin745
    @benperegrin7455 жыл бұрын

    plz do another live com they are my favorite from you

  • @justinmcleod141
    @justinmcleod1415 жыл бұрын

    The best thing to do against AI is to wall. They rarely make trebuchets, and I've never seen them use a siege tower. Mangonels don't last long enough if you target them with towers. Their best move is to rush with rams, but they're easy enough to deal with too. I've beaten moderate with mainly towers and walls before.

  • @oldahe865
    @oldahe8655 жыл бұрын

    17:58 so a way to beat it would be to cheat f.ex. attack it with a group of 5 knights, it will start spamming pikes, then you bring out ur true army which is ton of archers and decimate them? then keep using this psychological warfrare (make it believe ur army is composed of certain units while its actually not)

  • @rompevuevitos222

    @rompevuevitos222

    5 жыл бұрын

    Not really spamming, but will make enough to counter those 5 knights

  • @ludwigsolomona9607
    @ludwigsolomona96075 жыл бұрын

    I just noticed... The intro was absent 😭💔💔

Келесі