Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 3,506 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
The AI from Half-Life’s SDK #420697
03/31/13 23:42
03/31/13 23:42
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
I guess, someone way find this very old article (written by Alex J. Champandard on February 11, 2008) useful (as I did).

The AI from Half-Life’s SDK in Retrospective


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: The AI from Half-Life’s SDK [Re: 3run] #420707
04/01/13 10:52
04/01/13 10:52
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
very interesting article indeed, thanks for sharing wink


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: The AI from Half-Life’s SDK [Re: painkiller] #420719
04/01/13 20:32
04/01/13 20:32
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Thank you very much 3run!

Re: The AI from Half-Life’s SDK [Re: HeelX] #420720
04/01/13 20:43
04/01/13 20:43
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
You are welcome guys! laugh I'm happy, that you've found it useful!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: The AI from Half-Life’s SDK [Re: 3run] #420722
04/01/13 21:35
04/01/13 21:35
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
After i read the article i realized something!
IntenseX works the same way!


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: The AI from Half-Life’s SDK [Re: alibaba] #421895
04/27/13 13:23
04/27/13 13:23
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline
Serious User
AlbertoT  Offline
Serious User
A

Joined: Oct 2006
Posts: 1,245
Intersting article
However it seems to confirm that sophisticated AI tecniques : neural networks, genetic algo , reinforcement learning atc are not applicable in real games
Common sense still dominates

Last edited by AlbertoT; 04/27/13 13:23.
Re: The AI from Half-Life’s SDK [Re: AlbertoT] #421897
04/27/13 14:22
04/27/13 14:22
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
@AlbertoT: The problem with the algorithms you mentioned is that you need lots of training data to get a decent AI. In some cases, like reinforcement learning, it is possible to boost learning by training phases in which the computer plays against himself (followed and preceeded by seesion in which the computer plays against a human being), but this requires more or less that the game is already more or less balanced.

From what I have seen I believe that this is perfectly possible for board games like backgammon and chess; and (team-)sports games, like soccer, icehockey, baseball and tennis.

Though, games tend to be a bit "arcade" like (or in other words: accessible to casual gamers), so virtual characters run faster and jump higher and such. Personal skills play nowadays also a big role in sports games (like in Fifa) and they blast the variables into infinity; I believe that for neural algorithms it is already too hard to capture general strategies and I think it is impossible to capture personalized skills as well (when playing against Real Madrid you try for example to take out Xabi Alonso out of play and treat Christiano Ronald in a different way, compared to your regular soccer team opponent).

Because of these overwhelming set of variables and requirements of the player to a game, tweaking a handcrafted state machine seems to be more convenient to game designers, for which they can try out different things like "lets see how hard the AI is if it can produce Tank Units 50% faster than before" or "lets give the Beast half health points because it is already too hard for the casual gamer". It is for example unclear how Reinforcement Learning encodes the "knowledge" and "experience" in practice and this is a no-go for developing commercial games.

Last edited by HeelX; 04/27/13 14:23.
Re: The AI from Half-Life’s SDK [Re: HeelX] #422014
04/30/13 12:10
04/30/13 12:10
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
Neural networks are nowhere near to what we need in games, at least how most programmers do it. A lot of tutorials on NN talk about simple multilayer perceptron networks, but it's a lot more than that. The biggest difference between NN and the way biological neurons work is, that it's not a simple output function, based on weighted inputs. Neurons have a fire rate (so to speak), a depletion and regeneration time etc. The architecture of the brain uses a lot of feedback to previous layers, providing iterative results.
NNs are usually the worse choice compared to f.e. behavior trees, but they are able to adapt to the player. For most games adaption isn't really needed because enemies mostly die after a short time. Beat 'em ups on the other hand already use NNs to adapt to combo patterns of the player.

Almost every designer will tell you that it doesn't matter, how smart an enemy is, but how smart he appears to the player. So the best thing you can do is to use the simplest algorithms available that still provide a believable behavior.

edit: have a lookt at this review.

Last edited by mk_1; 04/30/13 12:13.

Follow me on twitter
Re: The AI from Half-Life’s SDK [Re: mk_1] #422082
05/01/13 18:44
05/01/13 18:44
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline
Serious User
AlbertoT  Offline
Serious User
A

Joined: Oct 2006
Posts: 1,245
I read the book " Artificial intelligence for games " by Ian Millington
A good book, out of question, but also disappointing up to a certain extent
I would say that 90 % of what explained in the book is common sense
In several occasions, the author makes fun of advanced AI enthusiasts
Those guys have never developed a game, he claims
What about your experience ?
Did anybody design a working NN or genetic or reinforced learning algo, or...?

Re: The AI from Half-Life’s SDK [Re: mk_1] #422083
05/01/13 18:51
05/01/13 18:51
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline
Serious User
AlbertoT  Offline
Serious User
A

Joined: Oct 2006
Posts: 1,245
Originally Posted By: mk_1


Almost every designer will tell you that it doesn't matter, how smart an enemy is, but how smart he appears to the player. So the best thing you can do is to use the simplest algorithms available that still provide a believable behavior.



Definitely true
However if advanced AI algo's should lead to even slight more realistic ( human like ) behaviors then some games would for sure implement them
The point is that it seems that they dont even work
Simple algo's do it better laugh
For example
I designed a fuzzy logic algo
I did not notice any benefit
Ok, I am just an hobbyest programmer I thought
Reading the Millington's book I was surprised to learn that actually nobody can distinguih a fuzzy logic algo from a simple Random.Range() command
Disappointing

Last edited by AlbertoT; 05/01/13 18:59.

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1