|
|
|
|
|
by mtrycz
3450 days ago
|
|
I was told (but didn't verify it myself, nor have any sources on this) that in Half Life 2 (2004), your enemies would "learn" from your attack patterns and adapt to it. At the same time, as to make the game enjoyable/chellenging and not frustratingly difficult, the agents would adjust their difficulty level to your skill. Take it as an anecdote. |
|
The Valve Developer Community has some okay documents about the AI [0], moddb has some nice articles too (no links offhand). And most of the source for combine guards is available in the Source SDK [1], you can see tons of if's and hard coded sequences of actions.
I've read that the AI was changed after the Orange Box release, so maybe there was some learning features to them originally. Or maybe those features do exist within HL2's private source files, though it doesn't "feel" like it.
[0] https://developer.valvesoftware.com/wiki/AI_Learning:_Combin...
[1] https://github.com/ValveSoftware/source-sdk-2013/blob/master...