Тёмный

The AI of Half-Life 

Simon Roth
Подписаться 1,8 тыс.
Просмотров 53 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 163   
@kenzorman
@kenzorman 5 лет назад
I’ve got to say how impressive HL pathfinding was at the time. It doesn’t matter how cool your Ai is if they spend most of there time running into walls. We did a lot of sense based ai for the original AvP but really struggled with the pathfinding .
@99sproth
@99sproth 5 лет назад
Who got the fun task of setting all those navigation nodes all over the floor, walls and ceilings? :D
@MDADigital
@MDADigital 5 лет назад
@@99sproth It can be done automatically, in our game we setup "rooms" and then the navigation nodes are created by our framework. For the fine detailed navigation inside each room we use a standard navmesh. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nGHmmSEWfmY.html
@UziIdiot
@UziIdiot 5 лет назад
@@99sproth Is HL1/GoldSrc movement based on nodes like HL2/Source? I always wondered how they got the AI to move in far more complex ways than Quake
@Zack_Wester
@Zack_Wester 4 года назад
@@UziIdiot Hl and Hl2 are both Node based (think of it as a tiny square piece of paper whit a straight yarn string between them). and AI can only move between any two nodes if there is a set line between them. Nods are close to each other I think is like 0.5 to 1 meters between them. you can do longer stretches like on a thin but long Catwalk put two node next to each other one next to each railing. and then have the whole 10 meters catwalk be covers whit only 3 pairs nodes. two on each end and one in the middle. (should work fine the AI might look a bit wonky if there are many on the catwalk at the same time). the other way thats used in Conter strike source. is to place what I would be calling a nav mesh or for a better recuperation a lot of different sized Carpets layers all around the room. some mats like the one under the unmovable Desk is painted whit a Need to Crouch to be able to move here. or another located in a next to a open small window might have the info Good Sniping spot.
@Zack_Wester
@Zack_Wester 3 года назад
@@UziIdiot a bit late but if I recall correctly HL1/GoldSrc uses nodes like HL2/Source that said HL2 node system was obliviously a lot more advance another thing I dont recall correctly is the how many node away a AI can see and by that how far they can path because trying to tell the AI to path in one go from one end of a huge complex map to the other can fail if its to far.
@Jarekthegamingdragon
@Jarekthegamingdragon 5 лет назад
Fear would be amazing. Fear's AI still makes every new shooter feel disappointing combat wise even today.
@8Paul7
@8Paul7 5 лет назад
Yeah HL1 and Fear have the best enemy combat AI ever.
@99sproth
@99sproth 5 лет назад
The new Wolfenstein games have got close for me, but they unbalanced their combat in the latest instalment and it falls just short of the mark.
@WaveOfDestiny
@WaveOfDestiny 5 лет назад
Halo CE is still ahead to most games
@Concord003
@Concord003 5 лет назад
I agree! Enemy squad behaviour in F.E.A.R. was delightful to watch and would sometimes spook and kill me me with surprise attacks from flanks.
@donaldthompson4044
@donaldthompson4044 3 года назад
Last of Us Part 2 has decent enemy AI.
@TylertheCC1010fan
@TylertheCC1010fan 3 года назад
Fun Fact: The cut Human Sergeant would've been able to call any nearby grunts to his position, we don't know what the maximum distance that he could call grunts from would've been, this ability would've made the H.E.C.U's squad system all the more believable if the squad leader could call for backup from any marines within a certain radius.
@kvltizt
@kvltizt 5 лет назад
I played this in 99 when I was 10 years old. The AI scared me at the time. The scientists seemed so alive.
@capscaps04
@capscaps04 4 года назад
"Why do we have to wear these ridiculous ties?"
@numbers4851
@numbers4851 3 года назад
“Stahp!”
@Beretsquid
@Beretsquid 3 года назад
“Noh!”
@briantcideu8619
@briantcideu8619 3 года назад
"do you know who ate all the donuts?"
@capscaps04
@capscaps04 3 года назад
@daniel strong HAMMER TIME!
@genuinesaucy
@genuinesaucy 3 года назад
Wow, I knew certain Xen creatures would attack each other on sight, but I thought that was just a gimmick behavior of the alien fauna; I didn't know that every combat-capable NPC checks their targets against a literal "fuck this guy" algorithm. That's pretty detailed for a system that probably 90% of players never even noticed.
@hecunt3633
@hecunt3633 3 года назад
FREEMAN
@The_Butt_Cracker
@The_Butt_Cracker 2 года назад
They do a good job of varying the relationship hierarchies of different enemy types, too. For instance, bullsquids are unique in hating each other and will infight when they have the chance.
@AshValen
@AshValen 5 лет назад
I enjoyed this greatly. Would love if this became a regular series.
@DerAua
@DerAua 5 лет назад
Same.
@EveBatStudios
@EveBatStudios 2 года назад
This video was part of a playlist covering something like 20 years of AI development in tons of different games and approaches to AI design I found roughly 3 years ago and I still love this content so much. :) HL1 was literally the only game I owned for the longest time. When I was approaching the problem of designing and coding my own squad mechanics and goal-oriented planning in ue4, I needed examples that captured that headspace and this did that perfectly. Good luck with your game dev adventures friends. Stay positive and stay creative. 💓
@hayond656
@hayond656 5 месяцев назад
Can you share the playlist? It sounds interesting
@PaulSoth
@PaulSoth 5 лет назад
Of course, you still had moments when Barneys would try to rush into point-blank range on large monsters or a grunt will fall back right into a grenade they dropped a moment before.
@erkokal8892
@erkokal8892 5 лет назад
It was perfect at the time, but it clearly had it's flaws and only a really nostalgia glassed fan will deny that
@capscaps04
@capscaps04 4 года назад
Well, barneys and grunts had different ai behaviour. After all, Barneys are suppoused to be just security guards ad grunts are suppoused to be profesional militaries.
@Zack_Wester
@Zack_Wester 3 года назад
the drop grenade thing was because the Grunt AI retreat code that held the drop grenade and retreat maneuver had a problem whit that it didn´t register there own grenade correctly for some reason. exept of it correctly succeed whit the retreat command and the player pursued them. if ether the player retreated when the marine drooped the grenade (because the player spotted it and stepped back. or hurt the grunt enough whiles he was drooping or retreating the task failed and the spawned grenade was not registers).
@fujineetomori
@fujineetomori 5 лет назад
Combine AI: one plus one is one
@gamesergeanthd
@gamesergeanthd 4 года назад
lol
@ded4700
@ded4700 4 года назад
Combine AI:Cover are for smart bois,let me show you the idi9t way!
@dkskcjfjswwwwwws413
@dkskcjfjswwwwwws413 3 года назад
no, combine ai is more like: one plus one is t- (death) theyre too weak to feel smart.
@TheDravenBair
@TheDravenBair 3 года назад
Yeah...
@wadayatalkinbeet
@wadayatalkinbeet 3 года назад
One plus one is two, and two add two is four. Movement moves, affirmative, I am hot
@erkokal8892
@erkokal8892 5 лет назад
We had many FEAR's ai breakdowns, but nobody really gave attention to Half-Life 2's ai, because everyone claims that it's dumber than original, but in fact they are a straight upgrade from HL1 The problem is that most players can't understand what they're saying, additionally they deal low damage and move slowly
@Devilforce988
@Devilforce988 5 лет назад
thankfully the half life mmod makes them more dangerous and have a bit of an update to their AI
@WildRage_
@WildRage_ 4 года назад
The slow movement and lower weapon damage doesnt have to do with worser ai. Also hl2s ai is better in multiple ways. Look up combine soldier squad ai. Genius as hell.
@capscaps04
@capscaps04 4 года назад
@Wild rage except that you ca use a brick to cover in your sight a combine. If you hide a combine from your sight perspective, the combine will stop shooting you. Despite you are just hiding behind a small brick.
@WildRage_
@WildRage_ 4 года назад
Capsy Dash source spaghetti my dude.
@HumanGrunt
@HumanGrunt 4 года назад
@@capscaps04 that only happens once with an NPC on a mounted gun, you try that in Nova prospekt, you'll get flanked and killed
@MrSomeguyV2
@MrSomeguyV2 5 лет назад
FEAR is a good choice, but do Half-Life 2 first. It'd be interesting to see how it compares to it's predecessor.
@moistjohn
@moistjohn 5 лет назад
hl2 ai falls on it's face
@lolfunimomentbruhmoviedown2701
@lolfunimomentbruhmoviedown2701 2 года назад
@@moistjohn actually it’s an upgrade. Although it does low damage and moves slowly
@lolfunimomentbruhmoviedown2701
@lolfunimomentbruhmoviedown2701 2 года назад
@@moistjohn they use flanks, grenades, and cover very often.
@tempest8882
@tempest8882 3 года назад
Shedul
@noobythings
@noobythings 4 года назад
6:06 they flinched
@Ranalcus
@Ranalcus 5 лет назад
Thank you, please make more vids like this one!
@UAVXP
@UAVXP 5 лет назад
Half-Life 2 AI video would be very cool :)
@TheOutLokk
@TheOutLokk 5 лет назад
not really, it's notoriously stupid
@erkokal8892
@erkokal8892 5 лет назад
@@TheOutLokk it's actually really good
@a.q.2330
@a.q.2330 5 лет назад
@OOM-9 HL2 AI sucks
@johnathan5252
@johnathan5252 5 лет назад
In terms of AI the hunters from episode 2 and the acid-lions also from episode 2 are the only ones that show real intelligence. The combine soldiers AI actually have pretty big flaws especially when compared to the HECU AI.
@Scorch0017
@Scorch0017 5 лет назад
​@@johnathan5252 , Combine soldiers AI is beter and somewhat more interesting to fight against, but they are hindered by game scripts and map design. There is couple videos on youtube about AI behavior in HL2, where authors don't suffer from duck syndrom or terminal fanboyism. As for HL1, when you encounter a squad of HECU grunts, half of them would run around in search for cover, while soaking dozens of bullets with their backs. Yeah, it was cool to look at in late nineties, but fighting those hitscan bullet sponges was never fun to begin wtih, in HL2 the firefights are more intense and believable, and you can quickly down humanoid enemies with the headshots.
@PantMal
@PantMal 5 лет назад
6:40 Wow. So many years of playing Half Life and this is the first time I see bullsquid in-fighting.
@dracmeister
@dracmeister 3 года назад
It's not so much more in-fighting but Bullsquids tend to attack any other NPC even other Bullsquids that invade their designated "habitat"/area.
@HunterTinsley
@HunterTinsley 5 лет назад
FEAR is the classic, but you might also want to take a look at Far Cry 2's AI. It's interesting, and kind of complex. Lots of AI interaction.
@CliffuckingBooth
@CliffuckingBooth 10 месяцев назад
Happy Half-Life 25th Anniversary ;)
@floatingpointerror55
@floatingpointerror55 5 лет назад
I don't like nerd talk, but C++ is a superset of C not a subset
@TheDiymovies
@TheDiymovies 5 лет назад
This is excellent. I love hearing the code broken down to this level.
@rickybryceland
@rickybryceland 3 года назад
They give roachs ai to be startled at light when they were in darkness but HECU guys can eat their own grenades
@THExRISER
@THExRISER 4 года назад
Please make this a series! May I recommend Soldier Of Fortune? Specifically the second game,I've played it for a long time and the AI actually does some pretty interesting things when switching between different states,as in,a civilian,or an enemy who just got disarmed would act differently than someone who's armed (but also differently from each other),and many other examples...
@LordHengun
@LordHengun 5 лет назад
I'd love to see more videos like this!
@xaros1466
@xaros1466 5 лет назад
Do Half Life 2 AI
@ericmotta1
@ericmotta1 2 года назад
Great video but... HD pack, for real bro?
@LowLevelLemmy
@LowLevelLemmy 6 месяцев назад
I've come back to this video sooo many times over the years. Ik this is 5 years old but I'd love more vids like this
3 года назад
love this video!!! thanks a lot a lot a lot, just subbed :)
@robotacid
@robotacid 5 лет назад
I will add my vote for Fear. The document that explains GOAP is a bit hard to follow, even when you've written A*. A video walking through some scenarios instead of describing them would be of help.
@ravenweikel6423
@ravenweikel6423 4 года назад
Dr.Coomer from HL:VR:AI has speak at number 1 priority
@mememaster2.092
@mememaster2.092 2 года назад
Bro he uses HD models
@p0wdrous
@p0wdrous 3 года назад
shedyoull
@IceFansBusesMore
@IceFansBusesMore 3 года назад
This AI is still impressive ( I think that the AI is better than some games today)
@AFT_05G
@AFT_05G 3 года назад
Cyberpunk lol
@vizthex
@vizthex 10 месяцев назад
well it's been 4 years, but a video on Half-Life 2 and one on F.E.A.R. would be great.
@Spunney
@Spunney Год назад
I think this video really could have used with some demonstrations instead of unrelated gameplay footage in the background
@aaadj2744
@aaadj2744 3 года назад
Too bad, Valve still haven't update the AI NPC to make them been able to jumping and climbing a ladder like they do programmed the AI in CS. If they updated the AI, I would like to comeback to this game and see how far and possible they could follow us through the entire level-to-level in the game when I ask them to follow me
@EnclaveSOC-102
@EnclaveSOC-102 3 года назад
That's what Mmod is for, Combine Soldiers can jump and shoot a lot better now.
@thealandude9146
@thealandude9146 5 лет назад
I wish you can do more about the Half Life series, like one for Half Life 2 or something
@flashfour2042
@flashfour2042 4 года назад
Yet another interesting details to know, thank you! I was wondering though when the AI of Half-Life 2 will show up?
@Lition98
@Lition98 5 лет назад
This is explained in a nice perspective for non programmers how they were developed back then. Can you do the same with the black ops in half life ?
@theradio.9135
@theradio.9135 2 года назад
I love how to the beat drops when he opens fire onto the marine-
@lynnwilliam
@lynnwilliam Год назад
Recompile the code with 0 waits between tasks and remove the sounds. This would be cool and make them super harder to beat.
@oballma6957
@oballma6957 Год назад
We call them dumb in easy difficult We call them smart in hard difficult
@90Eight.6
@90Eight.6 7 месяцев назад
i just played throough all of one, and never once encountered the m16
@FekOmsamsundinee950
@FekOmsamsundinee950 Год назад
This is like hgrunt has better mathematic to lauch grenade than you.
@akeiai
@akeiai 5 лет назад
YO WOT? THOSE SOLDIERS LOVE GRENADES
@VickiVampiressYT
@VickiVampiressYT 5 лет назад
Oh I love this. Very curious what you have to say about Half Life 2!
@TheBigOne0305
@TheBigOne0305 5 лет назад
Excelent video, would love to see more. Especially on HL(2), but also similar videos on other games.
@elmundodeFreeman
@elmundodeFreeman 5 лет назад
Say schedule again please.
@psycl0n3
@psycl0n3 5 лет назад
This was great, thanks ! And would love one on hl2
@a.q.2330
@a.q.2330 5 лет назад
HL2 ai sucks
@randomcatdude
@randomcatdude 5 лет назад
@@a.q.2330 It really doesn't. Infact it's an upgraded and improved version of HL1's AI. The problem is that the level design, combined with the slow walking speed and often low health of HL2 NPCs, results in them often not getting the chance to show off their AI in its full potential.
@TheBoltrower
@TheBoltrower 5 лет назад
Half life 1 is the best game ever created.The AI of the game is one of the best of all time-only F.e.a.r beats this magnificent AI.The detail,the story,the mods,the variety of weapons and enemies were never seen back then and they were very revolutionary and still are better than any other game that I've ever played-again F.e.a.r comes close and it is my second favourite next to Half life 1.But the same thing cannot be said about Half life 2.It improves some things:having an awesome engine-the Source engine,having one of the best stories and characters-Alyx being the most awesome and most sexy female character I've ever seen,awesome music and amazing graphics even to this day.But the faults sometimes ruin the entire game for me-dumber AI,less enemy and weapon variety,awful vehicle and squad sections and sometimes terrible level design.Half life 2 is a great game,but better than the masterpiece called Half life 1 is just funny.
@RexOrbis
@RexOrbis 5 лет назад
Or you know, HL2 beat its ai.
@TheBoltrower
@TheBoltrower 5 лет назад
@@RexOrbis How so?
@WaveOfDestiny
@WaveOfDestiny 5 лет назад
Half life may have had a great impact. Halo 1 not only had basically almost the same impact, but the combat as much more depth and the ai is far better in higher difficulties especially in correlation to level design, hp system and movement. While in half life you basically peek the corner so you can kill the targets one by one taking less damage possible, in halo every room makes you use a different strategy and makes you actively push, even the flood. And it is still the most fun combat you'll ever see in a campaign if you dare to become a skilled player and play on heroic or legendary difficulty.
@syllvia1
@syllvia1 4 года назад
Thanks very much for the vid, i got hired to work on some AI and half life is a great inspiration but fuckme if i'm rusty at c++, so this spelled it out in a way is super conducive to actually replicating. Much appreciated!
@blank6184
@blank6184 4 года назад
Shedjule
@MarZandvliet
@MarZandvliet 5 лет назад
Wonderful!
@lebogarcon
@lebogarcon Год назад
i hate the thought of hearing smell or smelling sound
@vast634
@vast634 Год назад
I also dont like farts
@DangerSideburns
@DangerSideburns Год назад
I'm working on my own enemy AI for a game I'm developing and it's so much work just to get basic AI working. It's really beautiful how intricate yet still kind of simple the Half Life AI is.
@Hazztech
@Hazztech Год назад
I want to make a reverse super hot kind of game, one based on keeping pace and violence up. You would plan your route out ahead, then execute it as fast as you can. Maybe based on like, the ira insurgency....
@thehappycockatiel9568
@thehappycockatiel9568 3 года назад
Ah yes, Half-Life and its soliders. The most accurate shooting AI in history of gaming.
@mashedpotatogin236
@mashedpotatogin236 2 года назад
I played the half life alpha a while back and managed to kill the grunts. Subsequent tries led to them showing very intense ai like bobbing and weaving such that I can't get a clear shot into them it was impossible.
@Hazztech
@Hazztech Год назад
Catching the civilian between the hecu and the player, which is interesting. The hecu acts like he doesn't want to shoot the scientist, and you don't want to either- so the shooting briefly stops and allows both sides to move! Very interesting...
@ty-xq7bl
@ty-xq7bl 2 года назад
ty so much for making this, im trying to replicate half life AI myself and this was very infromative
@matthewmiles15
@matthewmiles15 3 года назад
Precious video. Rarely are those insightful and deep videos about HL, like this one.
@MuddyMuzzy
@MuddyMuzzy 3 года назад
so noones talking about if the player stares at the floor the opposing force shoot above you (this does work for gernades/any explosive and the aliens)
@DavidXNewton
@DavidXNewton 5 лет назад
Great explanation of the internals, delivered very soothingly :)
@egor33333333
@egor33333333 5 лет назад
Great video, thanks! Have you played Far Cry 2? What's your impression on its AI?
@matsydoodles
@matsydoodles 5 лет назад
My vote would be F.E.A.R. , would hate to think how many hours I sunk into that game!
@sunsetwolf7188
@sunsetwolf7188 3 года назад
I tend to comment before I'm fully through watching the video, so I don't forget what I wanted to mention; i wanted to say the full captions on this video are entirely appreciated :) most creators don't include them, and it makes the video so much easier to understand! Thank you for including them!
@dfghj241
@dfghj241 2 года назад
its insane, its basically a behavior tree before behavior trees became a thing.
@Iheartdgd
@Iheartdgd 5 лет назад
I can’t stand to listen to you say ‘shedule’ anymore, but good work nonetheless.
@und3rM0
@und3rM0 4 года назад
This information should be implemented too the marines
@3333218
@3333218 3 года назад
Please tell me you've done one on Half Life 2!!!
@grimscribe6454
@grimscribe6454 4 года назад
I could listen to dr bashir do this all day
@charlesandhisworld
@charlesandhisworld 3 года назад
Please do more videos like this!
@vemanjadhav
@vemanjadhav 4 года назад
Well explained. This video of yours needs more views!
@saisameer8771
@saisameer8771 4 года назад
A video analysing fear and half life 2's ai would be great.
@SteffyCush
@SteffyCush 3 года назад
really good vid
@donaldthompson4044
@donaldthompson4044 3 года назад
Can you do one on the Last of Us Part II?
@CR42Yh17m4N
@CR42Yh17m4N 5 лет назад
Really a great video :)
@BlueLightningRelease
@BlueLightningRelease 5 лет назад
This one was great, you should do a Fear one!
@Pecisk
@Pecisk 5 лет назад
Excellent! Thanks a lot!
@TedThomasTT
@TedThomasTT 5 лет назад
Nice video.
@stevesan
@stevesan 5 лет назад
nice breakdown!
@turbone6028
@turbone6028 3 года назад
Damn! Cyberpunk should look up to this game! 😂😂
@rudolph2937
@rudolph2937 5 лет назад
This video gets a 0/10, too much HD pack
@halfhawk718
@halfhawk718 4 года назад
We all know the HD Pack sucks (even I hate it too), but you shouldn't bitch around like that.
@randomcatdude
@randomcatdude 4 года назад
@@halfhawk718 I think they were just making a joke.
@halfhawk718
@halfhawk718 4 года назад
@@randomcatdude I bet.
@ollyclass
@ollyclass 3 года назад
This is why I like half life 1 more than 2 yeah the story is kind of better in 2 and the puzzles/physics is cool but the gameplay is so much better.
@timur5241
@timur5241 3 года назад
Things that I hate about half-life's combat 1. You're faster than your enemies 2. You and your enemies are bullet sponges
@TylertheCC1010fan
@TylertheCC1010fan 3 года назад
For the H.E.C.U it makes sense due to their P.C.V.
@timur5241
@timur5241 3 года назад
@@TylertheCC1010fan I'm about half-life series in general, not exactly hl1
@aaadj2744
@aaadj2744 3 года назад
Yeah, they should make their strength been balanced between the player and the AI, just like Alien vs Predator 1999(for fastest Alien attack and randomly spawn and appeared everywhere) and CS(for AI HECU & Security Guard so they can also moving around and climb a ladder) combine. That would be lit as hell to play XD
@IfindAnimeHot
@IfindAnimeHot 5 лет назад
You seen the half life fact files
Далее
Understanding the Music of Half-Life
46:32
Просмотров 419 тыс.
Дикий Бармалей разозлил всех!
01:00
КВН 2024 Встреча выпускников
2:00:41
Why are Half Life’s SFX SO Funny?
9:54
Просмотров 283 тыс.
How I beat Half-Life with no mouse movement
30:50
Просмотров 152 тыс.
Half-Life 2's Invisible Tutorial
6:36
Просмотров 1,3 млн
Half-Life 20 Years Later: An LGR Retrospective
18:27
Просмотров 1,4 млн
Half-Life 2 Beta - Everything You Need To Know!
41:35
Просмотров 642 тыс.
the 18th amendment: a poker night documentary
39:01
Просмотров 879 тыс.
What Makes Good AI?
15:42
Просмотров 3 млн