i make a map with ~50 vehicles and want 50 bots for each side.
when i test it with this 110 bots the map work.
when i put a few vehicles on the map it work too, but when i put all vehicles on the map the game crash.
when only 35 bots for each team spawn it works with all vehicles.
What can i do, to set all vehicles and the 55 bots for each team on the map?
here is my mission lua:
ReadDataFile("sound\\geo.lvl;geo1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_basic",
"rep_fly_jedifighter",
"rep_fly_gunship",
"rep_walk_atte",
"rep_inf_jet_trooper",
"rep_inf_macewindu")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_basic",
"cis_fly_droidfighter",
"cis_tread_hailfire",
"cis_walk_spider",
"cis_hover_aat",
"cis_inf_countdooku",
"cis_inf_droideka")
--ReadDataFile("dc:SIDE\\gam.lvl",
-- "gam_inf_gamorreanguard")
SetAttackingTeam(ATT);
-- Republic Stats
SetTeamName(REP, "Republic")
SetTeamIcon(REP, "rep_icon")
AddUnitClass(REP, "rep_inf_clone_trooper",25)
AddUnitClass(REP, "rep_inf_arc_trooper",0)
AddUnitClass(REP, "rep_inf_clone_pilot",0)
AddUnitClass(REP, "rep_inf_clone_sharpshooter",0)
AddUnitClass(REP, "rep_inf_jet_trooper",0)
SetHeroClass(REP, "rep_inf_macewindu")
-- CIS Stats
SetTeamName(CIS, "CIS")
SetTeamIcon(CIS, "cis_icon")
AddUnitClass(CIS, "cis_inf_battledroid",25)
AddUnitClass(CIS, "cis_inf_assault",0)
AddUnitClass(CIS, "cis_inf_pilotdroid",0)
AddUnitClass(CIS, "cis_inf_assassindroid",0)
AddUnitClass(CIS, "cis_inf_droideka",0)
SetHeroClass(CIS, "cis_inf_countdooku")
-- Attacker Stats
SetUnitCount(ATT, 25)
SetReinforcementCount(ATT, 350)
-- AddBleedThreshold(ATT, 31, 0.0)
-- AddBleedThreshold(ATT, 21, 0.75)
AddBleedThreshold(ATT, 11, 0.75)
AddBleedThreshold(ATT, 10, 1.5)
AddBleedThreshold(ATT, 1, 3.0)
-- Defender Stats
SetUnitCount(DEF, 25)
SetReinforcementCount(DEF, 350)
-- AddBleedThreshold(DEF, 31, 0.0)
-- AddBleedThreshold(DEF, 21, 0.75)
AddBleedThreshold(DEF, 11, 0.75)
AddBleedThreshold(DEF, 10, 1.5)
AddBleedThreshold(DEF, 1, 3.0)
-- Local Stats
-- SetTeamName(3, "locals")
-- AddUnitClass(3, "gam_inf_gamorreanguard",3)
-- SetUnitCount(3, 3)
-- SetTeamAsEnemy(3, ATT)
-- SetTeamAsEnemy(3, DEF)
-- Level Stats
ClearWalkers()
SetMemoryPoolSize("EntityWalker",
AddWalkerType(0,
AddWalkerType(2, 4) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 4) -- 2 attes with 3 leg pairs each
SetMemoryPoolSize("CommandWalker", 4)
SetMemoryPoolSize("EntityHover", 11)
SetMemoryPoolSize("EntityFlyer", 43)
SetMemoryPoolSize("FlyGotoHelper", 64)
SetMemoryPoolSize("EntityBuildingArmedDynamic", 16)
-- SetMemoryPoolSize("EntityTauntaun", 0)
SetMemoryPoolSize("MountedTurret", 100)
SetMemoryPoolSize("SoundSpaceRegion", 81)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetMemoryPoolSize("Aimer", 400)
SetMemoryPoolSize("Obstacle", 725)
SetSpawnDelay(10.0, 0.25)
ReadDataFile("dc:dra3\\dra3.lvl")
SetDenseEnvironment("true")
--AddDeathRegion("Sarlac01")
--SetMaxFlyHeight(90)
--SetMaxPlayerFlyHeight(90)



