BOBII 2.08 AI performance (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> Battle of Britain 2: Wings of Victory



Message


buddye -> BOBII 2.08 AI performance (5/21/2008 10:00:54 PM)

If you are interested in trying the 2.08 AI, here is the thread to review and the files to download:

http://shockwaveproductions.com/forum/viewtopic.php?t=10669




ejs6263 -> RE: BOBII 2.08 AI performance (5/28/2008 1:32:09 PM)

The link no longer works.




uncc -> RE: BOBII 2.08 AI performance (5/28/2008 5:30:12 PM)

maybe it was a temporary glitch....it worked OK for me just now....




buddye -> RE: BOBII 2.08 AI performance (5/28/2008 7:54:06 PM)

Works for me.




Ron Belcher -> RE: BOBII 2.08 AI performance (5/29/2008 12:36:13 AM)

http://www.shockwaveproductions.com/bob_dev/BDG_2.08-41.rar

I do believe this is the link that *does not* work... [&:]




buddye -> RE: BOBII 2.08 AI performance (5/29/2008 1:10:02 AM)

Just keep reading down the thread. I always delete the old EXE when I have a new one.

http://www.shockwaveproductions.com/bob_dev/BDG_2.08-44.rar




Ron Belcher -> RE: BOBII 2.08 AI performance (5/29/2008 4:54:31 AM)

Mystery solved! Thanks! [:)]




buddye -> RE: BOBII 2.08 AI performance (6/8/2008 9:35:04 PM)

Hi Guys, just a short version of some AI performance notes so you can better understand 2.08 for anyone that may be interested.

The 2.08 AI Performance Story

The redesign of the AI Maneuver Selection

The redesign of the AI maneuver Selection Criteria was driven by the need to become more deterministic and less random in selecting AI maneuvers. I felt the need to move in this direction to improve the AI offence and defense so the AI selection software had more control. Of course there is a big danger in this strategy. We do not want BOBII to become repeatable. This will become a fine line to follow in the future and I will need both our testers and customers help and feedback.

Here is a summary of the new selection criteria design:

1. Altitude (how much altitude and rate of change)
2. Speed (how much speed, and rate of change)
3. Position of A/C to each other (none to tail, tail to tail, nose to beam, tail to beam or left, right, front, back)

To implement the new selection criteria I built a 3 X 6 matrix (a truth table) and many new programs. For each A/C (the unfriendly and the AI or the player), I designed programs to look at Altitude, Speed, and position and to first try and select the best maneuver option (aggressive or defense) based on AI skill level.

Altitude and speed can also be thought of as “energy” as altitude can be turned into speed.

The new design uses the A/C’s current position but I am thinking about implementing the A/C’s “lead” position (his future position which would be a small delta in the future).

Anyway, this new design is a long term work BOBII AI strategy (work in progress) that I can work on as I have new ideas for the AI from our testers and customers. It should position the BOBII AI design for future improvements by using more deterministic rather than random selection criteria. The goal is very simple "to improve the AI performance" and keep BOBII the best off line AI.

My gut feel based on my experience and testing is that the AI is now stronger at selecting the best/correct maneuver, avoiding bad positions (like low altitude), better at avoiding low energy, and in general a bit stronger fighter and defender. Of course, the Player will always “win” with experience/practice but if we give the player a better fight (scrap), I personally consider that real progress.

BTW, I also gave the Terminator a bit of boost in performance and tune-up so you might want to try it out. With the boost in Terminator performance, he was getting “cocky” so I implemented a spinout feature. The Terminator flies so close to the edge now that he has a tendency to “spinout”. This is when you can get him.

I also implemented a new AI feature called “Flying Factor (FF)”. This is the knowledge of the AI pilot to fly a given maneuver (experience) and how well the AI pilot will actually fly the given maneuver (skill). The FF is based on the Skill Level (customer selected in Instant Action Missions and software assigned in the Campaign). The Terminator is assigned a Skill Level of Hero2 (the highest in the game) so that is where he gets his boost in performance (edge).

The AI Performance Dependencies

Skill Level

The AI performance is dependent on AI Skill Level (which is customer selected in Instant Action and SW assigned in the campaign). BOBII AI do make mistakes (spin, crash, dumb maneuvers, bad judgment, shoot late , shoot bad, etc) which is after all very human.

The skill level of the AI is key in making decisions on about everything with respect to AI performance like (1) how well the AI fly, shoot, shoot fast, slow, accuracy, or not shoot, (2) how well the AI fly, what maneuvers are selected, and how well the AI will fly the chosen maneuver.

Random Numbers (Luck of the draw)

The BOBII AI A/C is also dependent on luck (specifically on random numbers). Random number decisions are coded through out the AI code. BOBII’s random approach keeps BOBII from doing the same thing each time. Even something as simple as the direction to start a maneuver (left or right), I will use a random number to decide (why hard code something when you can use a random number).


For example, most BOBII vertical maneuvers use a random number to assign a length of time to for a specific vertical maneuver (Like Zoom). The AI pilot will sometimes cut off early, or late, or somewhere in the middle. If early the maneuver may carry too much speed and if late the AI may slow down so much that control is lost (very human).

The bottom line is that the customer will always see a somewhat different maneuver (very good, good, not so good, and loss of control) both because of the random implementation and the different physic’s parameters (speed, roll, heading, pitch, and overall energy) going into each maneuver.

The very real downside of random numbers is it is very hard to test (not repeatable) and the processing power used.

Conditions

The conditions for each maneuver are always different (energy, speed, altitude, skill, damage, and enemy position). This also changes how the maneuver is performed. A damaged AI will not fly as well as an undamaged AI.

Maneuver Selection

The first key decision to be made is to select either an aggressive or defensive maneuver. This is a complex decision based on the available information on both the Player and the Enemy AI or the friendly AI and the enemy AI. The data considered for both Player and enemy is speed, altitude, and the position of the targeting AI and the AI being targeted with respect to each other.

After selecting either an aggressive or defensive, then a random approach is used to select a category (choose good , choose bad , or choose neither good nor bad maneuver).

Maneuvers are then divided into three parts Vertical, Horizontal, and dive for each of our categories (choose good, choose bad, and choose neither good nor bad maneuver).

The individual maneuver selection is then based on speed, altitude, and position of both the player and the enemy AI.




hgilmer -> RE: BOBII 2.08 AI performance (6/10/2008 2:15:51 AM)

      The 2.07 link on the A2A took me to a page without the download.  Can I patch 2.08 right over 2.06?

Thanks,





buddye -> RE: BOBII 2.08 AI performance (6/10/2008 5:01:56 AM)

Here is the 2.07 patch link. Just download the english version and run. It is the base for 2.08 which should be out in a while.

http://shockwaveproductions.com/forum/viewtopic.php?t=9303

Here is the latest 2.08 AI EXE and instructions if interested. It goes on top of 2.07.

Instructions

1. Back up (copy) your 2.07 EXE and pdb files to a safe place.
2. After downloading and unpacking (with rar), paste the EXE and pdb files into your BOBII folder
3. After downloading and unpacking (with rar), paste the Weapons.txt file in the models folder

http://www.shockwaveproductions.com/bob_dev/BDG_2.08-49.rar

You will also need the new "weapons.txt" file. It goes in the models folder.

http://www.shockwaveproductions.com/bob_dev/Weapons.rar






hgilmer -> RE: BOBII 2.08 AI performance (6/10/2008 6:16:05 AM)

I don't have 2.07 and that link opens up with a lot of symbols on it but no file to download.

I can't get 2.07 or 2.08 is what I am saying - not from the links provided, at least not how I can see it.




buddye -> RE: BOBII 2.08 AI performance (6/10/2008 6:29:59 AM)

Hi higilmer,

I understand. The Gamershell link seems to have problem. First, time I have ever seen it down. I am not sure what is going on with Gamershell.......

You can get BOBII 2.07 at some mirror sites. Try this one:

http://www.patches-scrolls.de/

Look under Achives 2007.

EDIT: The Gamershell is back up today for me. Must have been a technical problem.




buddye -> RE: BOBII 2.08 AI performance (6/12/2008 8:27:06 PM)

The latest 2.08 AI EXE is here (if you are interested):
http://shockwaveproductions.com/forum/viewtopic.php?t=10786




buddye -> RE: BOBII 2.08 AI performance (6/18/2008 11:47:12 PM)

We are having manny good debates and comments on the 2.08 AI and its future if you are interested and have a comment (at A2A forum):

http://shockwaveproductions.com/forum/viewtopic.php?t=10813

http://shockwaveproductions.com/forum/viewtopic.php?t=10786

http://shockwaveproductions.com/forum/viewtopic.php?t=10793

http://shockwaveproductions.com/forum/viewtopic.php?t=10768




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.25