MechSlayer 18 Posted October 19, 2019 I need to spawn around 700 units, does anyone know a fast method to do this? Tried a for loop but after hitting 100 units it starts to spawn way too slow. I'm spawning them serverside. Thanks. Share this post Link to post Share on other sites
Twiznak 57 Posted November 28, 2019 Hello, I make missions! https://steamcommunity.com/sharedfiles/filedetails/?edit=true&id=1922552989 this is a mission type I made that CAN spawn 800,000+ units. if you want a custom mission on a specific map, let me know. Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 28, 2019 Why not 800,000,000+? 3 Share this post Link to post Share on other sites
Maff 251 Posted November 28, 2019 (edited) 27 minutes ago, killzone_kid said: Why not 800,000,000+? You aim TOO LOW, kid! On 10/19/2019 at 7:37 AM, MechSlayer said: I need to spawn around 700 units. Need or want? You may have better luck / performance spawning units / groups in dribs and drabs. 18 hours ago, Twiznak said: this is a mission type I made that CAN spawn 800,000+ units. I want, no need, to check this out. ~ 11GB worth of mods. I'll take your word for it. I am out. Edited November 28, 2019 by Maff Outrage. 1 2 Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted November 29, 2019 8 hours ago, killzone_kid said: Why not 800,000,000+? Maybe he mistook units with credits or similar. Or his usage of units is different, if you fire 6k units per second... hmmmm. Cheers 1 Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 29, 2019 Maybe if you have 56 core Xeon 1 Share this post Link to post Share on other sites
phronk 904 Posted November 29, 2019 Bill Gates' quantum CPU may set his mansion on fire trying this. How're you spawning units and why does it need to be 700? The most I've spawned was a little over 600 but they were agents, not units. You will not be able to effectively run hundreds of simulated units. This is for a few reasons: 1) Units require groups. Arma had a hard limit of 144 groups (Or is it 256?) 2) Units utilize more FSMs 3) Units process targets and generate stuff like KnowsAbout/TargetKnowledge 4) Units can fixate on targets and use weapons, agents can only lookAt / glanceAt 5) And more that I can't remember off the top of my head With that said, you may want to look into dynamic spawning mods/scripts like EOS, ALiVE, etc. otherwise your mission will literally freeze and crash everytime you try to spawn too many units. If you're doing a zombie or civilian thing, definitely go with agents instead of units for more freedom and better performance. 1 Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 29, 2019 Just now, phronk said: Units require groups. Arma had a hard limit of 144 groups (Or is it 256?) 288 per side and it doesn't matter because you can have multiple units in the same group Share this post Link to post Share on other sites
phronk 904 Posted November 29, 2019 Has it always been 288? I don't recognize that limit at all lol (Not doubting it, its been a while) You could have more than 1 unit per group, but it'll really struggle going beyond 400 units. When you have hundreds of units taking cover, communicating with eachother, scanning for/engaging targets, moving in formation, etc. it really bogs the performance. Agents are basically braindead and limited with what you can do with them (They cannot engage targets with weapons). Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 29, 2019 3 minutes ago, phronk said: Has it always been 288 https://community.bistudio.com/wiki/createGroup 1 Share this post Link to post Share on other sites