I think he means in a mod map.
In this aprt of your map's Lua:
SetupTeams{
all = {
team = ALL,
units = 20,
reinforcements = 150,
soldier = { "orep_inf_rifleman",9, 25},
assault = { "orep_inf_rocketeer",1,4},
engineer = { "orep_inf_engineer",1,4},
sniper = { "orep_inf_sniper",1,4},
officer = { "orep_inf_officer",1,4},
special = { "orep_inf_merc",1,4},
There is as you should see:
units = 20,
Change that to say... 40 However, do you also see:
soldier = { "orep_inf_rifleman",9, 25},
As you can see, there are two numbers after the unit name, the first one, is the minimum number of AI that will spawn as that unit type.
The second is the maximum Ai that will spawn as that class.
If you raise the unit count, you should also increase the second number so that the count of all the unit's in that side's second number is equal too, or above the spawn number you set.