AI bombers passing/ignoring waypoints
Page 1 of 3 123 LastLast
Results 1 to 25 of 67

Thread: AI bombers passing/ignoring waypoints

  1. #1

    AI bombers passing/ignoring waypoints

    OK, got my Stukas to roll over and dive straight down on their stationary targets(s) from 10,000 Ft (awesome site by the way). But after hitting the targets they fly towards the next waypoint (turn for home) and continue past it in a straight line forever. The waypoint before the attack waypoint is 7 miles out at 10,000 Ft, attack waypoint is at 10,000 Ft, the waypoint after the attack waypoint (turn for home) is 7 miles out at 2000 Ft. I've tried varying the altitude of the waypoint after the attack waypoint, moving it further out and further in in miles, all with no change. I've searched every post in the forum I can find regarding this issue but haven't seen it mentioned or any suggestions regarding AI and waypoints. Any thoughts?

  2. #2
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Do they have any bombs left to drop after the bombing? Also it’s possible you might need to fiddle with the unit type and plane and I good starting point for that would be from the overhauled Val and if all else fails try the stock Val’s perimeters. Might even be the game itself as getting it perfect is about impossible. There could be any number of reasons but since you have been fooling around with the mission itself without much luck it might be time to check other possibilities as well if haven’t already. First thing for sure you have to have a bomb to drop and if the AI used theirs up they have no unlimited weapons capability the player has if anybody uses that cheat setting still. Plain and simple if they used up their bombs everything else can be spot on and it wouldn’t make any difference if they nothing to drop on the target

  3. #3
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Another thing it’s possible the aircraft were damaged after the first bombing and the AI they need better air files or a better handling planes then we do so if they have a couple of flak holes that might be enough to keep them from sticking their neck back out on the chopping block again. Kinda like sticking your finger in a fire. Hurt like Hell didn’t it. Don’t do that anymore I’m going home to mamma and that’s that. I’m just touchy up on some basics I’m sure some of the more experienced campaign making modders who have tried the same stunts you are will be along shortly but sometimes we overlook the small stuff and I’m sure more than one spark plug has been pulled or carburetor taken apart when the only thing was wrong was it was out of gas. Embarrassing yes but **** happens.

  4. #4
    Library Staff
    Join Date
    Jan 2007
    Location
    Sydney, Australia
    Age
    70
    Posts
    1,770
    It's probably the Stuka's air file - the PID section in fact. As Deathwind says, try substituting either the Val's or another author's Stuka's air file.

  5. #5
    Thanks guys! DW, they only have one bomb, they do drop them and hit the targets so no ordinance left. I do have flak batteries at the target so some may be damaged but they all fly together past the post-attack waypoint. My other dive bombers (JU-88, DO-17) don't do this so I'm thinking it may just be a problem with the Air file.

    Kdriver, can you tell me what number heading the PID is in the Air file and what parameters within that heading might be altered with to change the results? If the Val Air file works, could I substitute the PID heading from the Val or another working Stuka into my Stuka Air file and leave all other parameters intact?

  6. #6
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Sorry I misread it I thought you were saying they were supposed to attack an additional target other the first one that’s why I mentioned the bombs.

  7. #7
    I have seen this problem with both the Ju-87 and the D3A. The SBDs don't seem to do it.
    Another strange behavior of all of them is that often they refuse to leave the target area at all. They drop their bombs and then circle around, being easy prey for flak and fighters. I tried all sorts of things, but nothing seems to work.

    The other day I had a new idea, but haven't tried it yet: What if we plot the divebombers' route after the attack as an alternate route and then make a trigger/event that makes them change to the alternate route when the bomb count is zero, i.e when all the planes have dropped their bomb? Maybe this resets them so they follow waypoints again instead of circling forever, or going anywhere? Might be worth trying.

  8. #8
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Maybe take 1101 out of the Hellcat, Dautless etc. air file and replace the Stuka 1101 with it and see what that gives you.

  9. #9
    Skylane

    I've never seen them circle the target unless they sometimes try to dogfight with the attacking fighters. Maybe you have those listed as fighter bombers in the DP file? The Alt waypoint idea might work and I may use it as a last resort if the Air file fix doesn't help.

  10. #10
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Thế AI thinks they are buzzards that’s why they circle waiting for the target to die.

  11. #11
    Library Staff
    Join Date
    Jan 2007
    Location
    Sydney, Australia
    Age
    70
    Posts
    1,770
    Col_Wolf, I'm afraid the PID controllers for AI section 1199 of the air file is beyond me. I've done quite a bit of flight testing for our Westfront group and experienced AI aircraft, particularly the slow WW1 types, doing strange things. Aussie, Aleatorylamp and AerDaddyO are the air file specialists in our group.

    I don't know if altering one set of parameters will affect the others within the air file. I suppose you can only give it a try and find out.

  12. #12
    OK, here's what I've tried so far....

    Used another Stuka in my aircraft folder with different parameters in the 1101 Air file...no change in ignoring waypoint after bomb run. I didn't swap this air file into the Stuka I intend to use since they both seem to do the same thing.

    I tried running the mission with my JU-88 and DO-17 dive bomber versions (both set to cat 3 and work well in anti ship missions) and they also began ignoring the post bomb run waypoint.

    I added Alt Route waypoints for the Stukas that are triggered by 0 bomb count. This seemed promising in that the Stukas did now turn towards home after the bomb run however saving the mission in MB made bizarre changes to waypoints and created/added waypoints that I never wrote into the mission. Cody Coyote's Mission Building guide does mention strange things like this happening if you try to save a tweaked mission too many times but I've rewritten dozens of mission many times over and never had this happen.

    At this point it may be a lost cause to make the Stukas turn for home and return to their base. But because my mission goals are tied to them reaching a "safe area" with an "Object Health " above 75%, I may have to rewrite this goal as success if they are at 75% when their bomb count is zero, or when my flight returns to base and leave it at that.

  13. #13
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Quote Originally Posted by _486_Col_Wolf View Post
    OK, here's what I've tried so far....

    Used another Stuka in my aircraft folder with different parameters in the 1101 Air file...no change in ignoring waypoint after bomb run. I didn't swap this air file into the Stuka I intend to use since they both seem to do the same thing.

    I tried running the mission with my JU-88 and DO-17 dive bomber versions (both set to cat 3 and work well in anti ship missions) and they also began ignoring the post bomb run waypoint.

    I added Alt Route waypoints for the Stukas that are triggered by 0 bomb count. This seemed promising in that the Stukas did now turn towards home after the bomb run however saving the mission in MB made bizarre changes to waypoints and created/added waypoints that I never wrote into the mission. Cody Coyote's Mission Building guide does mention strange things like this happening if you try to save a tweaked mission too many times but I've rewritten dozens of mission many times over and never had this happen.

    At this point it may be a lost cause to make the Stukas turn for home and return to their base. But because my mission goals are tied to them reaching a "safe area" with an "Object Health " above 75%, I may have to rewrite this goal as success if they are at 75% when their bomb count is zero, or when my flight returns to base and leave it at that.
    Thanks for the update. Man I don’t know either but do what ya got to do. I think I would since we really aren’t air file experts ourselves would have to consider just swapping airfiles altogether but why not replace the Stuka with the overhaul Val and if it works you can then use that air file for the Stuka. You can swap engines out and make other tweaks to make it more Stuka like but I wouldn’t worry much about that as long as it works good. Try the Val and a few others and if it works that’s gonna be your new air file.

  14. #14
    _486_Col_Wolf,

    Did you manage to get this problem sorted? BTW editing entry #1101 won't help, that's the "primary aerodynamics" in fact editing that will only cause more problems. The entry you want to change is the PID entry #1199. If you open the Val's air file in AAM scroll down and select entry #1199, then on the "edit" menu of AAM click "copy". Without closing AAM open the Stuka air file. Again, in the "edit" menu click "paste". Save it and give it a try and let me how things turn out.

    Cheers
    Aussie

  15. #15
    Aussie,

    I never did get it sorted out right. I now use an alternate trigger of object health of the bombers when my flight returns to base. This way, no matter where they go I will get success if they are still 75% intact when I return to my base.

    Thanks for the air file info. I will definitely give it a try and let you know if it works. It would be much better (realistic) if my flight could escort them to the "Detach Escort" waypoint then turn for home.

  16. #16
    Aussie,

    I used AAM to copy and paste the Val's 1199 section of the Air file into the Stuka Air file. However, in testing the Stukas continue to fly past the next way point after thier attack way point then continue on a straight line for miles. It's either something else in the AC files of the Stuka or the MIS/DYN files of the mission. At this point I may just have to go with the plan to use the alternate success trigger.

  17. #17
    _486_Col_Wolf,

    Well, that is strange. An easy test to find if it's in the air file or the mission itself would be to substitute the Stuka with the Val and see if they do the same thing.

    Cheers
    Aussie

  18. #18
    Aussie,

    That was going to be my next test. But here's the strange thing. This problem only cropped up after I got the Stukas to dive straight down on the target instead of glide bombing which they did when I had them as a Cat 10. I prefer they dive straight down like the real ones did so if this is the trade-off, I can live with it.

  19. #19
    OK, substituted the stock Val for the Stuka and here's what I got:

    Vals pass the attack waypoint, turn around then hit the target from the opposite direction in a glide bombing manner (they don't roll over and go straight down). After the attack they continue on in the opposite direction of the after attack way point. From there they also continue in a straight line without trying to turn anywhere. Unless there's some secret of writing this type of mission that's unknown to me I might have to leave it the way it is. At least the Stukas dive straight down now.

  20. #20
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Is the aircraft setting the same as the Stuka in the dp

  21. #21
    That's a good question DW.

    It would be interesting to hear what mission designers have to say, surely this issue has been encountered before.

    Cheers
    Aussie

  22. #22
    Since you mentioned attacking ships with dive bombers my son said if the ship is not destroyed the attacking plane will keep attacking with guns until the target is destroyed.Another thing is not all planes drop their bombs on their first attack and will get to alt and attack again with their bombs.If you have the tactical display on you can tell which planes dropped their bombs and which didn't,the lighter colored ones haven't dropped them.

    This is in one of Talon's mission tips.He knew a lot about how that AI behaved and how to work with it or around it.Remember he is the one who developed how to torpedo attack ships in harbor and surrounded by mountains 20 years ago.

    Hiede

  23. #23
    Thanks Hiede, and a big thank you to your son.
    I made a quick test mission with 2 Vals as wingmen and set out to destroy an amtrack. The Vals both attacked as expected making 2 passes, they didn't hit anything, and to my surprise I actually did
    They followed the waypoints to a degree and landed successfully afterwards.

    _486_Col_Wolf,

    I think the number of waypoints used comes into play and the proximity of them to the previous waypoints. What version of the Stuka are you using? I'll download it and give it a try and see if I can get the same results.

    Cheers
    Aussie

  24. #24
    DW, the Vals are a Cat10 while the Stukas are a Cat3. I believe this explains why the Vals glide bomb and the Stukas roll over and dive straight down on the target. I switched the Stukas to Cat10 and they also began glide bombing. So, to keep the Stuka attacks as realistic as possible I will maintain the Cat3.

    Heide, using Cat3 the Stukas all release on the first pass. If I switch to Cat10 like the Val they sometimes make 2 or more passes conduct all passes as glide bombing. So, again, to keep it as realistic as possible I'll stick to Cat3 for the Stuka. For ship attacks I only use the JU-88 or the DO-17 both of which I have a dive bomber version for. These attacks that are causing me grief though, are all for the Stuka and against land based targets. (docks, infrastructure, ect.)

    Aussie, I remember reading that the distance from the target approach way point to the attack way point should be a minimum of 7 miles. Also, only one of the turns is 90 degrees. All the other turns are considerably less. With that in mind I set up the waypoints for the Stukas as follows:

    wpt 1 Spawn @10K Ft travel 13 miles
    wpt 2 Turn @10K Ft travel 7-8 miles (this is the only turn of 90 degrees)
    wpt 4 Attack @10K Ft travel 7-8 miles (after attack)
    wpt 5 Turn @ 4K Ft travel 16 miles
    wpt 6 Turn @ 4K Ft travel 8 miles
    wpt 7 Land at Base

    But here's another interesting anomaly. Since the Stukas roll over and dive on the target they should, when pulling up after releasing the bombs, be facing back the way they came. Could it be possible that the after attack way point should be back in this direction? With the way points left as I wrote them, I can see them roll over, dive down and in mid dive roll again to be facing the next way point before releasing their bombs and pulling up.

    I'll have to check which Stuka I have and let you know.

  25. #25
    SOH-CM-2023 Deathwind's Avatar
    Join Date
    Aug 2022
    Location
    Bedbug infested wigwam
    Posts
    490
    Blog Entries
    1
    Well I hope you get it straightened out soon. I can’t mod now. Somethings going on can’t sleep last two nights getting out of breath about the time I nod off. Had a enlarged heart awhile back I’m starting to think it’s heart failure. Gotta go to work somehow. Y’all be good or good at it.

Members who have read this thread: 3

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •