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},
Unit Amount Problem [Solved]
Moderator: Moderators
-
Chamboozer
- Rebel Colonel

- Posts: 604
- Joined: Sat Apr 16, 2005 4:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
RE: Unit Amount Problem
Maybe because the max unit count you set is 100 but the max unit count for the individual units add up to 121? 
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Unit Amount Problem
You might also want to add this to the LUA for that many units to spawn: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?
Code: Select all
SetUberMode(1);-
Chamboozer
- Rebel Colonel

- Posts: 604
- Joined: Sat Apr 16, 2005 4:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Re: Unit Amount Problem
Add that where? Anywhere?SetUberMode(1);
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Where to put SetUberMode(1); in the LUA
Add it under the:
section
like this:
Code: Select all
function ScriptPostLoad()like this:
Code: Select all
conquest:Start()
SetUberMode(1); --Added this line
EnableSPHeroRules()-
Chamboozer
- Rebel Colonel

- Posts: 604
- Joined: Sat Apr 16, 2005 4:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
