Page 1 of 1

Trooper count on a single CP

Posted: Sun Mar 18, 2007 5:15 pm
by Jawa_Killer
is there a way how to set up a certain count of troopers, spawning on a single CP? as i don't want 50% of my troops spawning on a CP that is just secondary and not primary (where most of troopers are needed) i remembered anywhere a value for "unit count" or sth like that..........or if not how to set up in the .lua file? thx for reply :)

Adjusting how many units spawn at a CP in ZE

Posted: Sun Mar 18, 2007 5:31 pm
by AceMastermind
In ZE, click on whatever CP that you want to adjust, then go to the
  • Object Instance
on the right side of the screen and page down all the way until you see
  • AISpawnWeight
and enter whatever numbers you want in the blank for AI to spawn there.
I'm not sure if the numbers represent weight percentages or the actual number of units spawning though.
You'll just have to play around with it and see.

0 = no AI spawn

Posted: Sun Mar 18, 2007 6:27 pm
by RC-1290
You can also adjust this with objectives in the lua

Posted: Wed Mar 21, 2007 5:38 pm
by Qdin
I see.

Is that AISpawnWeight defined in numbers?

if so, what are the limits? if it's from 0-100 I'd presume it will focus in %'s :D lol (obvious, I know :roll: )

And if you change the weight for spawning at i.e. CP1... does it affect all the other's? O.o so if you make CP2 to have full value, does it then subtract from the other CP's? :)