Jump to content

Recommended Posts

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
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 by Maff
Outrage.
  • Like 1
  • Haha 2

Share this post


Link to post
Share on other sites
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

  • Like 1

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites
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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×