48 ms·
Why F.E.A.R.’s AI is still the best in first-person shooters
- mey 10y agohttp://gdcvault.com/play/1013282/Three-States-and-a-Plan http://gdcvault.com/play/1013282/Three-States-and-a-Plan
- E6300 10y ago> What sets F.E.A.R. apart is the fact that [...] A* is used to plan actions as well as paths. [...] If the Player slams a door on a pursing enemy, the soldier can dynamically re-plan and decide to fire through the window, or flank through an alternate entrance. Interesting idea. Clever use of a classic algorithm in a novel way.
- frik 10y agoA* was pretty new back then. Previous iteration of games just 2-3 years older used older algos, or invented new path finding algos due CPU constraints.
- omginternets 10y agoA* dates back to 1968 [0] It's an extension of Dijkstra's algorithm that adds a few heuristics. [0] http://ieeexplore.ieee.org/document/4082128/ http://ieeexplore.ieee.org/document/4082128/
- hjnilsson 10y agoA* is much older than that. Age of Empires and Warcraft for example used it 10 years before F.E.A.R.
- frik 10y agoI was speaking about RTS and in the sense of Age of Empires 1 and Empire Earth. The main dev of both this titles Rick Goodwell mentioned A* was used in Empire Earth the first time, older AoE1 used an older less CPU intensive algo. @omginternets: > dates back ... extension of ... adds a few heuristics. Blabla, BS. Fact is Empire Earth was one of the very first computer games to use A* algo. Age of Empires 1 used a worse faster different algo. Fact is in the age before Wikipedia and Google, decade old papers of obscure algos were more or less lost and forgotten. They were written on paper with no digital copy readly available. So game devs often reinvented things without not knowing of previous work, it took several years until the early 2000s that this old stuff got scanned and made public viewable.
- E6300 10y ago> The main dev of both this titles Rick Goodwell mentioned A* was used in Empire Earth the first time, older AoE1 used an older less CPU intensive algo. Citation? The only mention I can find about the pathfinding algorithm used by Age of Empires is this: http://artho.com/age/pathfinding.html http://artho.com/age/pathfinding.html A* is supposed to be an optimization of Dijkstra's. I don't know why you call it CPU intensive.
- deleted 10y ago[deleted]
- JustForFun 10y agoThe idea of reusing A* was amazing, but what it really means is that all the actions are implemented as C++ classes. This is just a consequence (of reuse A*); but in fact it's a breakthrough in terms of planning runtime. On current average machines, GOAP in F.E.A.R. builds plans in far less than 1 milli-second. Whereas academic planners at the time were struggling with PDDL (a symbolic declarative language for describing planning domains -- i.e. problems and actions which can appear in plans), GOAP rewrites all the actions in C++. Then, no problem for procedural preconditions and postconditions, for instance: just call C++ code to check what you have to. -- JustForFun.
- E6300 10y agoWhat I'm wondering is, how does it work out certain situations? For example: The ultimate goal of an enemy AI is to shoot at the player. To do this, it must have a line of sight to the player. Figuring out where to stand seems to me equivalent to solving a perspective projection using the level geometry as constraints. Does it actually try to do this, or does it just not bother moving into line of sight and just moves towards the player's position?
- JustForFun 10y agoFrom AIActionAttackFromNode.cpp: // ----------------------------------------------------------------------- // // // ROUTINE: CAIActionAttackFromNode::ValidateContextPreconditions // // PURPOSE: Return true if real-time preconditions are valid. // // ----------------------------------------------------------------------- // bool CAIActionAttackFromNode::ValidateContextPreconditions( CAI* pAI, CAIWorldState& wsWorldStateGoal, bool bIsPlanning ) { // Intentionally do not call super::ValidateContextPreconditions(). // Firing from a node ignores range. // AI does not have a weapon of the correct type if (!AIWeaponUtils::HasWeaponType(pAI, GetWeaponType(), bIsPlanning)) { return false; } // AI does not have any ammo required by this weapon type. if ( !AIWeaponUtils::HasAmmo(pAI, GetWeaponType(), bIsPlanning ) ) { return false; } // AI must already be at a node. SAIWORLDSTATE_PROP* pProp = pAI->GetAIWorldState()->GetWSProp( kWSK_AtNode, pAI->m_hObject ); if( !( pProp && pProp->hWSValue ) ) { return false; } HOBJECT hNode = pProp->hWSValue; // Node must be derived from SmartObject. HCLASS hTest = g_pLTServer->GetClass( "AINodeSmartObject" ); HCLASS hClass = g_pLTServer->GetObjectClass( hNode ); if( !g_pLTServer->IsKindOf( hClass, hTest ) ) { return false; } // Node must be correct type. AINode* pNode = (AINode*)g_pLTServer->HandleToObject( pProp->hWSValue ); if( !( pNode && ( pNode->GetType() == m_pActionRecord->eNodeType ) ) ) { return false; } // The node must be valid in terms of FOV. if( pAI->HasTarget( kTarget_Character | kTarget_Object | kTarget_CombatOpportunity ) && pNode->IsNodeValid( pAI, pAI->GetPosition(), pAI->GetAIBlackBoard()->GetBBTargetObject(), kThreatPos_TargetPos, m_dwNodeStatus ) ) { return true; } // Preconditions are not valid. return false; } // ----------------------------------------------------------------------- //
- kough 10y agoPDF describing the AI system written by the Author was discussed previously: https://news.ycombinator.com/item?id=12235532 https://news.ycombinator.com/item?id=12235532 If you read this article and want to learn more, click that link.
- malikNF 10y agoJeff Orkin's GOAP page, tons of resources on GOAP. http://alumni.media.mit.edu/~jorkin/goap.html http://alumni.media.mit.edu/~jorkin/goap.html https://github.com/stolk/GPGOAP https://github.com/stolk/GPGOAP has an implementation of goap in C, the code is really clear and easy to understand.
- kbenson 10y agoIn his presentation, he observed that the AI reminded players of the first Half Life game, which came out seven years earlier. “It seems that we haven’t made much progress in seven years. There has to be more we can do with game AI.” That's what came to mind reading this. I remember the AI and Half-Life, and while it sounds like they did better in this game (which I haven't played), it also sounds like an iterative step, and after seven years, that's not a lot. I happen to own this game on Steam from some humble Bundle pack or something, so I think I might have to break it out and have a play... Edit: Sheesh. 17GB install for a 2006 game. That's steep.
- daodedickinson 10y agoHL2 AI was definitely worse.
- sattoshi 10y agoHL2 AI was still pretty amazing
- douche 10y agoI miss how good HL2 was... Alas, the third won't happen
- FullMtlAlcoholc 10y agoImagine the effect HL3 would have on HTC Vive sales
- douche 10y agoI want to hit headcrabs with a crowbar so bad
- dsfyu404ed 10y agoAs someone developing for VR I'm not sure I'd want to go on a weekend long "I'm gonna play through all of HL3" binge. Even simple VR games can make you feel like you're moving when you're standing still or back you into a corner with enemies. HL3 might screw you up a little. HL2 did a very good job of matching the scene to the plot and that made for a more immersive experience. Add in VR and modern graphics and that's a level of realize that would probably be too much for a few people.
- rubayeet 10y agoF.E.A.R is definitely one of the top 10 best PC games I've ever played. There are not many games that blend Action and Horror so delightfully (other than Half-Life). That being said, I haven't been around in the gaming scene for a while and playing catch up after recently building a gaming rig. I do agree with the author about the lack of progress in FPS enemy AI. The recent releases from the Call of Duty franchise are nice games, but the AI enemy combatants look dumb next to their FEAR counterparts. Why has not FEAR's AI strategy been adopted by other games/studios? The article does not mention anything about this.
- NikolaeVarius 10y agoBecause FEAR's AI was the product of an extremely focused game with very little "unpredictable" elements. It's easy to seem awesome when you have just do extremely little well. I would argue STALKER has the best AI in any FPS.
- boyter 10y agoWhat I loved about STALKER is that it felt like a living world. I remember watching a group of fellow stalkers being beset by bandits. During the whole firefight I was just watching it from a safe position. The fight ended and the stalkers continued to walk in the same direction they were following before. I did nothing but observe the action which was unscripted. I really got the impression that a million little actions were happening around me even if I was not there to observe them.
- NTripleOne 10y agoHave you played any mods that expand the ALIFE system? There are some that run the entire ALIFE simulation in every map all the time, groups of stalkers can be having gunfights, trading, looting corpses, putting things in containers, etc etc - so every time you revisit an area after not being there for a while, people have moved, inventories have changed, piles of mutant and stalker corpses make appearances, all sorts. It really keeps the game fresh and exciting.
- dugditches 10y agoIt was also the enemy of 'fear' itself, in that the game is a horror game with an omnipotent enemy. So while dealing with these clever enemies you're also facing the supernatural, adding to the experience. And the lighting/environmental effects. The original Halo:CE had great enemy A.I. too. Though I think was more 'scenarios' being programmed in. What made the campaign fun asides from the big levels was that the enemy encounters were different every time.
- FullMtlAlcoholc 10y agoRE Haloe CE: Especially on the Legendary difficulty. To this day, the Halo series has the best set pieces and is overall the best single player experience of any FPS save for Half-Life
- dugditches 10y agoTo add, the higher difficulties added new behavior and tactics to the A.I. Unlike a lot of newer games where it seems higher difficulty is just more enemy health and damage.
- rangibaby 10y agoMy favorite was Crysis changing the enemy soldiers' language from English to their native Korean
- munchbunny 10y agoAs far as I could tell, Halo's AI wasn't actually that advanced from a planning perspective the way FEAR did it. The key was that each type of enemy had very different behaviors, so that in the chaos of a gunfight you'd feel like you were faced with a mixed strategy of behaviors meant to push you in specific ways. The Pacman ghost approach, but bigger scale.
- tekni5 10y agoTime to re-install F.E.A.R.
- danso 10y agoDon't know how many gamedevs are here but I've always wondered if within gamedev, there's differences in how much info/best practices are propagated within the field. Graphics seems to be something that devs keep tabs on with each other. But maybe AI is more siloed off? I'm not sure what 10 years in improvement in AI looks like (as I do with graphics), but the algorithms and details [0] seem straightforward, or at least not impossible for a talented team with resources to build upon. I haven't played F.E.A.R. so maybe there's something about the game that vastly simplifies the factors? [0] https://news.ycombinator.com/item?id=14029136 https://news.ycombinator.com/item?id=14029136
- buzzybee 10y agoAI is like rendering in that the programmers doing that tend to cluster together at conferences, so they aren't completely siloed. The subfields that don't have that clustering effect are the ones not established enough that it's become a known specialty. Where isolation tends to be more obvious is when looking between different sectors of gaming: people working on mobile F2P have a vastly different view from AAA console devs, and both are likewise different from indie PC devs. But AI in games does have a bit of an identity issue at times in that the obvious application of game AI(an AI opponent) doesn't represent the broader picture(FSMs appearing in every character controller and interactive element, planners employed in some forms of procedural content generation). With machine learning being the hot thing now, some AI devs are looking for angles to use it, which tends to push them towards backend data work that isn't too far removed from what other web and mobile companies are doing.
- douche 10y agoIn my admittedly limited exposure, game AI and academic/enterprise AI appear to be the most distant of cousins, at best.
- dkersten 10y agoThis is my understanding as well. Game AI is about "looking" intelligent (or as someone else in this thread said, about providing a fun experience to the player) and machine learning is about finding optimal solutions or predictions. Also, nobody wants to run a google-sized deep learning network or what have you in order to train a mere game AI.
- vhold 10y agoI think the runaway smash success of Call of Duty changed the direction of FPS games considerably. The focus on advancing AI was replaced with spectacle.
- rhcom2 10y agoAnother reason could be the push to competitive gameplay. Plenty of people would buy similar titles and never touch the campaign, making spending a lot of time on AI not worth the time.
- deleted 10y ago[deleted]
- headcanon 10y agoFor a AAA multiplayer-focused shooter, the incentives aren't there, because multiplayer. Single-player campaigns in that game are merely pretty tutorials for the "main event", as it were, so if they're going to invest money, its not going to be in AI. Single-player games are a different story though, I'd love to see less predictable AI in games like Mass Effect.
- z3phyr 10y agoTo me, AI is more than just the behavior of the agent NPCs. Its also about the overall world environment and how the world and gameplay mechanics work. There is a lot of untapped potential in simulating world behavior. For example, the "director" in Left for Dead games increased or decreased the difficulty depending on how the players navigate and play through the map.
- toomanybeersies 10y agoCall of Duty's (and Battlefield's) single player campaigns are more akin to a Michael Bay movie than a video game. That's not to say I don't enjoy playing them, but I do sort of miss the days when games actually had deep single player gameplay.
- roflchoppa 10y agoI think i have the game in my library, ill have to give it a go and see how it is. PANICS anyone? https://www.youtube.com/watch?v=thkcDqPsmEU https://www.youtube.com/watch?v=thkcDqPsmEU
- wingerlang 10y agoPANICS is really great.
- joshbaptiste 10y agoThe best FPS AI I've played was the PC game "No One Lives Forever" back in 2000, created by this same studio Monolith Productions.
- mercer 10y agoWow, that's a wave of nostalgia hitting me! NOLF was also one of the funniest shooters I've ever played.
- simonh 10y agoThe effects for the dis-integrator pistols on the spaceship were so simple yet so classic. It's one of the early games where you got to do lots of different fun things, like scuba diving with a spear gun, driving a snow mobile, etc rather than smashing crates in a bunker.
- mercer 10y agoI think it was the sequel, but I'll never forget the chase sequence, at breakneck speed through Marrakesh(?), involving deadly mimes on tricycles.
- stolk 10y agoI've been using Orkin's Goal-Oriented-Action-Planning (GOAP) in my own game development. Let me tell you an amusing story of how an AI agent outsmarted me, the developer. So I had set up a test scenario, with an agent that could travel, buy stuff at shops, use axes, cut trees, and so forth. When I ran this test, I had set a goal of procuring timber. What I expected the agent to do: 1. Go to shop 2. Buy axe 3. Go to forest 4. Cut tree 5. Drop axe 6. Pickup timber. So I ran my GOAP test, and saw what the agent came up with: 1. Go to forest. .. When I saw that step 1, I was disappointed, because the agent clearly should not be going to the forest when he has no axe yet. But then, as a proud parent of my AI, I saw what the agent had actually planned: 1. Go to forest 2. Pick up firewood 3. Go to store 4. Sell firewood 5. Buy axe 6. Go to forest 7. Cut tree 8. Drop axe 9. Pickup timber Hooray! I simply forget to give my agent money. But GOAP made him smart enough on how to get some money on his own. I had of course equipped the agent with 'sell' action, and I had placed firewood in the forest, which I promptly had forgotten about when writing a test scenario. I was so proud of that smart little agent! Cool stuff, that GOAP!
- JoshTriplett 10y agoNice! I'm curious about "8. Drop axe". Did your system have the constraint that the agent could only hold one thing at a time? Or was the goal to carry the maximum amount of timber, in which case it's completely sensible to leave the axe in the woods and pick it up again when you return (assuming no other constraints, like competing agents or weather).
- stolk 10y agoIndeed. So in GOAP, actions have pre-conditions and post-conditions (effects.) pickup-item was defined as: PRECONDITIONS: HANDS_EMPTY==1, NEAR_ITEM==1, HAVE_ITEM==0 POSTCONDITIONS: HAVE_ITEM:=1 HANDS_EMPTY:=0 Which makes it so that agents carry one thing at a time, indeed.
- Rapzid 10y agoI can only hope you are creating an Ultima 7.5. True world building seems to have been left in the 90's.
- frik 10y agoHalf Life 1, Far Cry 1, Fear 1 had really great A.I. Where HL1 and F1 were corridor shooter, where A.I. is easier, Far Cry 1 had A.I. in open world scenario where soldiers flamked you around a hill and such. The A.I. was written mainly in Lua game script. Sadly the implementation prevented save games. That's about it. Sadly most game dev studios don't invest resources in good A.I. The stupid mass of soldiers you know from Call of Duty franchise is now everywhere.
- jchassoul 10y agoHalf-life 1 have incredible AI from boids that present a flock behavior to coackroaches that are scared of the light or the player, just to mention two attention to detail examples.
- frik 10y agoNot only advanced A.I. is basically dead knowledge in modern games, also Bots. Quake 3 Arena, Unreal Tournament and many more games had offline bots with whom you could play multiplayer maps. Most relied on predefined paths added with the map editor, but some of them worked without paths as well. It was impressive how good Unreal Tournament 2004 bots handled cars and vast open maps. Also RTS games category is dead, it usually also featured advanced A.I. to play against bots on random generated maps. Sadly, games like Age of Empires, Empire Earth, Command & Conquer are dead. (before an off topic comment derails the conversation: I know about the 8 year old SC2, I know about other kind of strategy games but they are not RTS, I know about Moba and tower defence but they are not RTS)
- alextheparrot 10y agoI miss Empire Earth... spent hours and hours on that game as a kid. Super advanced map editor, tons of variety in gameplay, even the single player scenarios were great. Thanks for reminding me of it.
- idonotknowwhy 10y agoYou need to give 0ad a try: https://play0ad.com https://play0ad.com It's very much alive and well, and the AI gets better with every release. I'll be able to beat it on the hardest difficulty, and then the next release comes out and I have to come up with new strategies...
- frik 10y ago0AD was great two years ago, still in alpha though. I try it once a year but the progress is very slow, and things are more broken (AI) than two years ago (tried it in Dec 16). Don't get me wrong you can play many map styles, and get hours of gameplay out of it. It's an open source project, so one shouldn't compare it with other triple-A games, for a open source game it's superb and very much comparable to Age of Mythology . The project needs more supporters. Though 0AD is my biggest hope, maybe a sister project forms that use the same graphics engine and code base to develop a C&C Generals inspired game as well. In the era when Triple-A studios forgot about RTS, it's time to solve the problem of no new games through the community.
- Apocryphon 10y agoHow did the A.I. in the expansions or sequels compare?
- JustForFun 10y agoPretty good. Extraction point is really harder from time to time. -- JustForFun.
- avenoir 10y agoEscape from Tarkov has an outstanding AI. Probably one of the best I've seen. You can rarely tell if the enemy is another player or a bot.
- speps 10y agoIf you have F.E.A.R. on Steam, the SDK is still available and contains most of the AI code, be careful of licensing issues but it's interesting to study.
- JustForFun 10y agoPatch the game to 1.08 first. Then install the F.E.A.R. SDK. Then find a copy of Visual Studio 2003. Now, you can even recompile the whole game in Release, Final and Debug mode. -- JustForFun.
- parasubvert 10y agoFor those with a modest automated planning background, F.E.A.R. is inspirational because it shows even the most ambitious and inefficient planners, i.e. STRIPS, which is the grand-daddy of automated planning that searches across flat goals based on a known global state... even that, which is known to be an NP-complete problem in many domains, can be made practical in specific domains with tweaks. Much of the automated planning literature is about finding ways to find the balance between computational tractability and expressivity of the domain & goals. Many attempts to fuse logic and imperative programming with an aspect of history: hierarchical task networks for example, which are like a high level procedural language with non-deterministic method dispatch. Games like Killzone 2 for the PS3 also had an interesting followup use of automated planning via hierarchical task networks, to do squad tactics; http://aigamedev.com/open/coverage/htn-planning-discussion/ http://aigamedev.com/open/coverage/htn-planning-discussion/ Another thread is Golog as a variant of Prolog that uses Reiter's Situation Calculus to formulate complex goals and domain constraints in a relatively consistent syntax and applied towards "Cognitive Robotics": http://www.cs.toronto.edu/cogrobo/main/systems/ http://www.cs.toronto.edu/cogrobo/main/systems/ .. it's unfortunate a lot of that work seems stalled since Reiter passed away. With all the recent hype around connectionist, deep learning AI, etc., there still is a lot of important work going on in the symbolic logic side of AI, particularly in this space of working in dynamical domains. Fusing the two will be really interesting.
- bbayer 10y agoyou can download FEAR SDK from the link below that contains complete GOAP (Goal oriented action planning) implementation. http://fear.filefront.com/file/FEAR_v108_SDK;71433 http://fear.filefront.com/file/FEAR_v108_SDK;71433
- madshiva 10y agoNice, I didn't know GOAP. I will try the game, generally I don't like to play against AI because they are so stupid. Anyone with a good idea for my next game? :)
- JustForFun 10y agoKillzone 3, Shadow Of Mordor, Transformers 3: Fall Of Cybertron.... All these 3 use planning (the planner in SOM is the grand grand son of F.E.A.R.'s -- other 2 use HTN planning) for the AI. ;-) -- JustForFun.
- deleted 10y ago[deleted]
- nepotism2016 10y agoAI hasn't moved on because multiplayer world has exploded in the last 10 years
- jlebrech 10y agoI want a game where you're in a city and there are many legals jobs that AI and players can do, but also there will be illegal ones that they can pick up and players have to be able to spot suspicious activity (ie, not walking like an AI or changing uniform, etc..) to hunt each other down.
- misnome 10y agoDid you ever see the game "The Ship"? https://en.m.wikipedia.org/wiki/The_Ship_(video_game) https://en.m.wikipedia.org/wiki/The_Ship_(video_game) Similar to this; set on a cruise ship with NPCs doing random tasks, you had to work out who your (Player) target was amongst NPCs and assassinate them quietly. I think one of the Assasins Creed games also had a similar multiplayer.
- jlebrech 10y agooh yes that game is pretty much what I thinking of but in a city setting. I initially thought that if i were to make the game I wouldn't be able to simulate the same paths as a human player so would need to use a waypoint clicking system to move until you're being attacked and your cover is blown.
- breakingcups 10y agoThat is tangentially similar to SpyParty, a game where one players goal is to spot the other player in a room with a bunch of AI. Quite fun and a good example of asymmetrical multiplayer.
- pubby 10y agoSounds a bit like Space Station 13.
- lukiano 10y agoThere is a goap library for C#/Unity3D: https://github.com/luxkun/ReGoap https://github.com/luxkun/ReGoap
- lukiano 10y agoThere is a goap library for C#/Unity3D: https://github.com/luxkun/ReGoap https://github.com/luxkun/ReGoap
- moomin 10y agoIn Half Life, when they yell "cover me", one tries to flush you out and another cuts you off. What's really interesting is what all the other soldiers do: they run to random positions. Early builds didn't do that and the AI was just plain mean. Game AI is a constant balancing act between being good/engaging and not killing the player. Civ is the same: the AI has routines that try to win, but also a whole bunch that role play.
- kikimaru 10y agoI remember play-testing this game, and feeling almost certain that they "dumbed-down" the AI between builds as it was too hard for us to beat. Also had a few scary moments - such as that time our build crashed every few seconds, on a Friday!
- lexicality 10y agoI seem to remember that Titanfall's mooks had really great AI. Largely wasted because the players could easily murder entire squads without reloading, but they would attempt to move in waves, shout orders, flank etc.
- lexicality 10y agoI seem to remember that Titanfall's mooks had really great AI. Largely wasted because the players could easily murder entire squads without reloading, but they would attempt to move in waves, shout orders, flank etc.
- josefresco 10y agoI'm old enough to remember the reviews of HL2 which marveled at the same kind of AI. I distinctly remember my experience first playing, when enemy AI ducked behind a crate, and radioed for help. At the time this was amazing, as most enemy AI in other games would blindly run into your stream of virtual bullets - let alone radio for backup.
- the_af 10y agoAnd I'm old enough to remember the marines from the first Half-Life, who seemingly had an AI that allowed them to flank you, throw grenades at you, and scatter when you threw grenades at them. Of course, most of it was likely very simple behaviors, but it seemed amazing at the time!
- josefresco 10y agoI think (due to my advanced age) I got my HL's confused. It was in fact HL1 - thanks for jogging my memory, from one old guy to another.
- vocatus_gate 10y agoYou could be forgiven for making that mistake. The Combine soldiers in HL2 functioned in much the same way, even better in some cases. I've played through both games a number of times and the firefights play out differently each time.
- deleted 10y ago[deleted]
- HurrdurrHodor 10y agoI think it is important to keep in mind that AI in games often not only needs to do the smartest thing but actually the smartest thing a human would do. So in the case of F.E.A.R. the AI is simulating humans so they shouldn't seem smarter than that. This starts at not microing to well in strategy games and not aiming to well in shooters but is almost limitless in how complicated one can make it.
- deleted 10y ago[deleted]
- _khau 10y agoI found FEAR's AI not as impressive as people made out (and still do). I felt like the tactics used by every enemy in the game basically involved flanking the player from two sides, and never approaching directly unless there were no other ways around (which was rare, as the levels were basically one combat arena connected to another in linear fashion). It was pretty easy to exploit this by basically charging the enemy and aiming for the head as if you were playing an old-school strafe shooter, which didn't give them enough time to formulate their flanking plan. I found by doing this the game became trivially easy, even without using the bullet-time thing.
- komali2 10y agoHave you tried ramping up the difficulty so that forward charges usually cause you to get riddled to 0 health by the enemy?
- ionised 10y agoI played on hardest. I always do.
- komali2 10y agoBummer dude. I'm having that problem in Fallout 4 lately. It just... isn't.. hard... :/ I try multiplayer games to get that fix but they're all so arbitrary. BF4 I get rammed by a jet halfway through my 20 minute run to a point. CSGO I get blown to pieces by fifteen Russian hackers on a 5v5 server. Overwatch has been pretty good about scratching the itch, though.
- ionised 10y agoI've always loved BF games but with BF1 I've just kind of lost interest after about 12 hours of total play time. Not sure why but I just can't get motivated to actually play it. It was one of the few online games I played these days, I've been sticking mostly to single-player RPG's and grand strategies.
- 10y ago
- VA3FXP 10y agoNon-FPS excellent AI: DF has already been mentioned, but an excellent DOS-based game that I used to play on my 386 was Commanche Maximum OverKill. (helicopter combat sim) The game proudly stated this in the manual: (bad quote from memory) "...with a smart AI that changes it's behaviour every 3 minutes..." This stuck with me because it actually worked. If you repeated an action long enough, the AI changed how it tried to kill you. Scenario: You are in your helicopter trying to blow up tanks and helicopters, and "Mission Targets". The lower you fly, the longer you evade radar, and the closer you can get to your target. So you hide behind some hills, pop-up acquire a target on a fuel tank, fire your missile, and then duck down before the enemy missiles can get to you. You then repeat this process to get all of the targets, but if you take too long the tanks/helicopters will fly around the hill trying to find you (as opposed to sitting next to the targets dumbly forgetting you exist). The game learned from your pattern, and adapted. IMHO this was superior to every other game that just had the enemy shoot faster (i.e. Unreal Tournament) On the other hand, it might just be nostalgia.
- hypertexthero 10y agoIf you're interested in emergent AI I recommend Mitch Resnick's Turtles, Termites and Traffic Jams — https://mitpress.mit.edu/books/turtles-termites-and-traffic-jams https://mitpress.mit.edu/books/turtles-termites-and-traffic-...
- georgeecollins 10y agoAI in games is misunderstood as sophistication of reasoning. What makes AI in a game subjectively good is that it demonstrates a reasonable intent that the player can observe and anticipate. If you can see what the AI is going to do and thwart it, the AI is good. If it surprises you once and a while it is great. Surprise implies that you recognize what the AI is doing most of the time and sometimes it does something else that also makes sense. AI is often at its best when it does something stupid that is understandable. For example, in Halo when you kill a bunch of the big guys, sometimes the little guys drop their guns and run away. This makes them very vulnerable, but it is fun. A smarter AI (one that would win more) would only pop out when you aren't facing them, or if cornered just shoot back very accurately from two points. But getting hit from behind isn't much fun, and getting shot at head on from two directions is also not much fun. Good AI is usually a mix of good game design (and art) as well as good engineering.
- Retric 10y agoDepends on the game, RTS players want an AI that does not cheat and is still a challenge.
- astrodust 10y agoEvery AI has to "cheat" or it would utterly destroy you. For example, AI can micro manage way better than you can, it can do a billion APMs. It has complete situational awareness at all times and never gets distracted by real-life. In an RTS where scouting is key, it could fan out with as many drones as it can produce and gather way more information than a human player could. You need to constrain your AI so that it's not impossible to defeat. For example, limit how many actions it can perform in a given situation, or make it stubbornly cling to some losing strategy for a while even when it could easily flip to the most optimal one in an instant.
- Retric 10y agoIt's not hard to make a bot do worse, however in many games there are no bots that play well without cheating. Watch some StarCraft/StarCraft2 bots, it seems like an easy challenge, but they can't beat a good human player when they have to deal with the fog of war. PS: Multi drone scouting tanks your economy and becomes a really bad idea. You want to send out one scout that can both gather useful information, not die, and not significantly hurt your economy. To the point where some very high level players don't always scout early.
- komali2 10y agoWhat a weird coincidence, I just reinstalled and played a bit last night and was thinking about how incredible the enemy AI was for a what, 6 year old game? Older?
- ionised 10y agoNearly 12 years