Results 1 to 10 of 10

Thread: Drone behaviour after one encounter

  1. #1
    Supporting Member
    Join Date
    Dec 2019
    Posts
    473
    Post Thanks / Like
    Total Downloaded
    22.61 MB

    Drone behaviour after one encounter

    Hi,

    Everytime I get invested in CLoD I seem to always get completely brought down by the fighters returning to base behaviour. It is such a HUGE issue. A couple of years back as I was messing with scripts I looked at the task that was happening. I made a thread here:

    https://theairtacticalassaultgroup.c...638#post364638

    Now I've been back and making some missions and getting a bit more understanding I made some more test scripts.

    I set up a mission with a fighter escorting a bomber, and myself in a fighter.

    First observation: Fighters escort a bomber all the way unless they engage the enemy, i.e. they ignore all waypoints after the first escort. They will follow hte bombers until they get to their landing waypoint, then the bombers 'task is complete' and the escort stops. This is actually quite cool in a way, you don't need to set waypoints following the bomber group. I wish I had known that before making 24 missions and laying out all those escort routes.

    Second observation: The fighters then go fly straight to their landing waypoint. Whch is ok in the scenario where they encounter nothing. But is totally rubbish when they have a short battle and disengage (providing they have fuel/ammo left, otherwise it makes sense to fly home)

    Third observation: The fighter group's 'next waypoint' actually changes to their landing waypoint at the point they start the escort. So if landing happens to be point 7 and point 3 is the escort, as they start the escort their next waypoint becomes 7. This agrees with observaiton 2 above.

    Fourth observation: They go into DEFENDING task when escorting, then ATTACK_AIR when they fight something.

    Fifth observation: When they lose sight they go to RETURN task. and this is what I think breaks everything.

    Now I tried to just set their task to FLY_WAYPOINT but it kept switching back, which was before I realised their next waypoint had jumped to the last one.

    So I used the recently aquired knowledge (from this forum, thanks) on how to set a new set of waypoints to give them a full set at the point they drop out of ATTACK_AIR. And this did direct them to fly to the new waypoints, but, they were dumb. They would not fight back, some wiggle but no bite. I'd kept away from shooting opportunities as I evaded them so I doubt it their ammo was out, but admittedly I did not test for that.

    So my theory is that the b***** point where they set to RETURN as a task makes them stupid. For ever. Even if you give them nice new waypoints that they fly normally.

    Please could you do something about it? Stop whatever gets tripped at that point? Or give us the ability to reset it with script/method?

    Personally with my naive thinking I think it needs:

    1) An airgroup to only have it's next waypoint jump to be 'the next non-escort task waypoint' if there are any remaining. If there are none, then next waypoint becomes the landing one (current behaviour).

    2) When a fighter flight ends it's AirAttack by losing sight , instead of clicking into RETURN task it just does NORMFLY / fly waypoint unless ammo/fuel is an issue then it can do the RETURN behaviour.

    Here is some of my console output from my test, right at the point the escorting fighter lost sight of me.

    I was printing the airgroup and its task every 10 seconds
    The current (next) waypoint integer
    The last waypoint integer before it started Defend/Air attack behaviour, and then there was another output kind of duplicating the task in the first line.

    So below, 'Last is 1', is just where I logged that the escort started at waypoint 2, so the last normal fly waypoint was 1.
    Landing waypoint for the fighter was 4 and you can see in the first bit it has already jumped to that In teh first bit
    And you can see some text I was printing saying it was attacking here, which matches the task in the first line.

    Then it loses sight, the task changes to RETURN. Grrrr.

    Ping is where my script changed all the waypoints and its task changes to FLY_WAYPOINT and the current waypoint is 1 as well, all as I had anticipated. But sadly, it was dumb and neither me finding it again, or a Gloster GLadiator I had set up on a hea don on it's course between waypoint 3 and 4 (which it duely followed) were of any interest to it.

    Spoiler: 
    Enemy airgroup is 0:BoB_LW_JG27_I.11; and task is ATTACK_AIR
    Current waypoint is: 4
    Atttacking here
    Last is: 1
    Enemy airgroup is 0:BoB_LW_JG27_I.11; and task is RETURN
    Current waypoint is: 4
    Return
    Ping
    Last is: 1
    Enemy airgroup is 0:BoB_LW_JG27_I.11; and task is FLY_WAYPOINT
    Current waypoint is: 1
    Flying waypoint
    Last is: 1


    I know there is the thought that we can keep setting nearest target somehow but that strikes me as areally wewrid way of approaching it and, please for the love of all that is good, could you look at disabling this RETURN drone-mode unless low fuel/no ammo, and, maybe also stop the waypoint jumping to landing after escort, if at all possible?S oemthgin must be blocking an aircraft entering attack air again even when given brand new waypoints.

    Thanks.

    Caveat: maybe I've made a huge mistake in my tests and really haven't a clue in any of this.
    I am Yo-Yo not YoYo (that's someone else)

  2. Likes 1lokos, Little Bill, SPITMKVB liked this post
  3. #2
    Ace 1lokos's Avatar
    Join Date
    Jan 2012
    Posts
    5,323
    Post Thanks / Like
    Total Downloaded
    1.04 GB

    Re: Drone behaviour after one encounter

    I'd kept away from shooting opportunities as I evaded them so I doubt it their ammo was out, but admittedly I did not test for that.
    No, the AI planes in "dumb mode" have plenty of ammo, you can test this jumping in their cockpits using the command - in View; "Take control of AI aircraft" or something similar.

  4. Likes ATAG_Oskar liked this post
  5. #3
    Supporting Member
    Join Date
    Dec 2019
    Posts
    473
    Post Thanks / Like
    Total Downloaded
    22.61 MB

    Re: Drone behaviour after one encounter

    Quote Originally Posted by 1lokos View Post
    No, the AI planes in "dumb mode" have plenty of ammo, you can test this jumping in their cockpits using the command - in View; "Take control of AI aircraft" or something similar.
    Yes I was sure they had ammo as they had fired at me maybe twice before they stopped combat. I just wanted to be clear on what I hadn't tested. (They also had full fuel.)

    I didn't know you could take control like that though, interesting.

    This drone behaviour does make me weep though. Tears of utter sadness.
    Last edited by Yo-Yo; Apr-11-2023 at 06:42.
    I am Yo-Yo not YoYo (that's someone else)

  6. #4
    Ace Bonditaria's Avatar
    Join Date
    Oct 2015
    Location
    Rotterdam
    Posts
    1,150
    Post Thanks / Like
    Total Downloaded
    2.82 GB

    Re: Drone behaviour after one encounter

    Quote Originally Posted by Yo-Yo View Post
    This drone behaviour does make me weep though. Tears of utter sadness.
    This, in my opinion, is the most broken aspect of the entire game.

    Feeling your pain Yo-Yo.

  7. Likes Yo-Yo, zzzxxxxzzz, SPITMKVB liked this post
  8. #5
    Combat pilot
    Join Date
    Oct 2021
    Posts
    113
    Post Thanks / Like
    Total Downloaded
    12.95 MB

    Re: Drone behaviour after one encounter

    Depending on difficulty settings, you can take control of every plane that can be flown by players.

    Implied, SinglePlayer and/or MultyPlayer Mission difficulty settings 'give pemission' to take control ...

    Quote Originally Posted by Yo-Yo View Post
    (...) I didn't know you could take control like that though, interesting.
    Last edited by GANIX; Apr-11-2023 at 07:52.

  9. #6
    Combat pilot
    Join Date
    Oct 2021
    Posts
    113
    Post Thanks / Like
    Total Downloaded
    12.95 MB

    Re: Drone behaviour after one encounter

    I'm convinced that this, beside other reasons, is crucial why so many have turned away from the game.
    Sorry, Off-Topic.

    Quote Originally Posted by Bonditaria View Post
    This, in my opinion, is the most broken aspect of the entire game.

    Feeling your pain Yo-Yo.
    Quote Originally Posted by Yo-Yo View Post
    Yes I was sure they had ammo as they had fired at me maybe twice before they stopped combat. I just wanted to be clear on what I hadn't tested. (They also had full fuel.)

    I didn't know you could take control like that though, interesting.

    This drone behaviour does make me weep though. Tears of utter sadness.
    Last edited by GANIX; Apr-11-2023 at 08:15.

  10. Likes Yo-Yo, SPITMKVB liked this post
  11. #7
    Supporting Member
    Join Date
    Dec 2019
    Posts
    473
    Post Thanks / Like
    Total Downloaded
    22.61 MB

    Re: Drone behaviour after one encounter

    Quote Originally Posted by GANIX View Post
    I'm convinced that this, beside other reasons, is crucial why so many have turned away from the game.
    Sorry, Off-Topic.
    It's not off topic. I'm convinced it is a primary reason.

    I keep coming back and trying, trying, trying.... but it just eventually starts to spoil things the more you play. I'd like to make some missions that were not big BOB battles, using the Tobruk scenario, but am loathe to start because with less aircraft you reply more on what they are actually doing. I'd liek to havwe some kind of free patrol with things happening around that you can join in on, but that is not possible unless the AI after one engagement will still defend themselves.

    Please devs, just turn off the return behaviour unless fuel or ammo related. Scrap the whole escort thing if need be, if we can just have the AI fighters instead fly waypoints from a - z and attack either fighters or bombers (defined by task) unless fuel ammo is low/empty in which case they fly to landing point.




    (I'll have a look at those assign target bits of code again as a workaround, but I have sunk hours trying to piece it together already.)
    I am Yo-Yo not YoYo (that's someone else)

  12. #8
    Combat pilot
    Join Date
    Oct 2021
    Posts
    113
    Post Thanks / Like
    Total Downloaded
    12.95 MB

    Re: Drone behaviour after one encounter

    With a bit of luck, the obligatory TF reference to the BUGTRACKER will now follow. Or in two weeks.
    Last edited by GANIX; Apr-11-2023 at 09:56.

  13. Likes Mysticpuma, SPITMKVB liked this post
    Dislikes ATAG_Snapper, ATAG_Soldat disliked this post
  14. #9
    Admin ATAG_Snapper's Avatar
    Join Date
    Nov 2011
    Location
    Kitchener, Ontario, Canada
    Posts
    11,630
    Post Thanks / Like
    Total Downloaded
    406.29 MB

    Exclamation Re: Drone behaviour after one encounter

    Hi everyone,

    Just a heads up.

    There are a lot of people working very hard behind the scenes getting the Steam VR Visual Update ready for release, working on the next dlc, submitting missions for multiplayer events, updating and creating new campaigns to incorporate True Sky and other upcoming features. No one is getting rich on this, and many are giving up a lot of their time that could otherwise be spent with families, other interests, or...actually flying this sim for fun.

    Constructive critique and suggestions are always appreciated. We're all adults here, and we know very well how to submit ideas in a positive fashion.

    There is no place here for snark and negative sarcasm. There are other forums where this is tolerated. Not here. For those who feel otherwise, perhaps you would be happier elsewhere.

    This forum will continue to be a pleasant and informative place to visit.

    Thanks,

    Snapper

    This thread is closed.
    Last edited by ATAG_Snapper; Apr-11-2023 at 12:53.


    HP Omen Laptop 15, AMD Ryzen 5 5600H 16 GB DDR4 RAM, NVIDIA GeForce RTX 3060 Laptop GPU 6 GB VRAM Win 11 64 bit 22H2 (KB5020044), Nvidia GeForce Driver ver 527.56, TrackIR 5, Gear Falcon Trim Box, Gear Falcon Throttle Quadrant, TM16000 joystick, TM Warthog HOTAS, CH Quadrant, Saitek Pro Combat rudder pedals
    VR: None
    Installation path: C:\Program Files (x86)\Steam\steamapps\common\IL-2 Sturmovik Cliffs of Dover Blitz

  15. Likes Sleepy_Fly, ATAG_Soldat liked this post
    Dislikes SPITMKVB disliked this post
  16. #10
    TF Leadership RAF74_Buzzsaw's Avatar
    Join Date
    Oct 2012
    Posts
    11,773
    Post Thanks / Like
    Total Downloaded
    320.64 MB

    Re: Drone behaviour after one encounter

    Hello to Yo Yo

    We are aware of the issues regarding AI behaviour and the 'Return to Base' bug, etc.

    We expect to have these remedied for the TF 6.0 release.

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
  •