Arma 3 - Perfect AI Pilots

Поділитися
Вставка
  • Опубліковано 21 гру 2024
  • Thanks to the Arma 3 community!
    Script by POLPOX from the Arma 3 Discord
    Copy this code to a trigger:
    onEachFrame {
    {
    _x setPosASL ((getPosASLVisual plane1) vectorAdd [(_forEachIndex+1) * 30,(_forEachIndex+1) * 30,0]) ;
    _x setVectorDirAndUp [vectorDir plane1,vectorUp plane1] ;
    _x setVelocity velocity plane1 ;
    } forEach [plane2,plane3,plane4] ;
    } ;
    Dive into the world of Arma 3, the ultimate military simulation game that has captivated gamers worldwide! Experience realistic tactical gameplay, massive open-world maps, and an extensive modding community that keeps the game fresh and exciting. Join us as we explore the thrilling features of Arma 3, from intense infantry combat to large-scale vehicle battles, and discover why this game has become a fan favorite.
    #arma3 #militarysimulation #tacticalshooter #openworld #realisticgameplay #moddingcommunity #InfantryCombat #VehicleBattles #bohemiainteractive #epicgaming
    In my videos, I'm covering:
    ✅ The immersive gameplay and features of Arma 3
    ✅ The diverse maps and environments that make every battle unique
    ✅ The incredible modding community that adds new content and experiences
    ✅ Our favorite mods and custom scenarios to enhance your Arma 3 experience
    Don't miss out on the action! Subscribe to our channel and hit the notification bell to stay updated on the latest in Arma 3 and other epic gaming content. Let's conquer the battlefield together! #Arma3Community #gamingchannel

КОМЕНТАРІ •

  • @T_EDWARDBANKS
    @T_EDWARDBANKS 11 місяців тому +3

    “I’m not leaving my wingman” - maverick

  • @reggaeman007jah
    @reggaeman007jah 2 роки тому +11

    So much potential from so little code - thank you for this. I used to use unitCapture for formation cinematics, but that really only easily worked well for trail formations. With this you could do say a diamond formation with very little work and setup … very cool bro.

    • @BenchmarkCiA
      @BenchmarkCiA  2 роки тому +1

      Thanks man. I only try and test stuff, this code was craffted for me by POLPOX from Arma community

    • @reggaeman007jah
      @reggaeman007jah 2 роки тому

      @@BenchmarkCiA he’s a legend for sure 👍

    • @PrestonGarvey69
      @PrestonGarvey69 10 місяців тому

      Man I remember buying arma thinking I'd be playing it. Nope here I am coding and making a story line

  • @nikpod27
    @nikpod27 Рік тому +2

    I rarely leave comments, but I will here. You've given me a wonderful script. Thank you for this video.

  • @j0m4m46
    @j0m4m46 Рік тому +1

    It's like a copy or a mirror image.

  • @eanean3831
    @eanean3831 2 роки тому +5

    Thank you very much. This is what i want looking for. But i hope i can command the AI to move formation

    • @BenchmarkCiA
      @BenchmarkCiA  2 роки тому

      Don't expect too much from the AI, it's too dumb, really. Almost no way to make him do exactly what you want

  • @hambaallah-kl4fi
    @hambaallah-kl4fi 3 місяці тому +1

    How can we see right and left when we are pilots?
    2:56

    • @BenchmarkCiA
      @BenchmarkCiA  3 місяці тому

      What do you mean? Like moving your face right and left?
      Double tap left alt for free look..
      Double tap it again to cancel

    • @hambaallah-kl4fi
      @hambaallah-kl4fi 3 місяці тому

      @@BenchmarkCiA Thank you bro, I'll try using numbers 4, 6, 2 and 8

    • @hambaallah-kl4fi
      @hambaallah-kl4fi 3 місяці тому +1

      @@BenchmarkCiA Do you have a discord bro, I want to ask about the Arma scenario

    • @BenchmarkCiA
      @BenchmarkCiA  3 місяці тому

      @@hambaallah-kl4fi This is my discord server
      I'm Benchmark there, send me a DM let me know you're from YT
      discord.com/invite/ZxXWDXeFbM

  • @lander4048
    @lander4048 Рік тому +1

    how to make them flying like Vee information?

    • @BenchmarkCiA
      @BenchmarkCiA  Рік тому

      Its only depends on the direction you're flying, try
      But a V, meaning wingman in each side, is bit different code.
      Send me DM in Discord, I'll send you the code

    • @lander4048
      @lander4048 Рік тому

      @@BenchmarkCiA what's your id discord?

  • @huseyin.hartavi
    @huseyin.hartavi 7 місяців тому +2

    This code is worth gold, but it still has a lot of shortcomings. How should we get out of this loop and how can we change their positions when we add more planes to this loop?Because when I add more than one plane, I have difficulty seeing other planes due to the mirror image.

    • @BenchmarkCiA
      @BenchmarkCiA  6 місяців тому

      Arma engine limitations.. :)
      It's not built for it.

    • @huseyin.hartavi
      @huseyin.hartavi 6 місяців тому +1

      ​@@BenchmarkCiA I found the solution. I will improve it further soon. :)

    • @BenchmarkCiA
      @BenchmarkCiA  6 місяців тому +1

      @@huseyin.hartavi Please share if possible :)

  • @bradylorenz5477
    @bradylorenz5477 Рік тому +1

    It doesn't work for me, any tips or clues to why it isn't?

  • @CDE9
    @CDE9 Рік тому +1

    i tried it with 4 apcs 2 of them were stuck in the ground and got destroyed but the destroyed bodys kept going in formation and 4th one was hovering over the ground🤣🤣🤣works nice with helis u just need to land them in a still land because they are forced to be at the same height soo any up or down in the ground might cause them to broke or hover,great code tho thx

    • @BenchmarkCiA
      @BenchmarkCiA  Рік тому

      It's not meant to be used like that and yes air assets only.
      Someone told me that you can also do it on ground vehicles but in order for the wheels to move, just give a random MOVE waypoint
      Mostly cinematic purposes I guess

  • @felixdelplanque
    @felixdelplanque Рік тому +1

    Do you have the updated version of the script to fly East to West ?

    • @BenchmarkCiA
      @BenchmarkCiA  Рік тому

      No dude sorry, not at the moment..If you know how to handle a code..I can send you a mission folder where a friend cooked me a script where the planes always fly together regardless of the direction. But he's a talented programmer and I don't know how exactly he did it
      If you know unitCapture stuff and init.sqf, this is for you
      If so, just reach me out via my discord. I'm Benchmark there
      discord.com/invite/ZxXWDXeFbM

  • @ITAGItalianTacticalGamer
    @ITAGItalianTacticalGamer 3 роки тому +2

    do you find a way also to let the wingman to emulate your fire?

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому +1

      Not exactly. But check another video I have about Perfect AI pilot. There you can see an option to make the AI shoot as you did

    • @ITAGItalianTacticalGamer
      @ITAGItalianTacticalGamer 3 роки тому

      @@BenchmarkCiA thx !!!

  • @emiliogarcia1554
    @emiliogarcia1554 3 роки тому +1

    how can i copy and paste, i can't, it's a dumb question, but please help me, like i know how, but I don't know how to do it in arma

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому +1

      Take the code and follow the instructions in the video..I can't really help more

    • @FrostyyMcToasty
      @FrostyyMcToasty 3 роки тому +1

      Ctrl+C

  • @uknowngamer8852
    @uknowngamer8852 3 роки тому +2

    can u do the same for helicopters?

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому +1

      Yes you can
      Use the same code, same names and it will work

    • @seeker1795
      @seeker1795 3 роки тому +1

      @@BenchmarkCiA I tried it with an A-164 and a tank and it worked. It looks so stupid, but It is really funny

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      @@seeker1795 It's not perfect, just maybe for fun or cinematic purposes. EachFrame has big impact on performance

  • @rafaelcarvalho7727
    @rafaelcarvalho7727 Рік тому +1

    Is there a code like this to helicopters?

  • @kiba3x
    @kiba3x 4 роки тому +1

    Do you know a way to make the AI gunner in your own jet to use the air to ground missiles?

    • @BenchmarkCiA
      @BenchmarkCiA  4 роки тому

      He should do it on his own once he recognize a target
      What are you trying to achieve?

    • @DEEZ_N4T
      @DEEZ_N4T 3 роки тому

      You can by Changing it in the pylon settings there should be a starring wheel symbol next to the name
      Of the ordinance loaded to the pylon just click on that then it’ll switch to gunner

  • @squee8510
    @squee8510 2 роки тому +1

    it is not letting me copy and paste

    • @BenchmarkCiA
      @BenchmarkCiA  2 роки тому

      Join the discord. Much easier from there

    • @squee8510
      @squee8510 2 роки тому

      @@BenchmarkCiA what's the discord

    • @BenchmarkCiA
      @BenchmarkCiA  2 роки тому

      discord.gg/5EXhnHdt

    • @squee8510
      @squee8510 2 роки тому

      @@BenchmarkCiA thank you

  • @caper9412
    @caper9412 4 роки тому

    unreal thanks

  • @501-notimplemented4
    @501-notimplemented4 3 роки тому +1

    Do you have a script that makes the other plane shoot whenever you shoot?

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      Not exactly
      But you can watch my video of Perfect AI pilot using the UnitCapture function to do something similar

  • @tentzergaminghd9410
    @tentzergaminghd9410 4 роки тому +1

    יפה, עזרת לי מאוד!

  • @Yeahmanyup
    @Yeahmanyup 3 роки тому +1

    Hey, I know this is unrelated but do you know a way to make AI planes dogfight each other?

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      AI is dumb. Any dogfight attempt will end with one of them firing all his missile on the other jet and all of it will take around 5 seconds from the second they spot each other.

    • @Yeahmanyup
      @Yeahmanyup 3 роки тому

      @@BenchmarkCiA lol yeah I have a ww2 mod and watched as they just circled each other in the sky

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      @@Yeahmanyup yeah its... Not possible :)

  • @giveherheadnotheadaches
    @giveherheadnotheadaches 4 роки тому +1

    thxxx

  • @nickbulamiyorumhepsialinmis
    @nickbulamiyorumhepsialinmis 3 роки тому +1

    Can we do this on zeus?

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      If both plains have the needed variable name, I think you can

  • @mangaday5129
    @mangaday5129 4 роки тому

    How can I change formation

    • @BenchmarkCiA
      @BenchmarkCiA  4 роки тому

      The script works in a way that your direction of flight determines the formation.
      Try and you'll understand what i mean

  • @demakre
    @demakre 4 роки тому

    Hey OmMA, Do you know how to undo the script during the game? Any other script to cancel it while playing this script and get back to normal vehicle behaviour? Thanks in Advance

    • @BenchmarkCiA
      @BenchmarkCiA  4 роки тому +1

      Never tried it but you can do 2 things:
      1. Delete by a trigger the wingman whenever you want.
      2. Deleting the trigger itself with deleteVehicle command via other script

    • @demakre
      @demakre 4 роки тому +3

      @@BenchmarkCiA Well I tryied this one and seems that it is working: onEachFrame {}; on the diferent trigger. Thanks for the Answer and by the way great script, at least is far much more better than vanila formation movement for Planes and Helis.

    • @BenchmarkCiA
      @BenchmarkCiA  4 роки тому +1

      @@demakre that is smart :)
      Good work

  • @indrsextreme8371
    @indrsextreme8371 3 роки тому

    how you got that script ?
    please lemme know

  • @subjectc7505
    @subjectc7505 3 роки тому +1

    It doesn't seem to work for me, the AI will just fly away.and I did everything right

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому +2

      Well, if it doesn't work, you did something wrong.. It was tested by many lads in my discord channel and no problem ar all

    • @subjectc7505
      @subjectc7505 3 роки тому +1

      @@BenchmarkCiA mmmm. Noo I did everything correctly. Oh wait NVM I see what I did

    • @seeker1795
      @seeker1795 3 роки тому

      @@subjectc7505 What did you do wrong?

  • @whatthehell4644
    @whatthehell4644 3 роки тому

    Sadly i dont even know how to fly air vehicles in arma lol

    • @whatthehell4644
      @whatthehell4644 3 роки тому +1

      Anyway if you still there. Do you know any script or mod to remove dead bodies? I love messing around with zeus but man when there are many dead bodies my frame drops lol

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      Zeus allows deleting bodies by default
      Check if all options are allowed in the module itself

    • @whatthehell4644
      @whatthehell4644 3 роки тому +1

      @@BenchmarkCiA ohh thanks didt know that

  • @somedude0921
    @somedude0921 3 роки тому +1

    uhhhhhhhhhhhh uhhhhhhhhhhhhh uhhhhhhhhhhhhhhhh

  • @ohioan6037
    @ohioan6037 3 роки тому +1

    I keep blowing up

    • @BenchmarkCiA
      @BenchmarkCiA  3 роки тому

      Your AI? go airborne and then activate the script via trigger