English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I just wanted to know how they managed to get the players moving on their own , to various positions of the field , and so on...

2007-02-15 22:50:33 · 6 answers · asked by mR.qUESTiON?? 2 in Computers & Internet Programming & Design

6 answers

They collect all possibility of action of football player during a gameplay in realworld.
Generaly, they will make an aim. Like:
What is the purpose of this game? Get numerous goals?
Then what must player do? Catch the ball, kick it to penalty box, shoot it!
What about the enemy? Avoid it, kick it, or something else.
There may be more than above, may be hundreds of possibilities, actions to take to be listed.
Then the software architect make the diagram, flowchart.
Then programmer transfer it to code.
Released for testing purposes.
Get final touch, sell it.
Hope this fulfill your curiosity.

2007-02-15 23:09:47 · answer #1 · answered by Antoni Ridzki Andromeda 2 · 1 0

I don't know a lot about programming, but it basically involves the use of waypoints on the field... like, to the computer player, there's just a grid, and when certain conditions are met, the computer will take action.

Like, if the computer has a certain distance available in the surrounding area, it will be instructed to move down the field... Once a player enters a certain proximity to the computer, the computer will pass the ball, or try to shoot, or try to keep running, depending on the conditions.

It's... kind of hard to explain, but basically the computer is calculating out the probabilities and tries to take the best action possible. If you're playing against an Easy opponent, it might not always take the best action possible... it might try to shoot instead of pass, even if it's farther down the field... things like that make it easier for you to play.

2007-02-15 23:02:34 · answer #2 · answered by Ultima vyse 6 · 1 0

Consider how everything starts: the soccer players are arranged on the field. They have two goals: protect their goal, and get the ball in the other team's goal. Each player has different objectives, defenders stay back and focus more on protecting, offense tries to get the ball in the goal. The physics of the game is setup to mimic the physics of a real soccer game, so the 'agents' (players) work off of that. For the most part, they use pathfinding and graph algorithms to calculate, for each player, where the best place to go next is based on the current state (where the ball is, where all the other players are).

2007-02-16 09:03:20 · answer #3 · answered by Pfo 7 · 0 0

In simple terms they analyse a selection of possible movements, consider the possible outcomes, and take an intelligent guess.

Put it this way - it's all math. There's nothing "intelligent" about AI - hence "artificial". It's just a load of number crunching that _looks_ a bit like intelligence, but is actually a highly predictable formula.

2007-02-15 23:55:53 · answer #4 · answered by Anonymous · 2 0

The apparently intelligent decisions made by AI are actually either conditional responses or entirely random.

2007-02-16 02:16:26 · answer #5 · answered by Anonymous · 1 0

MAGIC.

2007-02-15 22:52:52 · answer #6 · answered by Anonymous · 0 1

fedest.com, questions and answers