Addendum No. 01 (I like
sounding official. I also promise this is not
quite as long....only War, not Peace)
Physics & Football AI Before the PS3 came out, I remember reading (yes giddy as a school girl) about how the PS3 would be able to compute flow mechanics and physics so programmers would not have to program where every bullet hole lands, or where the blood of a spilled victim travels, or how the pieces of a crumbling wall land. At that time, I did not in any way, shape, or form relate this to football but still thought it was the most awesome, incredible, news I had ever heard for my gaming career.
Football, is very simply three fundamentals; 1) If you do not have the football, get to the football as quickly as possible. 2) If you do not have the football, prevent the person closest to you from getting the football. 3) If you have the football, get it to the End Zone as quickly as possible. Simply put, that is football.
Now combine the two. First, remember, I have no working knowledge of how to program a game or if what I say is complete ignorance in that respect, but I do know football and I do understand that a computer needs simple yes or no questions to answer, step by step. It's like that assignment every speech student has to do in the beginning of the semester, write a speech on how to make a peanut butter and jelly sandwich in exact detail step by step--place left foot forward 12 inches...place right foot forward 24 inches...extend arm out to grasp refrigerator handle...and so on (you get the picture). Back to our fundamentals of football: given that you can have objects in PS3 language be aware of other objects (object collision and avoidance) it seems to me, in my ignorance, that using the fundamentals of football, it should replicate true football AI if broken down to a step by step actualization of these fundamentals.
Program player CB to A) stay as close to object WR at all times B) Keep self between object WR and Object Ball at all times C) If object Ball movement detected, Intercept Object Ball Path (literally and figuratively), **
yes I know I am horribly oversimplifying here. Program player WR to A) follow prescribed "route" as quickly as possible while avoiding object CB. B) Maintain clear path between Self and Object Ball {this could be done by varying speed or slight deviations in "route" and remember, success/fail at obtaining these goals would be based on attributes} C) If object Ball movement detected, Intercept Object Ball Path.
Now to the all-important line play. It seems to follow, again from my point of ignorance, that if you have the Object DL that is trying to intercept Object Ball Path as quickly as possible, and you have Object OL that is trying to keep Self between Object DL and Object Ball at all times, and you have Object Collision physics, then the dance of run or pass blocking and defensive rushing should play out (given the physics that objects are supposed to be able to possess on PS3) realistically. Same with RB running the ball, i.e. take most direct route to End Zone Object with DL Object Avoidance. I mean a bullet may not be able to avoid a wall in its path, but wouldn't flow mechanics make a fluid go around an object, let's say a pole and flow around it?
That would be the fundamentals of game play for AI in a football game. If you take care of programming the goals of each player, then there should be a realistic simulation playing out before your eyes. Similar to the old vibrating electric football games where the plastic pieces vibrated except with a computer, you can actually give the players goals to propel their movement with a direction. Now add "play goals" to these individual battles such as RB take most direct route keeping Object RT between Self and Object LE until 2nd level and then step to next level of coding to avoid object LB and so on.
Would this work? I know I have really oversimplified and shown my ignorance when it comes to programming a football game, but is this an invalid, implausible, inefficient, perspective?
Programmers & forum readers with coding experience, what say ye?