Slashdot Mirror


A Look At the AI of Empire: Total War and F.E.A.R. 2

mr_sifter writes "The newly released Empire: Total War and F.E.A.R. 2 have both been praised for their excellent AI. In this feature, Bit-Tech talks to the developers behind these games about how they handled the challenges of creating Empire's armies of thousands of AI soldiers and F.E.A.R. 2's aggressive teams of military operatives. The discussion also talks about how game AI is 'smoke and mirrors' compared to research AI, and looks at the difficulty of improving the quality of game AI." We talked about F.E.A.R. 2's engine and AI back in December as well.

12 of 58 comments (clear)

  1. A human like AI... by RuBLed · · Score: 4, Funny

    it gives you the impression that itâ(TM)s a real human character wanting to kill you and survive...

    I would revel at the day when the AI is more human like which would tremble upon sighting my avatar, run to the ends of the map at the sound of my bullets, curse me, and log out.

    1. Re:A human like AI... by Jmanamj · · Score: 2, Funny

      Actually, I can see a more human-like AI bunnyhoping towards you as you try to kill it, shooting you in the face with a shotgun, and then sending a message saying "pwnd b1tch."

      At this point, the humanity and sophistication of AI will have reached truly awesome heights, and gaming will be all the better for it.

    2. Re:A human like AI... by montyzooooma · · Score: 2, Funny

      Actually, I can see a more human-like AI bunnyhoping towards you as you try to kill it, shooting you in the face with a shotgun, and then sending a message saying "pwnd b1tch."

      At this point, the humanity and sophistication of AI will have reached truly awesome heights, and gaming will be all the better for it.

      Doesn't it already do this in Unreal Tournament 3?

  2. No AI in ETW by mseeger · · Score: 3, Insightful

    Hi,
    i love the Total War Series. But the AI in ETW is a complete disappointment. I see no enhancement compared to MTW2. The opposite is true, there are so many AI bugs that battles agains the AI are close to pointless. I slaughtered enemys at the border of the battlefield, standing with theit back towards me. I micromanage my own units because grouping tends to produce strange results. Due to this, battles are a lot more point&click-work currently. I'm waiting for a patch :-(.
    Sincerely yours, Martin

    1. Re:No AI in ETW by mike2R · · Score: 3, Insightful

      But the AI in ETW is a complete disappointment. I see no enhancement compared to MTW2. The opposite is true, there are so many AI bugs that battles agains the AI are close to pointless.

      You know I don't think it's as bad as you make out. Sure I agree that it does do stupid things and I'm sure it will be better after a patch or two, but in the right situation (and really this is most battles I've played) it seems capable of good solid play. The problems I've seen tend to be where it tries to do something clever (like split its forces) and ends up weakening its position, but it hasn't happened very often and certainly isn't game breaking.

      I dunno, I guess I tend to be a glass-half-full type of player when it comes to AI - I don't expect miracles and I'm willing to accept that there will be situations where it does something stupid. People who listen to computer game publishers' marketing and judge the AI against human intelligence are always going to be doomed to disappointment, but I'm happy enough with the Empire AI at the moment, in comparison with other games I've played.

      --
      This sig all sigs devours
    2. Re:No AI in ETW by Delosian · · Score: 2, Interesting

      I agree with you completely. The French and Indian forces will stand with their backs to you after they are forced to retreat. You can either walk up to them and shoot them in the back and they won't do anything or you can shell their position and they'll just stand there and take it till they're all dead. At one stage the enemy attacked me with cannons and I don't mean with cannon balls. They walked up to my lines with the cannons while under heavy fire and tried to walk through my lines. I suspect that for some reason the retreat area for the AI was on the side I entered battle from. Not even Medieval 2 (which had plenty of AI bugs) was that stupid. Another example of stupid AI was when the Indians which outnumbered me 10:1 attacked my fort. They climbed over the walls and killed my guys on the wall but then they raced down to the middle of the fort where my general was and they just stood there. My general ended up killing them all and I won the game with a "close victory". Seriously, they had rifles and bladed weapons and were in arms length of my cavalry and they did nothing to try and kill them. Also what is with the fishing village vs. the shipyard? That's just dumb. I had to dismantle my Level 3 fishing village just to complete an objective which required a Level 1 Shipyard. It seems like they tried something new and failed badly. In general I cannot say I'm impressed. The Steam engine failed to install the first half dozen times with a different error message each time. I ended up getting the Steam installer off the net and installing that first and THEN installing the game. And what is with requiring an internet connection? My games computer is purposely off the grid so it doesn't get a virus and force me to format my hard drive and lose some of my game files (the ones I forget). What a waste of my time. Razor1911 has already hacked the game so you don't need to connect to the internet so if their insistence on this is a form of copy protection then it failed majorly because Razor1911 had the game hacked before it hit the shelves and online stores.

  3. Fear 2's AI sucked. by n1hilist · · Score: 3, Interesting

    The AI in Fear 2 was terrible! Well, if it was good, I didn't notice because it was so god damned easy to play that it was more a case of "Hi, *slomo* bye." .. firefights were so short that if there was amazing AI under the hood, I completely missed it.

    On the parts where I didn't use slowmo, again, nothing remarkable, and I'm not exactly an amazing FPS player either.

  4. Re:The power of Cell by Anonymous Coward · · Score: 2, Insightful

    For an NPC to decide on its next action, it will usually have to query the world for a tonne of information, and most of that information is conditional on a previous query result.

    I'll believe him, but he's obviously talking about Bethesda games.

    Elder Scrolls / Fallout NPCs have a hojillion options available to them. They can sleep, eat, pick up objects, converse with other characters (NPC or the PC), go home, go to work, go to the store, equip clothing and weapons, fight, run away et cetera. All this requires a lot of knowledge about the time of day, all of the objects and characters in the NPC's immediate environment, and some information about other locations in town.

    In an FPS like FEAR the options are much more limited. Essentially an NPC can choose between fire, throw grenade, take cover and run away to regroup. All he needs to know is the location of his enemy/enemies, maybe the locations of his allies and the location of potential cover.

    In an RTS not even every NPC needs AI; you only need one AI per computer-controlled faction. Their options aren't as limited as in an FPS, but they don't need that much dynamic information about the world either: the map is mostly static, only its own and its enemy's locations really change.

    TL;DR: What works for Oblivion doesn't necessarily have to be useful to other games.

  5. Re:Realistic AI, yay! by Crumplecorn · · Score: 4, Funny

    I've always thought that a never ending march towards smarter AI would go something like this:

    The Past:
    No real AI. Enemies know where you are at all times, and simply make a beeline for you. To the player, the enemies seems to always know where you are and make a beeline for you.

    The Present:
    The enemies are no longer allowed to know where you are. Instead, simple AI makes basic decisions about how to act when you walk right in front of it. To the player, the enemies seem stupid.

    The Future:
    The AI now has advanced heuristics which allow it to take prompts from the environment and knowledge of your probable goals to judge your probable location by using 50% of your CPU power, and use advanced physics engines and inverse kinematics to take a realistic route to get to you, using the other 50% of your CPU power. To the player, the enemies seems to always know where you are and make a beeline for you.

  6. Re:Realistic AI, yay! by Ostracus · · Score: 2, Insightful

    "So when you hide behind cover 5 germans will chuck grenades at you so you have to run for other cover at which point another 5 will throw more meaning you have to run back to where you were assuming those grenades have blown up, all whilst dying repeatedly anyway because enemies kill you in only two or three shots on veteran. The fact they just plaster the area with 5 grenades often left me feeling little difference to the "hard mode" of old in many past games where the enemies were made harder by simply making them automatically aim at you and do rediculously high damage. The additional "intelligence" simply added nothing to the game."

    Well in a real war if the enemy wanted to be a douche about it? Then yes they all could be chucking grenades at you. Especially if they're set on "hard". Seriously think long-range weapon. Pick as much of the enemy as you can and then mop up closer. Now i would say that AI is improving and thank God for that. For example your teammates in GRAW1 are a bunch of idiots. Occasionally handy but mostly dead because they wandered into the line of fire. Graw2 doesn't require as much micromanagement and hence your jobs easier and they're more useful.

    --
    Shai Schticks:"You don't make peace with friends, you make peace with enemies"
  7. Re:STALKER by L4t3r4lu5 · · Score: 2, Funny

    They were doing this during the Wars of Scottish Independence. Haven't you seen Braveheart?

    --
    Finally had enough. Come see us over at https://soylentnews.org/
  8. Re:More DRM by clubby · · Score: 2, Informative

    Empire: Total War uses online activation (through Steam), so if you buy this and you don't have an Internet connection all the time in your gaming PC, or you upgrade components on it or you upgrade your OS or any other arbitrary condition (which can change at any time at the whim of one of the suits at Creative Assembly) then you've just threw away a nice chunk of your fun money.

    Where the hell are you getting this from? Why do you think that activation on Steam precludes you from upgrading your PC, changing your OS, etc? And why do you think that "arbitrary conditions" from Creative Assembly will stop you from playing the game?

    FYI, Steam needs you to go online once to download/activate the game, and after that, you're pretty much free and clear. Every few weeks your Steam "ticket" will expire, and you'll have to go back online for all of 5 seconds to log in again. You can install it on a different PC. You can format & reload, and re-install it on the same PC. You can go from XP to Vista to Linux/WINE to the Windows 7 Beta, and Steam will allow you to install your game. (Whether the game itself will run well/at-all under certain environments is a different matter, but also not related to Steam.)

    Some Steam games come with third-party DRM. I don't think Empire is one of them, but I haven't checked. Far Cry 2, X3: Terran Conflict, and GTA IV are all examples of this unfair and burdensome "extra DRM" but I don't feel it's fair to blame the store for the decisions of the publishers. I don't blame my local bookstore for, say, the content of an Ann Coulter book they carry.