Add more bots (solved)

Started by Darth_Sion, June 21, 2018, 02:37:23 PM

Previous topic - Next topic
June 21, 2018, 02:37:23 PM Last Edit: June 22, 2018, 01:39:28 AM by Darth_Sion
Hi,
I want to have more bots on my map i edit the lua files but the number don't change,
set reinforcements and set the classes works but the number of bots don't work :

imp = {
         team = IMP,
         units = 92,
         reinforcements = 680,
         soldier   = { "imp_inf_rifleman",30, 40},
         assault   = { "imp_inf_rocketeer",10,10},
         engineer = { "imp_inf_engineer",25,25},
         sniper   = { "imp_inf_sniper",10,10},
         officer   = { "imp_inf_officer",2,2},
         special   = { "imp_inf_dark_trooper",3,5},
      },
   }
   
    AddUnitClass(IMP, "imp_inf_marine",10,10)


-It's the nearly settings I want (+/-) (more or less, I don't care but more than 32,yes)
-On BF2
-if there is somethings else to edit
-Thanks if you can help me or redirect me to a link I perhaps missed,...

Is this for Multi Player or Single Player?
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet


I believe you need to call `SetUberMode(1)` before `SetupTeams` in order to get more than 32 AI per team in SWBFII.

Yeh it works thanks.  :cheer: