Page 1 of 1

Unit Amount Problem [Solved]

Posted: Sat May 12, 2007 4:42 pm
by Chamboozer
To make more units spawn on the map at one time, you need to change the Highlighted areas in the LUA, right? Well, I changed them, and there's only 16 units on the map, what have I done wrong?

SetupTeams{
rep = {
team = REP,
units = 100,
reinforcements = 500,
soldier = { "rep_inf_ep2_rifleman",80, 90},
assault = { "rep_inf_ep2_rocketeer",1, 4},
engineer = { "rep_inf_ep2_engineer",1, 4},
sniper = { "rep_inf_ep2_sniper",10, 15},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep2_jettrooper_sniper",1, 4},

RE: Unit Amount Problem

Posted: Sat May 12, 2007 6:35 pm
by Darth_Z13
Maybe because the max unit count you set is 100 but the max unit count for the individual units add up to 121? :?

Re: Unit Amount Problem

Posted: Sat May 12, 2007 6:46 pm
by AceMastermind
Chamboozer wrote:To make more units spawn on the map at one time, you need to change the Highlighted areas in the LUA, right? Well, I changed them, and there's only 16 units on the map, what have I done wrong?
You might also want to add this to the LUA for that many units to spawn:

Code: Select all

SetUberMode(1);

RE: Re: Unit Amount Problem

Posted: Sat May 12, 2007 6:53 pm
by Chamboozer
SetUberMode(1);
Add that where? Anywhere?

Where to put SetUberMode(1); in the LUA

Posted: Sat May 12, 2007 6:58 pm
by AceMastermind
Add it under the:

Code: Select all

 function ScriptPostLoad()
section
like this:

Code: Select all

conquest:Start()
SetUberMode(1); --Added this line
EnableSPHeroRules()

Posted: Sat May 12, 2007 7:16 pm
by Chamboozer
Thanks to all of you, It works now. This solves my balancing issues now rofl. (fighting the automatic artillery with 16 units was a bloodbath for the republic)