Page 1 of 1

unitsunitsunits....

Posted: Thu Sep 20, 2007 12:39 pm
by Bantha55
i´m sure this question was asked many times before but i can´t find the thread :mrgreen:

How can i make that there are more units on the battlefield?

thanks for help

Re: unitsunitsunits....

Posted: Thu Sep 20, 2007 12:47 pm
by Commander_Cody771
When you are setting up your maps, on the left you will see many selections such as: Hero, Assault and one of them will be Conquest. you can set the unit amount. Be sure when you are done, to click Session. :wink:

Re: unitsunitsunits....

Posted: Thu Sep 20, 2007 3:12 pm
by Caleb1117
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.

Re: unitsunitsunits....

Posted: Fri Sep 21, 2007 7:45 am
by Bantha55
thanks,but i have already done this....i´m cleaning...

Re: unitsunitsunits....

Posted: Fri Sep 21, 2007 9:12 am
by Caleb1117
How High did you set the count?
If you set it above a certain ammount, you need to add some extra code to the lua.

Re: unitsunitsunits....

Posted: Fri Sep 21, 2007 9:15 am
by FragMe!
Just what I was going to say did you add the uber line? Add it in the location shown.

Code: Select all

SetUberMode(1);
    ReadDataFile("ingame.lvl")
    
    --  REP Attacking (attacker is always #1)
    local REP = 1
    local CIS = 2