ArmaPhronk
ArmaPhronk
  • 179
  • 939 990
Optimizing Arma 08 - Different Types of AI
Explaining/rambling about the differences between createUnit, createAgent, createVehicle, and createVehicleLocal. Be smart about what type of AI you spawn in your missions and it'll perform better and improve stability, if done right. Sorry for horrible quality, this video editing program ruined the 1440p quality clips...
Here's a list of all script commands available in Arma 3:
community.bistudio.com/wiki/Category:Arma_3:_Scripting_Commands
And here's a list of all these script commands, but categorized:
community.bistudio.com/wiki/Category:Scripting_Commands_by_Functionality
To get an agent to move, remember to set: this disableAI "FSM"; on the agent.
The clips used are all from missions I'm working on -- some released, such as the Takistan Insurgency mission:
1) The SOG content will be on the TFR Mike Force server "soon" once a few bugs are fixed.
2) The Takistan clips are a mix of Takistan Insurgency and my "TWAT" mission which is still a WIP, hence why there's less activity.
3) The zombie clips are from a buggy hobby project I also work on here and there.
4) The movie theatre was just a random test clip I left in.
5) The AI stacking up on a door and room-clearing was an old proof-of-concept to get AI to clear rooms a bit more realistically and effectively, but it's too much work and their pathing barely exists indoors.
6) The Altis clips are all from my Altis Insurgency mission; not yet released but maybe someday.
This is my first attempt at editing a video using an ancient program VEGAS Movie Studio 13 Platinum. Lemme know if it sucks and if you prefer them unedited. (10 mins of talking though, you sure you wanna stare at the editor?)
zhlédnutí: 1 287

Video

How to Disable Map Textures and Cursor Coords/Elev | Arma 3
zhlédnutí 671Před rokem
How to Disable Map Textures and Cursor Coords/Elev | Arma 3
How to Make a Basic Mission Intro | Arma 3
zhlédnutí 1KPřed rokem
How to Make a Basic Mission Intro | Arma 3
How to Auto Export Mission to MP | Arma 3
zhlédnutí 182Před rokem
How to Auto Export Mission to MP | Arma 3
How to Auto Save/Load Your Loadout | Arma 3
zhlédnutí 1KPřed rokem
How to Auto Save/Load Your Loadout | Arma 3
Back in Business
zhlédnutí 472Před 3 lety
Back in Business
Debug Console | Arma 3
zhlédnutí 21KPřed 4 lety
Debug Console | Arma 3
How To Add Image To Object | Arma 3
zhlédnutí 16KPřed 4 lety
How To Add Image To Object | Arma 3
Optimizing Arma 07 - enableAI
zhlédnutí 1,3KPřed 5 lety
Optimizing Arma 07 - enableAI
Optimizing Arma 06 - while vs waitUntil
zhlédnutí 1,5KPřed 5 lety
Optimizing Arma 06 - while vs waitUntil
Combat Realism Scripts Breaching Charge | Arma 3
zhlédnutí 2,2KPřed 5 lety
Combat Realism Scripts Breaching Charge | Arma 3
Optimizing Arma 05 - setSpeaker
zhlédnutí 770Před 6 lety
Optimizing Arma 05 - setSpeaker
Optimizing Arma 04 - AttachTo vs ModelToWorld
zhlédnutí 1,1KPřed 6 lety
Optimizing Arma 04 - AttachTo vs ModelToWorld
Weird Object Render Bug
zhlédnutí 340Před 6 lety
Weird Object Render Bug
Help me help YOU
zhlédnutí 1KPřed 6 lety
Help me help YOU
I Called It! Tank Interiors!!! | Arma 3
zhlédnutí 2,1KPřed 6 lety
I Called It! Tank Interiors!!! | Arma 3
Insurgency Civilian Interactions | Arma 3
zhlédnutí 3,2KPřed 6 lety
Insurgency Civilian Interactions | Arma 3
Optimizing Arma 03 - "can_collide" | Arma 3
zhlédnutí 1,2KPřed 6 lety
Optimizing Arma 03 - "can_collide" | Arma 3
Phronk's Furniture (Furniture Spawn Script) | Arma 3
zhlédnutí 7KPřed 6 lety
Phronk's Furniture (Furniture Spawn Script) | Arma 3
Tank Interiors Confirmed in Arma 3 DLC? | Arma 3
zhlédnutí 872Před 6 lety
Tank Interiors Confirmed in Arma 3 DLC? | Arma 3
How To Install AFAR | ArmA 3
zhlédnutí 4KPřed 6 lety
How To Install AFAR | ArmA 3
Flashbang Script | Arma 3
zhlédnutí 2,5KPřed 6 lety
Flashbang Script | Arma 3
Combat Realism Scripts | Arma 3
zhlédnutí 31KPřed 7 lety
Combat Realism Scripts | Arma 3
Goat Rider | Arma 3
zhlédnutí 695Před 7 lety
Goat Rider | Arma 3
How To Incapacitate AI Units | Arma 3
zhlédnutí 3,6KPřed 7 lety
How To Incapacitate AI Units | Arma 3
How To Run Mods On Server | Arma 3
zhlédnutí 12KPřed 7 lety
How To Run Mods On Server | Arma 3
Golden Sunrise Hotel (One Man Army) ★★★ | Door Kickers
zhlédnutí 90Před 7 lety
Golden Sunrise Hotel (One Man Army) ★★★ | Door Kickers
Bomb Defusal Training (Perfect) ★★★ | Door Kickers
zhlédnutí 406Před 7 lety
Bomb Defusal Training (Perfect) ★★★ | Door Kickers
Lakeview Residence ★★★ | Door Kickers
zhlédnutí 275Před 7 lety
Lakeview Residence ★★★ | Door Kickers
Luigi meets Luigi (One Man Army) ★★★ | Door Kickers
zhlédnutí 41Před 7 lety
Luigi meets Luigi (One Man Army) ★★★ | Door Kickers

Komentáře

  • @andresamil9544
    @andresamil9544 Před 7 dny

    Hi, I don´t have the Battle editor on my menu, why is that? thanks

  • @irishbigdan38
    @irishbigdan38 Před měsícem

    Still using Alive in 2024 and loving it

  • @alenbenny2860
    @alenbenny2860 Před měsícem

    my map there is only white mouse cursor, i can't select items or draw, plz help. in your video there is also the white cursor, but it change to red square, how u doin that?

  • @ArturoSiraRodriguez
    @ArturoSiraRodriguez Před měsícem

    the link does not work

  • @JasonNight-xc2ud
    @JasonNight-xc2ud Před 2 měsíci

    czcams.com/video/KJoYaUzxwHE/video.html Im frustrated at the game so...what am I doing wrong?

  • @VietnamWarSummarized
    @VietnamWarSummarized Před 3 měsíci

    2024 Approved

  • @dieselshot9768
    @dieselshot9768 Před 3 měsíci

    Was there ever a followup?

  • @jtaalib
    @jtaalib Před 3 měsíci

    Quick question: I'm using a 800x800 image and it presents horizontally stretched, how can I fix this? Thank you for sharing the tutorial mate :)

    • @FrankieHustla
      @FrankieHustla Před 3 měsíci

      I'd recommend 512x512 or 1024x1024, or you can try 512x1024 or 1024x512. The surface you put the image on may also distort the image, depending on whether its evenly sized.

    • @jtaalib
      @jtaalib Před 3 měsíci

      @@FrankieHustla reworked the image, thank you for the quick response. issue sorted!

  • @6komodo6
    @6komodo6 Před 3 měsíci

    dope AF ty

  • @spacewargamer4181
    @spacewargamer4181 Před 3 měsíci

    0:42 WAIT WHAT? That exists for every command?!

  • @spacewargamer4181
    @spacewargamer4181 Před 3 měsíci

    createAgent have a note in the community wiki that says that they could use more resources than Normal AI because apparently they(and the player characters) have more physics and collisions than normal AI lol 8:44 Maybe that note was right...

    • @FrankieHustla
      @FrankieHustla Před 3 měsíci

      The wiki has a lot of outdated information and the community will often regurgitate incorrect information. Agents actually have less collisions; this can be proven by using the setDestination command and use the "LEADER DIRECT" parameter, which makes the agent path from point A to point B while ignoring collisions. Additionally, I have a mission that can handle around 600 agents with about 20 units at 120 FPS. Not possible with units since units have a lot more behaviors. There's a lot of reasons why agents are better for performance, the biggest drawbacks with them is that they do not always execute commands when told to and cannot target things. They're really just meant for being civilians, animals, or basic AI at a base.

    • @spacewargamer4181
      @spacewargamer4181 Před 3 měsíci

      @@FrankieHustla Well, it have correct information more ofter than not imo, it was one of the first resources that I used and most of the time it have worked for me, not saying thats perfect tho, its far from it. I don't understand why Bohemia doesn't do one themselfs that said. Anyway thanks for the information, I will take it in consideration and thanks for teaching others about how to use this marvelous editor. 🙂

  • @t77zudic
    @t77zudic Před 3 měsíci

    Lol I used Ace for so long I didn't know the gas station just does it for you without the mod. Thanks I was walking circles around the gas station forever trying to figure it out.

  • @alonsoquijano9555
    @alonsoquijano9555 Před 3 měsíci

    is it possible adding a youtube video to a screen?

    • @FrankieHustla
      @FrankieHustla Před 3 měsíci

      I've seen A3PL (Arma life project or w/e) do it but they had an extension assist with it. Technically it is possible but requires some programming knowlege of APIs I think.

    • @alonsoquijano9555
      @alonsoquijano9555 Před 3 měsíci

      @@FrankieHustla interesting, thanks for the answer. Nice videos, by the way.

  • @alonsoquijano9555
    @alonsoquijano9555 Před 3 měsíci

    wow, with this radio you can call from afar;)

  • @barccy
    @barccy Před 3 měsíci

    Good to see it's getting more attention. Sorry to hear it has been such a pain. Just modifying configs that I already understand can drive me crazy if done long enough. Hours at a time innovating must be horrid.

  • @JustARandomGuyPassingByHere

    Damn, it's crazy to think that 2 years have passed already since your last stream, time really flies. Are you still working on Arma 3 stuff?

  • @Liquid_Atlas
    @Liquid_Atlas Před 4 měsíci

    Hi, does this work on 'PC set (Screen)'? Asking because when I try this, the screen just goes all white, no image. Also does the image have to have specific dimensions? The image im trying to use is 1920x1080 pixels. Good video thx!

    • @FrankieHustla
      @FrankieHustla Před 4 měsíci

      Dimensions should be 32x32, 64x64x, 128x128, 256x256, 512x512x, 1024x1024, etc etc (Usually no need to go above 1024)

    • @Liquid_Atlas
      @Liquid_Atlas Před 4 měsíci

      @@FrankieHustla What dimensions would you reccomend for something simple like the 'PC set (Screen)' object?

    • @Liquid_Atlas
      @Liquid_Atlas Před 4 měsíci

      @@FrankieHustla Hey, thanks for the reply. I hate to pester you further, but I tried a 1024x1024 pixel .jpg image on the 'PC set (Screen)' and still it was blank white. Do you know why this might be? It is for a singleplayer mission. I have not edited the init or variable name of the object. Nothing was edited, just the 'object specific' options at the very bottom to the image.jpg.

  • @frozenar
    @frozenar Před 5 měsíci

    is there a way to enable/disable these while in game? I'm hosting an antistasi ultimate game and I don't seem to be able to get rid of these

  • @yolosweg4750
    @yolosweg4750 Před 6 měsíci

    THX

  • @Zunzik
    @Zunzik Před 6 měsíci

    Any chance on a more advanced intro tutorial?

    • @FrankieHustla
      @FrankieHustla Před 6 měsíci

      ArmaIdiot has some good videos on making cinematics and intros (And good vids in general). I'm starting to move onto other things like Unity. I might make more videos in the future but no ETA.

  • @choupix93110
    @choupix93110 Před 9 měsíci

    the sound start just 1 time and it stop :(

  • @neallindsey4782
    @neallindsey4782 Před 9 měsíci

    does this work with ace arsenal?

  • @noname2031-w5r
    @noname2031-w5r Před 9 měsíci

    you suck at making videos explaining how to do things.

  • @alexanderroll2063
    @alexanderroll2063 Před 10 měsíci

    Brother Thank You!!!!

  • @stickmanunivers5si9d
    @stickmanunivers5si9d Před 10 měsíci

    excuse me why i dont have module icon like you

  • @SetchiPaunda
    @SetchiPaunda Před 10 měsíci

    thanks !!! worked perfectly for my "shoot from vehicle" mission.

  • @clementkong8133
    @clementkong8133 Před 11 měsíci

    I have no idea but at some point of the mission editing, the modules have no effect (i.e: doesn’t work). Don’t know if it’s because there’s a limit to the number of times the module can be used, or if it’s because of some of the other mods i have that’s interfering

    • @FrankieHustla
      @FrankieHustla Před 11 měsíci

      All modules are buggy garbage that barely work in multiplayer, I prefer to script everything from scratch instead; the modules are designed for singleplayer. Some modules work OK in multiplayer, like Game Master for Zeus, but things like the Support modules will not work as intended and has always been that way. TL;DR: Don't use vanilla modules, find scripts/mods that do what you want instead.

  • @flare242
    @flare242 Před rokem

    Is there a way to open the console during being in a SP scenario, i.e.WLA? I just need to enter one measly command, but spent like half an hour trying to google HTF am i supposed to open the command console, and no luck.

  • @Reticuli
    @Reticuli Před rokem

    Will this knock a building's lights out?

  • @dragz4life422
    @dragz4life422 Před rokem

    👍

  • @dragz4life422
    @dragz4life422 Před rokem

    awesome video dude, been using createAgent for my ambient units doing ambient animations. did not know there were alternatives like createVehicleLocal, definitely going to start using that instead. if I remoteExec createVehicleLocal with JIP enabled, would there be any downside? is it better in terms of performance? or should I just ultimately use createVehicle so that all players can see the same stuff

    • @FrankieHustla
      @FrankieHustla Před rokem

      I'd recommend just using createVehicle if they need to be global anyway. However, I have local triggers in my Takistan mission that use createVehicleLocal, so that AI populate the area the player is in locally. An approach like that would be fine. Maybe I'll do a video on it when I have the time.

    • @dragz4life422
      @dragz4life422 Před rokem

      yeah i figured createVehicle would be a better option since I'm making them global anyways.. just was curious if it'd offload stuff from the server to the clients. cheers, noticing an increase of 5-10 fps compared to createAgent@@FrankieHustla 👍

  • @080danny
    @080danny Před rokem

    Hey I have a question i created a scenairio for single player and it wont let me resume after i save and exit what would be a good fix for that ?

    • @FrankieHustla
      @FrankieHustla Před rokem

      I don't really mess with singleplayer missions. As far as I know, the default saving won't save any scripted variables (I could be wrong, never made a serious singleplayer mission) so that'd have to be done separately.

  • @OTOUFU-im7nk
    @OTOUFU-im7nk Před rokem

    Thanks from jpn

  • @jdzzl
    @jdzzl Před rokem

    This game was so far ahead of its time

  • @kajjyn6046
    @kajjyn6046 Před rokem

    The ending caught me unprepared XD

  • @FrankieHustla
    @FrankieHustla Před rokem

    I forgot to mention in this video that createSimpleObject is the best for performance of them all, but only for creating a static object -- not an AI -- such as furniture or other inanimate objects.

  • @connorhinde
    @connorhinde Před rokem

    Good to see you uploading again!

    • @FrankieHustla
      @FrankieHustla Před rokem

      Subscribed for 6 years, wow, thanks for stickin' around

  • @blackfalco33
    @blackfalco33 Před rokem

    Hey man you are bringing up nice content!! Are you also gonna do some videos about useful scripts for animations / cinematics ? Thanks! 😄💪🏻🤝

    • @FrankieHustla
      @FrankieHustla Před rokem

      I don't have any fancy cinematic scripts of my own but I'd recommend ArmaIdiot, its an old dead channel but has good info and helped me get into scripting -- he has a video or two on cinematic stuff.

    • @blackfalco33
      @blackfalco33 Před rokem

      @@FrankieHustla Thanks man! I'll have a look in it! :D

  • @JustARandomGuyPassingByHere

    Glad to see you back in arma, still kicking. Do you plan to update your workshop versions of furniture and radio scripts? I think I remember you adding some extra stuff to your furniture script but it's not on workshop yet afaikr, right?

    • @FrankieHustla
      @FrankieHustla Před rokem

      I plan on updating both -- the radio script got updated about a week ago. May work on adding a relay/retrans site system eventually for the next update. Or I'll just convert it into an addon and do that later. The furniture script has a ton of new additions and changes to it for a few missions I've been working on, but I haven't finished it enough to want to release it. There's a pretty good fix included, too. No ETA.

    • @JustARandomGuyPassingByHere
      @JustARandomGuyPassingByHere Před rokem

      @@FrankieHustla I also remember you showing a custom version of ambient civ script on one of your streams, the one that had civilians standing on the balconies etc. I think you've said it's not super optimised but damn, it looked very impressive and immersive. Do you plan to release it oneday maybe? :> And, please, keep updated script version of your radio too, for vanilla boys. If it's possible of course

    • @FrankieHustla
      @FrankieHustla Před rokem

      I may show off some more stuff like that I'm doing for my group's Mike Force mission (TFR Mike Force Server, system not yet in the mission but will be soonish). Not sure when it'll be ready for a public release since I have a bunch of fixes and additions to do, but it's already got more features than pretty much every other civilian script out there. The script version of the radio will always be supported; the separate addon version will eventually be released due to being the top request.

  • @lDominicl
    @lDominicl Před rokem

    Wow! Thanks for the upload. I have an idea for a game - would you like to make it?

  • @Warhammer_Actual
    @Warhammer_Actual Před rokem

    (CZcams doesn't let me copy & paste the code here, sorry; you'll have to copy what you see in the video) You could always add a dropbox link or something similar, if you were so inclined .

    • @FrankieHustla
      @FrankieHustla Před rokem

      My Google Drive/Dropbox is getting full, so I put a link to a PasteBin which lets you copy & paste the code. Thanks for the suggestion.

  • @dansullivan8
    @dansullivan8 Před rokem

    Saves as "name.ext.txt" for me.

    • @FrankieHustla
      @FrankieHustla Před rokem

      You need to select the "All Files..." dropdown when you save as .ext

  • @danielstastny4797
    @danielstastny4797 Před rokem

    Amazing bro like !!

  • @gigabytegallery7305

    Out of all the hours I put in to Arma & I am still a horrible pilot. My friend be like: "It's nothing to worry about, I'm sure you'll get the hang of this soon" Me: (* Instantly flips the helicopter upside down *)

  • @Klerm
    @Klerm Před rokem

    ty bro!

  • @blackfalco33
    @blackfalco33 Před rokem

    Thanks !

  • @ayushmankundu14
    @ayushmankundu14 Před rokem

    Even after using the command...AI drivers wont go beyond 140-150 kph...is there any way to solve this? I am trying to set up a racing scenario with AI civilian drivers...

  • @Iccabod1
    @Iccabod1 Před rokem

    I'm looking for something like this, but more on the lines of trigger activated AI troop movements and attacks. As the players are moving down the map and it's one attacking group after another as they move thought the map. I might be asking a dumb question, but I'm not sure how to make this work.

    • @FrankieHustla
      @FrankieHustla Před rokem

      Not sure if I fully understand what you want, but you can create triggers to activate when player(s) enter it, then sync the trigger to an AI group waypoint -- the AI wont move until the trigger is activated. Also been a long time since I messed with triggers and sync but its along those lines.

  • @dennyfrontier
    @dennyfrontier Před rokem

    Can you do this for base game missions like escape from tanoa?

  • @Zhasik_
    @Zhasik_ Před rokem

    Hey, Phronk! As i remember, there is some lines of code, that remove BIS logo from vehicles which is simple object. But I cannot find stream, where you did this. Could i ask for code?

    • @FrankieHustla
      @FrankieHustla Před rokem

      (6 months late but oh well) You can find all the selections on a vehicle using the "selectionNames" script command. Usually, the "clan" or "insignia" selection is what would display the player's clan logo or unit insignia. Here's a quick untested example how to find it in one line of code: this setObjectTextureGlobal [ ( ( selectionNames this ) find "clan" ) , "" ]; //Hide's the clan logo on vehicle I'd recommend adding a "GetIn"/"GetOut" eventHandler to the vehicle or a "GetInMan" / "GetOutMan" eventHandler to each player, then add that code. If in an eventHandler, replace "this" with "this # 0" instead, without the quotes.