|
Author
|
Topic: ? AI questions for SDOE Experts
|
Condor Pilot
|
posted 09-18- 11:27 AM
Under what conditions, circumstances , damage levels does the ai pilot think his plane is destroyed and then bails out? This question is also for enemy ai as well. And are these conditions, circumstances modifiable?I ask only because I have been involved with testing the new p51 damage effects Raider is working on and I am curious for myself. (Raider, you may already know the answers) As soon as an airleron is damaged with the new p51, the ai pilot bails out and when it is my airleron damaged, the enemy ai regards my plane as destroyed and no longer will attack it even though I can still fly and even get right behind them and shoot them down. Condor out ------------------
IP: Logged |
Mighty General
|
posted 09-18- 02:45 PM
I think Charmster posted this info, once. Here's the text from the email I sent him awhile back:The criterion for critical damage are: Half of either wing gone All vertical stabilizers gone All horizontal stabilizers gone All engines gone or on fire It uses aircLeftWing, etc to decide what pieces make up the above. It looks like the AI tries to adjust the throttle to hit aircVa and aircLandingSpeed. aircLandingSpeed is just for landings. aircVa is the maneuvering speed, so it's used in several places. Basically, when the AI is in a dogfight it appears that it's going to try to fly at Va. Obviously, there are lots of cases, so it's more complicated than that. And this is the first time I've done more that glance at this code and I don't have much time to study it right now. But that appears to be the gist of it. IP: Logged |
Condor Pilot
|
posted 09-18- 05:02 PM
Thanks Mighty!!I very much appreciate your quick response. When you do have time to check the code, I am very curious to find out if the "critical damage level" as seen by the ai pilots is modifiable. Condor out ------------------
IP: Logged |
Nat Pilot
|
posted 09-18- 05:37 PM
this explains why the AI didn't like flying the Viggen, I didn't have H Stabs, just 4 wings (Delta wings and Canards) so that means that if I change the canards from wings to H Stabs all should (should) be fine with the AI  IP: Logged |
Mighty General
|
posted 09-19- 12:37 AM
You mean those percentages? No, they're hard-coded in right now.IP: Logged |
Condor Pilot
|
posted 09-19- 07:54 AM
Thanks again Mighty.Yes, that is what I wanted to know. The p51d beta4 I believe uses additional airfoils added to the entire right or left wings. When the airleron airfoil is destroyed, its percentage of the total wing must be high enough for the ai to determine critical damage has been done, even though a human pilot can more than fly the plane. I will leave the rest up to Raider. Maybe he can somehow decrease the size of the airleron airfoil so that when the ailerons are destroyed the ai doesn't bail out. When you can or if you know, I would be interested to know what those damage percentage levels are for the wings. Condor out ------------------
IP: Logged |
bjorn Pilot
|
posted 09-19- 11:15 AM
Condor,When adding control surface damage to the P47 I was experimenting with this, and this seems to be difficult to get right. If, for the horizontal stabs, I included both the base model (the visible part of the stab) as well as the hidden airfoil objects, the AI handled damage well, but flew like crap until damaged. When only adding the hidden airfoil objects, the AI flies well but becomes a coward that bails out for almost nothing.  _ /Bjorn.
IP: Logged |
Raider Pilot
|
posted 09-19- 11:51 AM
Thanks bjorn, you hit it right on the nose. Our best hope is that the airMax and airAdvantage can be changed so that it can be modified during runtime.Condor, thanks for going proactive. We will keep working on it and see what happens. IP: Logged |
Condor Pilot
|
posted 09-19- 01:00 PM
 ------------------
IP: Logged |
Mighty General
|
posted 09-19- 02:25 PM
It doesn't look at the percentage of the size of the wing. It just counts parts. If you have a wing that's six parts it doesn't matter if one part is 90% of the wing. If three of the other parts are destroyed/detached it'll think half the wing is gone and bail.IP: Logged |