How to animate AI in ARMA 3 tutorial made simple (Arma 3 720p)

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 111

  • @RickOShay
    @RickOShay 10 років тому +13

    This is how to seamlessly play multiple animations back to back. Example: playing a traffic checkpoint where the soldier waves you on. There are 3 animations in this series namely:
    Acts_ShowingTheRightWay_in (1.799 secs)
    Acts_ShowingTheRightWay_loop (1.832 secs)
    Acts_ShowingTheRightWay_out (1.9 secs)
    Anim times are shown in the anim viewer. (trigger this in editor - [] call BIS_fnc_animViewer)
    1) Drop down any AI rifleman that will play the anim and name it 'trafficman'. Put this in the rifleman's init field: this setBehaviour "CARELESS"
    2) Create 3 triggers one for each animation and change the trigger condition to true in each case so they fire automatically.
    3) On the first trigger in the init field place this: trafficman playmove "Acts_ShowingTheRightWay_in";
    4) On the second trigger put a 1.799 countdown in min mid and max. Then in the init field put: trafficman playmove "Acts_ShowingTheRightWay_loop";
    5) On the third trigger put a countdown of 10.959 and init: trafficman playmove "Acts_ShowingTheRightWay_out"; trafficman disableAI "Anim";
    The countdown for the 3rd trigger is the total of the first anim and 5 x the looped time of the second animation.
    Obviously if you want this sequence to only happen if the player drives up to the checkpoint then set trigger activation from true to something else like Blufor present and in trigger condition: this && vehicle player in thislist and set a radius
    for the trigger area.
    If you want him to move somewhere after the anim then on the third trigger's init at the end add: trafficman domove getmarkerpos "somemarkername";
    As mentioned by Wabuser not all animations can be played and triggered sequentially like this. Also trigger state is checked about every 0.5 secs - so this can lead to slight timing issues. To be more precise use a script.

  • @Just_Irish_Gaming
    @Just_Irish_Gaming 10 років тому +3

    Awesome video. Helped me out a lot. The music is really serene lol

  • @sfonzie1985
    @sfonzie1985 10 років тому +2

    SHIT, I used hours to figure this one out, you just became god in my eyes

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      lol i know the feeling.. this one took me days of trial and error glad i saved u time. cheers!

  • @Ferocious_Imbecile
    @Ferocious_Imbecile 7 років тому

    I just love good Arma 3 editor tutorials. This is a good one. Thanks a lot for taking the trouble to make it and share it with us.

  • @RickOShay
    @RickOShay 10 років тому +5

    Easy way to get AI to sit in a chair (e.g. Empty>Object Camping>Camping Chair): After placing a player object - drop in a chair. Then place a NPC (AI) over the chair and in its init put: [this,"SIT"] call BIS_fnc_ambientAnim; He will stay seated using this command - no matter what and will not respond to enemy. Which is rather annoying. So it's really only useful for ambient purposes (as the fnc name implies). You can switch him out of this state using: [unit,""] call BIS_fnc_ambientAnim__terminate; but that doesn't smoothly transition - it just switches the anim state to standing.
    There is no equivalent anim in BIS_fnc_ambientAnimCombat unfortunately - the closest being "SIT_LOW" which is sitting on the ground with a weapon. BIS_fnc_ambientAnimCombat does allow the AI to automatically switch out of the anim when enemy detected. So for now until BIS fixes this you will have to use the playmove alternative. man setBehaviour "SAFE"; man switchMove "InBaseMoves_SittingRifle2"; man disableAI "anim"; man attachTo [chair,[0,0.1,-0.45]]; man setDir 180, then use a trigger to make him wake up using: man enableAI "ANIM"; and man switchmove ""; and a: man setBehaviour "aware".

  • @VirusZA
    @VirusZA 10 років тому +2

    The ending reminds me of Teletubbies when the sun goes down :D

  • @RickOShay
    @RickOShay 10 років тому +2

    Some other simple animation solutions which will allow the enemy to move to attack position fluidly - if it senses an enemy:
    Put the last bit into units init box:
    Lean against building: [this,"LEAN"] call BIS_fnc_ambientAnimCombat;
    Guard - weapon down: [this,"WATCH"] call BIS_fnc_ambientAnimCombat;
    Sit on floor: [this,"SIT_LOW"] call BIS_fnc_ambientAnimCombat;
    If you don't want them to switch out of the animations use call BIS_fnc_ambientAnim instead of BIS_fnc_ambientAnimCombat.

  • @ZzraphMedia
    @ZzraphMedia 10 років тому +3

    This tutorial is perfect!

  • @nolifegamer-homemadevideo3746
    @nolifegamer-homemadevideo3746 10 років тому +2

    Nice Tutorial! :D

  • @frankaloons
    @frankaloons 9 років тому

    WOAH! You have 141 subs? You deserve millions, man!

  • @sahandsoltanieh5186
    @sahandsoltanieh5186 6 років тому

    I didn't know we have such thing called Animation Viewer!!! Nice to know that now. thanks

  • @secondsidegaming5158
    @secondsidegaming5158 10 років тому +2

    How to loop repeat the longer animations?, if there`s a way?

  • @welsh2266
    @welsh2266 10 років тому +2

    Very good video mate. Can I ask you to make a tutorial showing us how to set up a vehicle check point with these animations & how to get a AI to call a chopper to land like they did in the campaign? Is it possible to give AI wps with animations? Please keep videos like this coming mate. Thank you for sharing it with us

  • @BigDawgCleveland
    @BigDawgCleveland 10 років тому +1

    Awesome thanks my man! :)

  • @ReeceW93
    @ReeceW93 10 років тому +1

    awesome vid mate. Really helping me progress through my mission :) I encountered this bug earlier which was pretty funny: I had a convoy lined up and disabled there "MOVE". I placed a light infantry unit down and gave him the GUARD animation but I decided to remove his vest. However when I removed his vest the vehicle to the rear of the convoy decided to drive up to him?!?! lmao

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      thanks! glad you found this useful. lol yeah some funny bugs in arma 3 use to be alot more when it was in alpha.

  • @cigscwb
    @cigscwb 10 років тому +1

    Thanks a lot man!!!

  • @riderh9235
    @riderh9235 9 років тому

    This really really helped thanks alot

  • @nataltadpole7536
    @nataltadpole7536 9 років тому +2

    Btw if i want to loop an animation?

  • @Bullzeye50AE
    @Bullzeye50AE 10 років тому

    Great video mate, worked like a charm :D :D :D

  • @axelmontano
    @axelmontano 10 років тому +2

    freaking amazing videoooooooooooooooooo dude this is going to help me alot and you explained it very well 1000 thanks : )

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      thanks man glad that helps! means alot for me :)

  • @welsh2266
    @welsh2266 10 років тому

    Thanks for the reply mate. I meant way points by the way. I will be making a sniper mission soon & as I was watching your vids, my head begun to buzz with ideas. What I'm thinking about is setting up a target area that we watch & await our target. In the target area will be AI playing a few animations for eye candy. Might even get the HVT doing some maybe. We will be landing at a secured LZ & that's what I wanted the guy to call us in to land then I wanted him to go back to his squad. I've not checked yet but I wander if it's possible to animate the AI throwing smoke as the chopper approaches? Looking forward to more of your arma 3 tutorials mate

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      no probs.. yes animation can be set up by waypoints just put in the command on the activation of the waypoint. but i think this will only work for the "[name, "insert animation command", :ASIS"] call BIS_fnc_ambientanim;" type of animation not sure. for the animation viewer command it always works with trigger so i stick to that. yes thare is trow animation for ai unfortunately what the 1 i found is split unto 3 parts "name switchmove "AwopPercMstpSgthWpstDnon_Part2"; name switchmove "AwopPercMstpSgthWpstDnon_Part3"; name switchmove "AwopPercMstpSgthWpstDnon_Part4"; so a bit more complicated.. u will need to spawn in the smoke after the trow animation. or thare might be an actual script command to get ai to trow smoke i still havent found it sorry. another thing is ai is invincible when in animation. but u can always script kill them "this setdamage 1" sorry if im not being much of a help been busy with work. and im currently working on another video. but ill get to making more animation tutorials. cheers! :)

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому +1

      Ive finished the video I was working on.. ill be working on checkpiont tutorial and ill try to learn the scripts for it.. in the meantime checkout my latest "top gun arma 3 parody" cheers! :)

  • @OPMario
    @OPMario 10 років тому +1

    I'm trying to have an enemy engineer in my mission do the tire fix animation but also have a trigger(s) that makes so if you get too close to him, or if someone else detects you, he'll stop doing the animation and be able to shoot. Do you how this could be done?

  • @BigDawgCleveland
    @BigDawgCleveland 9 років тому

    Awesome help bro!

  • @3000kitesurfer
    @3000kitesurfer 10 років тому

    Hey Mate, Whats the launch animation for the flight crew on the USS Nimitz?

  • @Petlovedurian
    @Petlovedurian 10 років тому

    omg so very much thank you man this is easy

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      No worries! glad you found this helpful :)

  • @muhammadzamir2089
    @muhammadzamir2089 10 років тому +2

    It Works !!

  • @predalien34
    @predalien34 11 років тому +1

    Nice vid wife its heavy btw and I haven't been on because my broke

    • @AbuserFilmsHD
      @AbuserFilmsHD  11 років тому

      thanks heavy! yeah same here been bz with work and editing.. cheers mate!

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      *****
      ctrl c & ctrl v

  • @elis.raptor9459
    @elis.raptor9459 9 років тому

    Is there a way to change what gear the AI is using, i want to place mod gear on the AI for a trailer.

  • @BF_Halo
    @BF_Halo 10 років тому

    Do these animations work in MP as well?

  • @zachawesome10
    @zachawesome10 8 років тому

    Can you set them up to do that while you are playing as a character

  • @MXAlpha
    @MXAlpha 10 років тому

    also how can i create a police checkpoint that will work everytime a vehicle comes through?

  • @Leon-ds6fk
    @Leon-ds6fk 9 років тому

    Good Job bro

  • @dersoldatfritzberger2273
    @dersoldatfritzberger2273 10 років тому

    can you make a tutorial about that just as "zeus" ???

  • @sabertoothgaming8988
    @sabertoothgaming8988 8 років тому +1

    what is the actual name of the intro song, do you have the song name pls?

    • @sabertoothgaming8988
      @sabertoothgaming8988 8 років тому

      +Pixel Dispatch ahhhh nevermind, ive only just saw the small print in the description saying its - "Battle Los Angeles Hymn" by Brian Tyler ( • )
      And omg ive just realized its from battle los Angeles. now i remember it XD

  • @Numnutism
    @Numnutism 10 років тому +1

    How do i make the animations loop?

  • @kratasgr
    @kratasgr 10 років тому

    great video tnx

  • @sambarrett5097
    @sambarrett5097 10 років тому

    hey i got the animations to work, but now i can't move the units to the spot i want them to be in. once they have an animation to their name are they binded to that particular spot you spawned them in? please help/

  • @cherrylyncompe9376
    @cherrylyncompe9376 11 років тому

    hi abuser.wow! i love it.can u pls teach me how to have that application so that i will be able to try if i know how to animate?..keep up the good work..i love you.

  • @emilvilander1033
    @emilvilander1033 9 років тому +1

    How do i make it so the AI reacts to enemy contact?

  • @welsh2266
    @welsh2266 10 років тому

    Hi mate, I would like to use the animation that calls in a chopper like in the campaign but I'm finding it far to short. Is there a way to make them longer? I want it to stop once my bird is on the ground. Cheers mate

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      hi! quick solution to that is if ur landing a chopper and u want the ai to detect the chopper and activate the animation. is hide a civilian in chopper and in trigger put in activation: civilian, condition: this, trigger "name switchmove "Acts_NavigatingChopper_In";"(this animation will continue in a loop) then setup another trigger that starts at any time you want u can set the time at "min mid max" lets say just put in 9 for each so it this trigger will start 9 secs. after the civilian has entered the trigger diameter "name switchmove "Acts_NavigatingChopper_Out";"(this will complete and end the animation) hope that helps.

  • @justryan6480
    @justryan6480 9 років тому

    How do i make some one sit. on a table. Please reply with the commands

  • @Xxkevineitor
    @Xxkevineitor 9 років тому

    How do you animate a checkpoint? so the AI order the other AI to check like in your intro? Please answer!

    • @arismagicgr
      @arismagicgr 7 років тому

      there is an animation that the soldier orders another soldier to go and check... So, you have to use this animation and time it with the animation and/or movement on the other soldier so it will be synced!

  • @lexvrienten7775
    @lexvrienten7775 9 років тому

    i am probably a real beginner with animations on arma but im really stuck with using the trigger correctly.
    when you used the waving anim i wanted to use another waving anim for stopping a car and then let it get seached but i cant figure out how i can start the animation just when the car moves closer not when im 2 km away from it could anyone help me out?

  • @DevilDog19921
    @DevilDog19921 10 років тому

    Hey man...i am trying to figure out ho can i get the carring animation to work...i want to combine 4 animations..2 AI`s one carring other being carried and then like they get shoot and person being carried he fall and person who was carring fall down on ground :) i hope you understand me and know what i think :)

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому +1

      Hi! yes I understand what u mean.. frankly that is really complicated and beyond my capabilities atm.. but ill do my research and if im able to get that to work ill make a tutorial on it.. ill keep u posted :)

    • @DevilDog19921
      @DevilDog19921 10 років тому

      W Abuser Thank you man..i am trying to figure out that thing too if i find out how i will pass it to you.

  • @64will64
    @64will64 10 років тому +1

    thxs for the help you are brilliant man

  • @nigelelliott4049
    @nigelelliott4049 11 років тому +1

    I feel more educated. Please make more!

  • @izzytonixHD
    @izzytonixHD 9 років тому +1

    song of the intro ?

  • @welsh2266
    @welsh2266 10 років тому

    ive managed to get the animation working using waypoints mate. When i follow your trigger method my anims dont play. Im suing the playmove way like you. im looking at a briefing that starts when i enter the trigger mate.

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      ok no worries ill make 1 its simple.. it will be up soon

    • @william112004
      @william112004 10 років тому

      some animations work only with "switchmove" dont use "playmove" this is W Abuser

    • @william112004
      @william112004 10 років тому

      i am editing the video now should be ready in an hour or 2

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      hi! ok Ive done the tutorial checkout my latest video. or search "how to animate ai in arma 3 navigating chopper for landing" cheers!

  • @s1umerlinkropf
    @s1umerlinkropf 9 років тому

    Hi umm... i hope you can help me:
    when i copy and paste animations from the functions viewer, a lot of them just don't work. I get the messgae BIS_fnc_AmbientAnimgetParams animation set not recognized and the AI just stands still. Any idea how to solve that?

  • @고건우-w4q
    @고건우-w4q 11 років тому +1

    good

  • @ObzTicle
    @ObzTicle 9 років тому

    Any animation that I copy of the animation viewer has no effect on a character. Can anyone help?

  • @playe2222
    @playe2222 10 років тому

    I really need ur help,i want use this in multiplayer,but in this way some times work and sometimes not?u know y??

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      hi! some animation works with "switchmove" command and some with "playmove" just have to try which one works.

  • @RadiocookieGames
    @RadiocookieGames 9 років тому

    Is there a way to do this with the breaking point mod?

  • @zjajo697
    @zjajo697 9 років тому

    Everything works up to the point I am actually in control of the camera. I can move around using A, W, S, and D but as soon as I click RMB to point the camera a certain direction it reverts back to the unit and I lose camera view. Any idea why I can't turn the camera?

    • @XxKidnoffxX
      @XxKidnoffxX 8 років тому

      +The Phoenix No just hit * (numpad) to unlock the mouse...

    • @zjajo697
      @zjajo697 8 років тому

      +The Phoenix && +XxKidnoffxX
      Thanks, all your advice worked!

  • @derkonig1011
    @derkonig1011 10 років тому

    You know that the Animation (Control Vehicle) is buggy because the Soldier is walking UP, like on a small hill or somehting? ^^

  • @RinnzuRosendale
    @RinnzuRosendale 10 років тому

    how do you get 1 ai unit to do multiple animations in an order?

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      u can delay the next animation with the timer "min, mid and max" its in my other tutorial video :)

  • @peterhippo8556
    @peterhippo8556 7 років тому

    work this on dedicatet server ?

  • @renanfarias5747
    @renanfarias5747 8 років тому

    What name of the song in intro ?

  • @Specter820
    @Specter820 10 років тому

    nice tutorial but what is the name song?

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      1st song is from soundtrack of the battle of la and the second one is from another composer of in youtube ive asked permission from.. details of his channel in the description

  • @Archer_138
    @Archer_138 10 років тому

    Ehy bro i tried with triggers but nothing happens can u help me:/ or at least gimme some other way to do it

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      hi! it should work some animations work with "playmove" command while others "switchmove" dont forget to name the unit aswell triggers are the best way in my opinion. i have another video tutorial check it out hope it helps :)

  • @welsh2266
    @welsh2266 10 років тому

    That video you talk about is blocked in the UK mate. I can't watch it

  • @sovietgeneralartyom1459
    @sovietgeneralartyom1459 9 років тому

    i wished i could do this with in Zeus

    • @mhvdm
      @mhvdm 9 років тому

      +Military Munk You can in eden editor! Change you arma 3 to development mode in betas, and then click 3D editor in editor

    • @sovietgeneralartyom1459
      @sovietgeneralartyom1459 9 років тому

      alright thanks

  • @welsh2266
    @welsh2266 10 років тому

    Ive read somewhere that while in animation, the ai cant be killed but i forgot the code we put in the init to allow us to kill them. can anyone jog my memory please? cheers

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      "this setDamage 1" but that is a script kill though probably not what ur looking for

  • @MXAlpha
    @MXAlpha 10 років тому

    why do my guys on my animation float like 1/2 a meter up?

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      u can set the elevation for the ai in the editor... though some animation has that as a part of animation e.g climbing ladders or sitting on a high crate ect.

    • @MXAlpha
      @MXAlpha 10 років тому

      well i did the inspecting vehicle type animation and as he walks he raises up in the air and as he wakes back again he lowers down

  • @michaelstratton1936
    @michaelstratton1936 10 років тому

    I get "type array get nothing"

  • @Santiago5300
    @Santiago5300 10 років тому

    Not all animations do: (
    Sorry for my english

  • @Dima____
    @Dima____ 9 років тому +1

    its not work :(
    by: [name, "ANIMATION NAME", "ASIS"] call BIS_fnc_ambientanim;
    arma say: animation set not recognized! .
    and by: name playmove "ANIMATION NAME"
    nothing happand.

  • @Corchopaning
    @Corchopaning 8 років тому

    Animation set not recognised

  • @enterchannelname2508
    @enterchannelname2508 8 років тому

    npc is invisable :/

  • @iGame360fficial
    @iGame360fficial 9 років тому

    Doesn't work.

    • @caelb9764
      @caelb9764 9 років тому

      +iGame360fficial Yeah, it appears this a tad outdated.

    • @DropdeadGamingLive
      @DropdeadGamingLive 9 років тому

      +iGame360fficial it works fine. (for me at least.)

    • @PlayToyDOA
      @PlayToyDOA 8 років тому

      Supposed to look more like this now ( [man1,"GUARD"] call BIS_fnc_ambientAnim; )

  • @elan.s1561
    @elan.s1561 8 років тому

    Lol his name wife abuser? Suspisy

  • @welsh2266
    @welsh2266 10 років тому +2

    Very good video mate. Can I ask you to make a tutorial showing us how to set up a vehicle check point with these animations & how to get a AI to call a chopper to land like they did in the campaign? Is it possible to give AI wps with animations? Please keep videos like this coming mate. Thank you for sharing it with us

    • @AbuserFilmsHD
      @AbuserFilmsHD  10 років тому

      thanks man! yes its simple insert a unit give him a name and insert a trigger set it to true and put this inactivation "name playmove"Acts_NavigatingChopper_Loop";" should work u can see animation list in the animation viewer. wat u mean by "wps" weapons?