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
“I’m not leaving my wingman” - maverick
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.
Thanks man. I only try and test stuff, this code was craffted for me by POLPOX from Arma community
@@BenchmarkCiA he’s a legend for sure 👍
Man I remember buying arma thinking I'd be playing it. Nope here I am coding and making a story line
I rarely leave comments, but I will here. You've given me a wonderful script. Thank you for this video.
I appreciate that!
It's like a copy or a mirror image.
Don't over complicate stuff, try :)
Thank you very much. This is what i want looking for. But i hope i can command the AI to move formation
Don't expect too much from the AI, it's too dumb, really. Almost no way to make him do exactly what you want
How can we see right and left when we are pilots?
2:56
What do you mean? Like moving your face right and left?
Double tap left alt for free look..
Double tap it again to cancel
@@BenchmarkCiA Thank you bro, I'll try using numbers 4, 6, 2 and 8
@@BenchmarkCiA Do you have a discord bro, I want to ask about the Arma scenario
@@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
how to make them flying like Vee information?
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
@@BenchmarkCiA what's your id discord?
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.
Arma engine limitations.. :)
It's not built for it.
@@BenchmarkCiA I found the solution. I will improve it further soon. :)
@@huseyin.hartavi Please share if possible :)
It doesn't work for me, any tips or clues to why it isn't?
Do you get any error?
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
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
Do you have the updated version of the script to fly East to West ?
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
do you find a way also to let the wingman to emulate your fire?
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
@@BenchmarkCiA thx !!!
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
Take the code and follow the instructions in the video..I can't really help more
Ctrl+C
can u do the same for helicopters?
Yes you can
Use the same code, same names and it will work
@@BenchmarkCiA I tried it with an A-164 and a tank and it worked. It looks so stupid, but It is really funny
@@seeker1795 It's not perfect, just maybe for fun or cinematic purposes. EachFrame has big impact on performance
Is there a code like this to helicopters?
Use exactly the same code :)
Do you know a way to make the AI gunner in your own jet to use the air to ground missiles?
He should do it on his own once he recognize a target
What are you trying to achieve?
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
it is not letting me copy and paste
Join the discord. Much easier from there
@@BenchmarkCiA what's the discord
discord.gg/5EXhnHdt
@@BenchmarkCiA thank you
unreal thanks
Do you have a script that makes the other plane shoot whenever you shoot?
Not exactly
But you can watch my video of Perfect AI pilot using the UnitCapture function to do something similar
יפה, עזרת לי מאוד!
koyak
גבר אתה עדיין משחק ארמה?
@@paprikaman1124 כן
@@tentzergaminghd9410 יש לך דיסקורד?
@@paprikaman1124 כן
Hey, I know this is unrelated but do you know a way to make AI planes dogfight each other?
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.
@@BenchmarkCiA lol yeah I have a ww2 mod and watched as they just circled each other in the sky
@@Yeahmanyup yeah its... Not possible :)
thxxx
Can we do this on zeus?
If both plains have the needed variable name, I think you can
How can I change formation
The script works in a way that your direction of flight determines the formation.
Try and you'll understand what i mean
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
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
@@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.
@@demakre that is smart :)
Good work
how you got that script ?
please lemme know
Read the description :)
It doesn't seem to work for me, the AI will just fly away.and I did everything right
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
@@BenchmarkCiA mmmm. Noo I did everything correctly. Oh wait NVM I see what I did
@@subjectc7505 What did you do wrong?
Sadly i dont even know how to fly air vehicles in arma lol
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
Zeus allows deleting bodies by default
Check if all options are allowed in the module itself
@@BenchmarkCiA ohh thanks didt know that
uhhhhhhhhhhhh uhhhhhhhhhhhhh uhhhhhhhhhhhhhhhh
Yeah that's true lol
I keep blowing up
Your AI? go airborne and then activate the script via trigger