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 Жыл бұрын
Good to see you uploading again!
@FrankieHustla Жыл бұрын
Subscribed for 6 years, wow, thanks for stickin' around
@blackfalco33 Жыл бұрын
Hey man you are bringing up nice content!! Are you also gonna do some videos about useful scripts for animations / cinematics ? Thanks! 😄💪🏻🤝
@FrankieHustla Жыл бұрын
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 Жыл бұрын
@@FrankieHustla Thanks man! I'll have a look in it! :D
@spacewargamer41817 ай бұрын
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...
@FrankieHustla6 ай бұрын
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.
@spacewargamer41816 ай бұрын
@@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. 🙂
@dragz4life422 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 👍