+christian59 8 Posted October 15, 2007 hello it's my work on this IA for N17 (all models) i have take a IA of a plane that have same capacity and modify them a some thing that look better for me but this science is near magic for me coul you try this IA please,and say what do you thing for me,N17 is now more agressive and don't be always a target and some time have a kill [AIData] AileronDeltaRoll=1.4 AileronRollRate=-1.1 ElevatorDeltaPitch=1.2 ElevatorPitchRate=-0.12 ThrottleDeltaSpeed=0.12 ThrottleVelocity=-0.012 MaxPitchForAltitude=25.0 MinPitchForAltitude=-25.0 PitchForThrottle=0.0 PitchForAltitude=0.015 PitchForVerticalVelocity=-0.12 RollForHeading=2.0 RollForHeadingRate=-0.6 MinRollHeading=5.0 MaxRollForHeading=15.0 PitchForRoll=0.2 FormationSpeedForPosition=0.8 FormationSpeedForRate=0.45 GunnerFireChance=90 GunnerFireTime=8.0 GunnerAimOffset=0.0050 MaxRollCombat=360.0 MaxPitchCombat=80.0 MaxRollFormation=20.0 FormationRollForPosition=0.001 FormationRollForVelocity=0.1 RollForGunAttack=8.0 RollForGunAttackRate=-0.125 RudderForGunAttack=1.0 RudderForHeading=0.5 RudderForYawRate=-0.1 Share this post Link to post Share on other sites
+peter01 2 Posted October 16, 2007 (edited) its good your taking this up christian......... what you have done will indeed improve the N17 AI, no doubt. probably similar AI parameters may work with the N11/16 too (and certainly other nieups), though PitchForRoll=0.2 may need to be reduced to somewhere around 0.04-0.12 for the others. You will know this if you test in a 1:1 against the plane and when it rolls and turns it goes into a bit of a circle/even looping - the more so, the more you need to reduce this number, ie, its how much pitch the ai pilot applies on rolling, and its a tricky one for the ai to handle. This number would be different for different planes. You can in extreme cases reduce this to 0.0, without really a problem, but obviously it will not turn around as quickly when it rolls to change direction. Its also best if the Flight Control section in data.ini is changed, for example as follows: From: [FlightControl] StallSpeed=24.59 CruiseSpeed=42.12 ClimbSpeed=25.88 CornerSpeed=34.53 To: [FlightControl] StallSpeed=12.70 CruiseSpeed=41.12 ClimbSpeed=37.34 CornerSpeed=41.93 The AI starts throttling down in a climb well before the "defined" stall speed, so best to keep the "defined" stall speed lowish, otherwise you reduce its ability to climb significantly. The ai will not stall if the FM is done correctly. I believe the Nieups can handle it (haven't tried it on N11 tho). Its also best to keep other ai speed numbers high, its the best way if its not a really really capable AI. The AI flies at some sort of average of these speeds. if some numbers are low eg climb, and the AI is good, the AI becomes even more interesting and capable, but in this case and for N11, best to keep high (the N24 and n28 are different) Unfortunately, even with improved ai parameters the N17 may not be good as it should. The capability of the AI is also "built into" the FM as well - i spent months working out how to do this. My guess is that the N24 and N28 will be greatly improved as AI with similar ai parameters, not sure about N11. just two words of warning : many ai parameters are also used for both dogfighting as well as formation flying (some only one or the other), and changes to these can very easily cause problems with takeoff, crashing etc. What you have done is fine, but if you experiment more, keep that in mind. And if you use these improved ai parameters, please use the standard aircraftobject.ini skill level values. Otherwise, problems. anyway, its good you are taking the plunge, trying it out, and posting what you are doing. Edited October 16, 2007 by peter01 Share this post Link to post Share on other sites