Thread: Super AI
View Single Post
  #8  
Old 04-19-2011, 06:57 AM
Talon89 Talon89 is offline
Approved Member
 
Join Date: Dec 2009
Posts: 21
Default

I spent many hours hacking and tweaking the AI in IL2 to mixed success. (I came up with the Cert AI mod).

This reeks of the same extremely simple crap they had back then, that was almost unsalvageable. I mean, I made it different, and probably better, at least more random, but it was by no means quality AI, it was poor from the ground up.

The AI in IL2 had no CEM. It had its own simplified flight model that ignored this.
The AI in IL2 had damage models that were stronger or weaker than the player based on skill level (simple multiplier, 50% stronger on ace, 25% on veteran, IIRC).
The AI in IL2 had no concept of a cockpit, perma-wonder woman.
The AI in IL2 had no concept of clouds.
The AI in IL2 knew that you were there the instant that you came within a certain range (5kmish, IIRC)
The AI in IL2 had a number of maneuvers to call upon, but in its stock form it just did the barrel roll 95% of the time.

There were also a bunch of random unfinished pieces of AI code in there based around bomber attacks, BnZ aircraft etc. They appeared to have been discarded, or maybe from an earlier build and no longer used? I used 4.08 as my base.

Anyway, I thought I would shed some light on the old IL2 AI for those curious. I really hope that they rectified at least some of those problems.

More maneuvers are easy enough to add, not seeing in clouds is doable, adding semi-randomized successful bounces based on skill was easy enough, but if it's still using a simplified FM and has no cockpit, it will probably be mostly unsalveagable as a proper AI again.
Reply With Quote