Тёмный

Arma 3 Mission Editing: Make Ai Shoot Object 

White Raven
Подписаться 2,1 тыс.
Просмотров 25 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 125   
@Shadowfan4
@Shadowfan4 3 года назад
You're a total lifesaver, managed to build an ambient AA script from this and your other video when nothing else would work. Fantastic job!
@unclejean1545
@unclejean1545 Год назад
just got a sub from me, needed this exact thing for some Arma scene building with tanks, and didnt feel like adding the tanks firing in photopshop. You got straight to the point and put the script in the description. Youre awesome, thank you!
@vaughnf.6076
@vaughnf.6076 4 года назад
Very good...I used the same script using a line of tanks at a firing range. I clicked on the gunner in the tank and added the script to him for it to work. For the targets I used tanks, trucks anything that exploded for targets. I was surprised to see the tank still firing at the same target after it was burning. Looks great at nighttime firing....Thanks for this video and script.
@WhiteRaven
@WhiteRaven 4 года назад
You're very welcome
@rodocamilo
@rodocamilo 2 года назад
first of all, great video... now i want to ask, is there a way to make them (AI) shoot at bursts? when using "sleep 4" they fire like 2 bullets and stop, can it be like fire 3 seconds, wait 1 second and fire 3 seconds and so on?
@markosrba0279
@markosrba0279 9 месяцев назад
Hi Raven, hope you are doing great! Happy New Year, hope to see you again on youtube
@truthseeker8082
@truthseeker8082 3 года назад
Thank You bro, it is amazing, i had so much fun with it! Cheers and all of you who watch his videos subscribe to his channel now. Peace.
@WhiteRaven
@WhiteRaven 3 года назад
Thanks & glad it was helpful. FYI this is the advanced version which works a lot better: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0opszDP8XYs.html
@beanie8465
@beanie8465 Год назад
This worked for me for what I wanted to do. Thank you so much.
@michaelharwood8848
@michaelharwood8848 4 года назад
Thank you! Do you think this might also work for a laserdesignator (instead of say, a rifle?) making an ai laser target an object? Cheers!
@ravens4413
@ravens4413 4 года назад
Thanks! I'll look into it for you but please bear with me as I have a queue of requests & will get on it as soon as I can
@NickeoProductions
@NickeoProductions Год назад
Hello White Raven. I always find myself coming back to your videos. I do hope you can post soon. I have a request. Can you do a video, similar to this one where you force the AI to fire except this time, they're sitting in a turret or a vehicle of some sort. This script doesn't really work for pilots/ gunners/ etc. Helicopters fire flares and turrets don't fire much of anything. Cheers.
@blackfalco33
@blackfalco33 Год назад
Hi Raven! Thanks for this, I wanted to ask you if you know a way about how to make AI Shoot while on animation.
@MarkoSRBa
@MarkoSRBa 3 года назад
Just what I needed! Thank you very much sir!
@WhiteRaven
@WhiteRaven 3 года назад
You are very welcome but also check out the advanced version as you can do more with it
@MarkoSRBa
@MarkoSRBa 3 года назад
@@WhiteRaven Will do, thank you! :)
@usrmtc1601
@usrmtc1601 29 дней назад
Awesome video tutorial, I’m trying to get my M60 machine gunner to shoot automatic on range is there a way ? Thanks a million
@WhiteRaven
@WhiteRaven 28 дней назад
Check out the advanced version I did: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0opszDP8XYs.html
@socket_416
@socket_416 3 года назад
thanks for sharing With us
@WhiteRaven
@WhiteRaven 3 года назад
You're very welcome. FYI I made a better version. Look for Advanced version.
@gerardocastorena1144
@gerardocastorena1144 2 года назад
Awesome video man 👍
@soarsoar4218
@soarsoar4218 4 года назад
Do you think it'd be possible to make it work with a trigger? I'm trying to make an MG shot at a target as soon as you activate a trigger by stepping too close but I'm in a bit of a stall
@WhiteRaven
@WhiteRaven 4 года назад
I'll look into it for you but please bear with me as I have a queue of requests & will get on it as soon as I can
@soarsoar4218
@soarsoar4218 4 года назад
@@WhiteRaven A well thanks man, no rush of course. I managed to make the AI shot by puting your script in the trigger and replacing this by the unit's name, but he won't shot at the specific target for some reason.
@DrunkScout
@DrunkScout 5 лет назад
Another good vid man. I had a question. What mods are you running if any? I find it hard to find some of the suggested mods in the workshop as there are about twenty iterations of mods like zeus. Any suggestions on that? Thanks again for the good content.
@WhiteRaven
@WhiteRaven 5 лет назад
Thanks and I'm not running any MODs in this tutorial. As far as what MODs to use... that would depend on what you are playing. So If you are running a server or something with your mates then I suggest using MODs from Armaholic esp as that's where most originate. If you are on a 3rd party server i.e a milsim group they 'should' have the information for you (which MODs and where to get them from) if they don't use Arma3sync. If you are using A3launcher to get on specific servers then they will force you to download wherever they get them from. Hope that helps.
@DrunkScout
@DrunkScout 5 лет назад
@@WhiteRaven Perfect. I was not sure if the editor had full functionality without certain mods as me and a friend play co-op online and so far have been running custom missions. I'll stick with what we have until I'm more accustomed to it. Thanks for the fast response mate! Messing with convoys and air support right now. This game is a trip! Thanks again!
@WhiteRaven
@WhiteRaven 5 лет назад
@@DrunkScout no problem just give me a shout if you get stuck. Plus expect to loose more hours editing than playing lol
@DrunkScout
@DrunkScout 5 лет назад
As of right now I have over 40 hours logged in the short time I've owned it. Realistically probably 10 afk hrs looking at editing tutorials, 15 editing and 15 playing /editing? Lol
@darkhean1507
@darkhean1507 Год назад
my question is can you do it with rockets ? also using triggers instead of "this" tried my self and dont work
@rockspirestudio5817
@rockspirestudio5817 4 года назад
Man... you are my hero, how can I connect with you. Do you have skype or discord.I had to go through the half the internet to find the solution for ARMA III. Thank you! It's really helpful.
@WhiteRaven
@WhiteRaven 4 года назад
Glad to help & when I catch up with the requests I may look into live chats or streaming?
@joshuamiller28
@joshuamiller28 5 лет назад
Thanks mate, works fantastic
@WhiteRaven
@WhiteRaven 5 лет назад
Glad it helped
@jakmc77
@jakmc77 2 года назад
so this only works if your using pop up and static targets? i'm trying to have AA fire at aircraft and into the sky
@billu5297
@billu5297 2 года назад
So how do u make them shoot at multiple targets
@relaxedtactical8319
@relaxedtactical8319 4 года назад
I'm unclear on why it requires the gamelogic at all. The wiki for the 'action' command seems to indicate I could just use the unit itself. Is there some Arma blackbox thing about not using the unit itself for its own 'useweapon' action? EDIT: Never mind! I found this comment in the UseWeapon action description: "NOTE: If 'unitOne' is player object, the player goes into pick up animation before action is performed. If 'unitOne' is a game logic, the action is performed immediately with no animation."
@WhiteRaven
@WhiteRaven 4 года назад
Don't worry about this too much I am currently working on a new version for multiple targets and with vehicles too. It will be released soon so keep an eye out for it
@GolfFoxtrotCharlie-gfc
@GolfFoxtrotCharlie-gfc 4 года назад
Does this only work with vanilla units? Im not able to get it to work at all. They just stand there and aim but never fire. It works just fine with Vanilla units but any DLC units ect it wont work with. Is there anything that need be typed into the game logic?
@WhiteRaven
@WhiteRaven 4 года назад
I have replaced this with an advanced version use that method instead ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0opszDP8XYs.html
@lexatuan3893
@lexatuan3893 5 лет назад
thank yoouuuuu Keep going with make vids :D
@ravens4413
@ravens4413 4 года назад
Thank you : )
@Wretched_YT
@Wretched_YT 4 года назад
Not sure if you are still responding, but when using this the AI run out of ammo. What am I missing?
@WhiteRaven
@WhiteRaven 4 года назад
I have produced an advanced version - check it out as I have made many improvements
@kainlinpei4262
@kainlinpei4262 4 года назад
Is there a place where we can read up on the use of ALL the scripts? Great video.
@WhiteRaven
@WhiteRaven 4 года назад
Thanks & best to start with the arma community wiki
@play3r436
@play3r436 5 лет назад
Great video once more Raven, i am speciel into the sniper shooting with the AI, i do have one question about the way they fire, can you make them use the Bi-pod on the weapon by script or is that just not possible to do ? And how do i make it so the AI does not run out of ammo. Never mind on the Ammo question found this " this addeventhandler ["fired", {(_this select 0) setvehicleammo 1}];" and put it inside your script.. Like this :: null = this spawn {_this dotarget t6; sleep 0.5; while {alive t6 and alive _this} do {sleep 4; gl action ["useweapon",vehicle _this,_this,0]; _this addeventhandler ["fired", {(_this select 0) setvehicleammo 1}]; }}; but they don't do is a Magazine change anymore. do you know if that can be fixed so they change magazine.
@WhiteRaven
@WhiteRaven 5 лет назад
Good question & I can't think of a way off the top of my head plus I read somewhere that weapon resting is client-side interface-dependent code. So initially I would say no but I hate to give up that easily...maybe an animation first if there is such one? Let me know if you manage to find something and I'll let you know if I do.
@play3r436
@play3r436 5 лет назад
@@WhiteRaven "RifleReloadProneMMG02" found this one in the unknown section in animation viewer now it's just to put it inside the script you made.. c",)
@play3r436
@play3r436 5 лет назад
@@WhiteRaven null = this spawn { _this dotarget t1; sleep 0.5; _this addEventHandler ["Reloaded",{ _unit = _this select 0 ; _mag = _this select 4 select 0 ; _unit addMagazine _mag ; }] ; while {alive t1 and alive _this} do { sleep 0.3; [_this,currentWeapon _this] call BIS_fnc_fire; } ; } ; This gives unlimited ammo for the AI shooter with a MAG change when AI runs out of ammo in magasine.
@idate8893
@idate8893 4 года назад
hi there Lars, i tried your code on a tank and rhino but the gunner only fires the machine gun rather than the normal tank rounds. I'm fairly new to scripting in arma 3, pls help me thanks in advance :D
@frazer3249
@frazer3249 3 года назад
@@play3r436 I've tried using this code but for some reason, it doesn't work, have you any ideas?
@HTacticalMartialArts
@HTacticalMartialArts 5 лет назад
Thank you for sharing this interesting script. But when I tried it to RPG soldier, he tried to shoot but he carried it over his shoulder. And he repeated this action 3, or 4 times. Do you know how to make unit shoot RPG to the target?
@WhiteRaven
@WhiteRaven 5 лет назад
You have to play about with the timing... so sleep 8 works well for the RPG, make sure the unit has no primary or sidearm and the timing of the reload animation will probably look out. Good luck!
@HTacticalMartialArts
@HTacticalMartialArts 3 года назад
@@WhiteRaven thx man but plz tell me how to use this code with trigger and my unit name is ea1
@WhiteRaven
@WhiteRaven 3 года назад
@@HTacticalMartialArts Also have you watched my advanced version as it is a lot easier & you can do more with it Check that out & let me know if you're still struggling. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0opszDP8XYs.html
@kevinvic8920
@kevinvic8920 5 лет назад
Hey raven, I have a bit problem here. So, with this scripts i wanted to make a civilian shooting the target like the video did, then i place some civilian too around the area. But, those some civilian were afraid when the other civilian started shooting. They began to crouch and looks scared. I put "playMove" animation code to unit init to look more realistic. I also set their behavior to careless, but it didn't work. Can you make those some civilian not afraid of the shooting? Make them not crouch. Sorry for my English btw 😁. Thanks
@WhiteRaven
@WhiteRaven 5 лет назад
Hi the easiest way to stop the other civilians hitting the deck or running away is to (a) set the stance to 'stand up' and (b) paste the following in their init... this disableai "move" ...(for each civilian) - Hope that helps.
@kevinvic8920
@kevinvic8920 5 лет назад
@@WhiteRaven well, your suggestion just need one more, which is disable their "FSM" too. And for units that have "playMove" code, i disable the unit animation (i don't know how it work but it actually works), so the unit just looping the animation from "playMove" code. Thx btw, you helped a lot 👍
@WhiteRaven
@WhiteRaven 5 лет назад
@@kevinvic8920 Glad I could help
@kevinvic8920
@kevinvic8920 5 лет назад
@@WhiteRaven i have one more question, can you make custom radio chat with sound? Like an ai talk to the other when you come near them, and also from base talk to you with mission instructions/briefings. I'm sorry to bother you again 😁 Thanks
@WhiteRaven
@WhiteRaven 5 лет назад
@@kevinvic8920 No problem & yes both are possible. A proximity sound is fairly simple and a msg from base can be done a couple of different ways so leave it with me and I'll create a video on how to. But give me a while as this will be 3rd request in the queue lol - Thanks
@luinker123
@luinker123 4 года назад
How would you use a trigger to make the AI shoot 3 times, once every 5 seconds and then stop? Im trying to do a 21 gun volley
@WhiteRaven
@WhiteRaven 4 года назад
I'll look into that for you but bear with me as I have a queue of requests.
@luinker123
@luinker123 4 года назад
@@WhiteRaven No worries, i got it to work.
@WhiteRaven
@WhiteRaven 4 года назад
@@luinker123 Good effort!
@stefankalafior
@stefankalafior 4 года назад
@@luinker123 how?
@luinker123
@luinker123 4 года назад
@@stefankalafior I dont remember exactly but i took a script from the official forums and modified it to stop after the 3rd loop.
@dreadroberts7283
@dreadroberts7283 4 года назад
Raven , bro how do you get AI NOT to shoot in a prisoner style situation ??? i want to set up a prison break but cant keep the guard from shooting the prisoners. please help.
@WhiteRaven
@WhiteRaven 4 года назад
I'll look into that for you but bear with me as I have a queue of requests.
@JACKSONSNIPER93
@JACKSONSNIPER93 4 года назад
Hi, after uploading a shooting range to the server with this script, the AI could not reload the weapon, yet they were full of magazines, they kept pressing the trigger and that's it, they never reloaded ... it's a common problem or I could having babbled something?
@WhiteRaven
@WhiteRaven 4 года назад
I'm not sure as this is an old video/script but I'll look into it for you but please bear with me as I have a queue of requests & will get on it as soon as I can
@arma3turkishmovies831
@arma3turkishmovies831 5 лет назад
thanks bro :)
@WhiteRaven
@WhiteRaven 5 лет назад
Glad it helped
@usrmtc1601
@usrmtc1601 5 месяцев назад
Awesome video, how do I make the AI stop moving from the spot?
@WhiteRaven
@WhiteRaven 5 месяцев назад
In the Ai's init section, paste this: this disableAI "MOVE";
@usrmtc1601
@usrmtc1601 5 месяцев назад
@@WhiteRaven thanks for your reply I did that I think it’s on of the Ai mods screwing with it
@WhiteRaven
@WhiteRaven 5 месяцев назад
You can also add: this setUnitPos "UP"; (This will make them stand. Replace UP with MIDDLE if you want them crouching & DOWN if you want them prone).
@usrmtc1601
@usrmtc1601 5 месяцев назад
@@WhiteRaven ok I will do that, thanks
@usrmtc1601
@usrmtc1601 5 месяцев назад
@@WhiteRaven You the boss man, thanks it working
@StillerSight
@StillerSight 5 лет назад
hey do u know how to get missions to spawn randomly kinda like invade and annex for local game bc it dont work on local
@WhiteRaven
@WhiteRaven 5 лет назад
Hi have you tried the workshop MOD: 'Dynamic Universal War System - Rebirth' I have used it and it's great! Here is the steam workshop link: steamcommunity.com/sharedfiles/filedetails/?id=393315278 Is this what you mean?
@marccenteno6114
@marccenteno6114 5 лет назад
is there any other way to make ai change their rate of fire i mean can they do burst fire or shoot 2 bullets before resting again
@WhiteRaven
@WhiteRaven 5 лет назад
Change the 4 (sleep 4)
@daytonguenneguez6421
@daytonguenneguez6421 4 года назад
Hi, thanks for this but, u have a command to unit cease fire ?
@WhiteRaven
@WhiteRaven 4 года назад
Glad it helped & I'll look into it for you but please bear with me as I have a queue of requests & will get on it as soon as I can
@dogemoon5871
@dogemoon5871 2 года назад
I got it but. They dont want to shoot full auto
@hellschicken6197
@hellschicken6197 5 лет назад
Edit: How do I stop the AI from shooting at the target after spotting an enemy? As for now, they will engage an enemy if they spot him, but after the enemy encounter is dealt with, they continue shooting at the target
@WhiteRaven
@WhiteRaven 5 лет назад
So do you want them to stop when an enemy is in the area and then continue shooting targets once enemies have bee neutralised?
@hellschicken6197
@hellschicken6197 5 лет назад
@@WhiteRaven Hehe, no. I want them to stop engaging the targets I've pre-placed, attack the enemy encounter - and then stop firing at the pre-placed targets.
@loganpeters8366
@loganpeters8366 4 года назад
how can u change it to make them burst and can u tell me how to make them burst a certain amount of bullets
@WhiteRaven
@WhiteRaven 4 года назад
Don't worry about this too much I am currently working on a new version for multiple targets and with vehicles too. It will be released soon so keep an eye out for it
@corsairs3037
@corsairs3037 3 года назад
He so I'm making a DDay mission and I have this script working with an AA and it works targeting the plane of my choice, but when I switch it to night the don't shoot how can I change this ?
@WhiteRaven
@WhiteRaven 3 года назад
Have you tried the advanced version? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0opszDP8XYs.html
@corsairs3037
@corsairs3037 3 года назад
@@WhiteRaven I'll have a look, I did temporarily fix it buy downloading a hidden NVG mod and scripted that those would be deleted on death which worked
@corsairs3037
@corsairs3037 3 года назад
@@WhiteRaven worked absolutely fantastic mate cheers +1 sub
@WhiteRaven
@WhiteRaven 3 года назад
@@corsairs3037 That great glad it helped & was it the advanced version?
@corsairs3037
@corsairs3037 3 года назад
@@WhiteRaven yep
@djogm5586
@djogm5586 3 года назад
I still don’t know what tf to do, I’m making a d day landing map and idk what to script for anything, anyone have videos on this?
@WhiteRaven
@WhiteRaven 3 года назад
Check out my advanced version & it also has links to my scripts so you can use them
@djogm5586
@djogm5586 3 года назад
White Raven thank u so much🙏🏼
@cryo9shadow91
@cryo9shadow91 4 года назад
Any chance you know how to make a unit you've spawned load with the loadout you've selected in BI Virtual Arsenal? Because everytime I click "play as this person", it reverts back to the loadout that the model loaded with
@WhiteRaven
@WhiteRaven 4 года назад
Thanks! I'll look into it for you but please bear with me as I have a queue of requests & will get on it as soon as I can
@The_Wolf74
@The_Wolf74 4 года назад
can you do the same thing with fighter jets?
@ravens4413
@ravens4413 4 года назад
Thanks! I'll look into it for you but please bear with me as I have a queue of requests & will get on it as soon as I can
@frazer3249
@frazer3249 3 года назад
anyone know how to make them reload after they empty a magazine, and then carry on shooting? Many thanks in advance
@WhiteRaven
@WhiteRaven 3 года назад
I created a newer version, try this instead: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0opszDP8XYs.html
@vertex1029
@vertex1029 3 года назад
thanks very much but i wish you had explained the code
@leehill8437
@leehill8437 4 года назад
why did u not give us info on the module
@WhiteRaven
@WhiteRaven 4 года назад
There is a new advanced version of this check it out
@lichu5020
@lichu5020 5 лет назад
How to make the shooter will point at target?
@WhiteRaven
@WhiteRaven 5 лет назад
Hi the unit will not point at the target if the target name you entered is not correct. If you have followed the video guide correctly then I suggest checking all the names for spelling errors. Hope that helps
@TristanWardCoombe
@TristanWardCoombe 5 лет назад
Love the Channel you've got a like comment and sub from me
@WhiteRaven
@WhiteRaven 5 лет назад
Thanks
@DylanCabidig
@DylanCabidig 5 лет назад
I Was Think How to make ai/Tank shoot at an Vehicle or target
@WhiteRaven
@WhiteRaven 5 лет назад
I will have a look into it for you but am in the middle of other requests so bear with me
@spartan4119
@spartan4119 4 года назад
how to use tanks and vehicle to shoot object😀😀
@WhiteRaven
@WhiteRaven 4 года назад
I'll look into that for you but bear with me as I have a queue of requests.
@spartan4119
@spartan4119 4 года назад
@@WhiteRaven requests
@davebuss2162
@davebuss2162 4 года назад
@@WhiteRaven Looking for an answer to this as well. I have seen some examples on bistudio: gameLogic action ["useWeapon", unit1, unit1,16]; gameLogic action ["useWeapon", vehicle unit1, unit1, 0]; gameLogic action ["useWeapon", myTank, gunner myTank, 1]; gameLogic action ["useWeapon", myTank, commander myTank, 0]; Would be awesome to have vehicles (tanks, helicopters, planes) actually shell buildings prior to infantry moving into clear.
@ravens4413
@ravens4413 4 года назад
@@davebuss2162 I'll look into it for you both but please bear with me as I have a queue of requests & will get on it as soon as I can
@spartan4119
@spartan4119 4 года назад
OK bro 😊😊
Далее
Arma 3 Mission Editing: How to set up IEDs
9:45
Просмотров 3,9 тыс.
She Couldn’t Believe I Did This! 😭 #shorts
00:12
ArmA 3 Mission Making 101: AI Ambush
4:22
Просмотров 12 тыс.
Arma 3 Eden Editor BASIC Trigger Tutorial
17:29
Просмотров 157 тыс.
Arma 3 Editing | Add Para Drop to Your Mission
15:52
Просмотров 16 тыс.
Arma 3 Editor Tutorial | AI Suppressive Fire
5:51
Просмотров 3 тыс.
Arma 3 AI Animations Tutorial
10:49
Просмотров 146 тыс.
Arma 3: How To Create Cutscenes
13:23
Просмотров 314