Sign in to follow this  
oneg

soccer game AI

Recommended Posts

oneg    122
don't know if this has been posted before. but im working on a soccer game, kinda like sensible soccer, and well i was wondering if anyone knew of any good books/websites/articles where i can read up on how best to implement the AI for making the players move around automatically (e.g. manager type game)/semi-automatically (you being one of the players). thanks, oneg out. :D

Share this post


Link to post
Share on other sites
Kylotan    9860
Have you played Sensible World of Soccer? I believe that you can customise your own tactics there, which effectively dictates the AI. The pitch is divided into an arbitrary number of areas (9, or 12, something like that), so at all times the ball is in one of those areas, and for each of those situations each player has a desired position. Therefore as the ball is moved around the pitch the players have an idea of where they're supposed to be. You can then apply a special case for the player nearest the ball at any given time, typically to move towards the ball, and a few heuristics for players on the ball, such as to move towards the opponent's goal but away from opponents, or to pass to another player.

(Edit -- nonsensical sentence reworded.)

[Edited by - Kylotan on May 31, 2005 4:59:49 PM]

Share this post


Link to post
Share on other sites
xEricx    572
I might not be very helpful since I hate soccer ;) and I've never played sensible soccer, but in Mat Buckland's most recent book (Programming AI by Examples) he writes a small soccer game (more arcade, but just to show the basic techniques that could apply to it).

It might be worth a look for you, if you can find it in a library or just go buy it and encourage the writer ;) hehe

Seriously, the book overall is great, if you're interested in game AI. It might give you hints on how to implement yours.

Cheers

Eric

Share this post


Link to post
Share on other sites
oneg    122
thanks for the responses dudes. i'll check out what u've said. i'll check back here from time to time, so i'd appreciate some other responses on this. thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this