Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads > FM/DM threads

FM/DM threads Everything about FM/DM in CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2012, 12:36 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default Why is Ai so hard to get right?

Given that the game dev's/publishers proudly promoted COD as "building" on the knowledge of Il2-1946, AND that Team Diadalos has been able to vastly improve Ai plane performance AND that Ai coding for COD (in theory) should have been a code conversion from java to C#/C++, I'm at a loss to understand why has it been so hard to get the COD Ai logic right?

Here's a snip from the IL2-1946 TD Ai improvements to show what can be done:

IL2-1946 AI improvements
AI routines in 4.11 have been modified extensively in order to introduce several limitations that human pilot would experience. Below is a list of things player can expect to see in 4.11:
4 / 22
Various new AI maneuvers have been added. Number of maneuvers is increased by 25%.
AI planes will no longer detect enemy planes automatically inside certain radius. Position and size of enemy plane is the main factor here. Bigger plane will obviously produce a bigger and more visible "dot" and it will be more visible to AI.
AI skill will generally determine how well AI can spot targets. Also every gunner on board will contribute to enemy spotting by covering their own sectors.
Generally pilots will keep looking more forwards than backwards. Occasionally fighters execute fishtail maneuver to get better view behind. Planes will be less visible against dark background like land, but more visible against brighter background like sky and clouds.
Clouds & land mass blocks AI's ability to see other planes behind them. For example it is possible to evade attacking AI plane by hiding in clouds. AI planes will also try to hide in clouds in certain conditions.
AI's own plane will block their line of sight. This is calculated from the plane's collision model.
For example basically all planes cannot see directly below them, unless the plane has ventral/bottom gunner that can cover the underside. For example plane like Blenheim has blind spot rear & behind since it has no tail/bottom gunner. Plane like B-17 with bottom/rear gunners cannot be surprised from rear & behind like Blenheim (during daylight).
Occasionally fighters will execute roll maneuvers to get a look directly below them.
When fighter is pulling positive G's to get a lead shot and target goes invisible under nose, AI will not see the target. Instead of aiming at the actual target, AI is shooting at estimated target which position is extrapolated based on the last real observations. Much like human
brain would do.
AI pilot's ground collision detection is improved and now they will detect ground obstacles in front of them better. Previously AI always crashed into certain kind of hill/mountain which has too steep slope.
Environment factors such as darkness affects how well planes can be seen. AI is blind against attack from sun and planes show up better as silhouette against moon. Planes are spotted more easier if they emit smoke, fire, condensation trail or have lights on or are illuminated by
searchlight.
Also ships & ground AAA and aircraft gunners have the same clouds/ground/environment restrictions as AI pilots.
AI gunners check before shooting that there is no friendly planes in front/behind their enemy target.
AI gunners don't keep shooting while the gun is turning towards target and the target is nowhere near when the bullets would go. So gunners will no longer waste ammo for stupid shots.
Gunners will be less accurate shooting targets that move fast. In other words target that forces the gunners to turn guns fast is less likely to get hit.
Gunners that experience too much positive or negative G's cannot fire at all.
AI plane's engine will overheat forcing AI to reduce throttle and open radiators.
AI planes respect diving limits of their planes.
Changes have been made in AI deflection shooting. AI calculate deflection better but it is still 5 / 22 not perfect. AI's ability to chose correct deflection and to hold steady aim vary with the skill. AI Aces shooting ability is now at human aces level and if they get into your close six you will be in trouble.
AI flights doesn't go into attack as soon as they spot the enemy anymore. Depending on the situation AI might try to avoid fight or try to improve their position before commencing the attack.
AI skills are now divided internally into sub-skills and thus provide finer distribution of skill.
Aces are still better than Veterans and Averages are better than Rookies but not all AI pilots with the same skill are the same. Some fly better, some shoot better. Some are braver and some see better. This makes their behavior less predictable.
In addition to the maneuvers, AI fighter defense is completely reworked, no more constant rolls. AI will perform diverse maneuvers and provide bigger challenge to the player.
AI will make mistake too. They will stall and spin occasionally, panic and “freeze” and sometimes they will even bail out before you fire a single bullet at them.
Note
If AI planes in player’s own flight have not noticed the enemy planes, player has possibility to “point out” the enemy presence to the friendly AI planes by padlocking enemy plane so that it is visible at roughly center of the screen (15 deg. cone). This works even if the padlock is not enabled. Also the commands attack all/bombers/fighters has the same function built in as the
padlock key. So issuing “attack fighters” command to your wingman would fail if your wingman has not seen the enemy and you give the command while you don’t see the enemy. Giving the command when you see the enemy at the center of your screen (in cockpit) gives your wingman the direction of the enemy and wingman can attack it. This prevents abusing the
attack commands like a radar.
The AI development is a continuous process we plan to refine further for 4.12. We would like to ask you to report any odd AI behavior we may have not noticed during our beta testing. It was not possible for us to test all AI situations / routines.
Checks concerning clouds are not working on dedicated server. DS doesn't know anything about clouds and was never designed to have AI planes, but we will try to change this later.
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote
  #2  
Old 09-28-2012, 03:02 AM
MadBlaster MadBlaster is offline
Approved Member
 
Join Date: Oct 2010
Posts: 666
Default

DT and CLoD programmers do not work together and are not in official contact

See B6 response to my question here--> http://forum.1cpublishing.eu/showpos...&postcount=305
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.