SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",150) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",1800) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",1900) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",1900) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",1800) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo:DamageSample",21600) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo:Deflect",150) -- should be ~1x #combo
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman_fleet",
"all_inf_rocketeer_fleet",
"all_inf_sniper_fleet",
"all_inf_officer",
"all_hero_chewbacca",
"all_hero_hansolo_tat",
"all_hero_leia")
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_engineer_fleet")
ReadDataFile("dc:SIDE\\JDI.lvl",
"jdi_demojedi")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_hero_obiwan")
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_darthvader")
ReadDataFile("SIDE\\imp.lvl",
"imp_hero_emperor")
SetupTeams{
all={
team = ALL,
units = 35,
reinforcements = 150,
soldier = {"all_inf_rifleman_fleet",7, 25},
assault = {"all_inf_rocketeer_fleet",1, 4},
engineer = {"all_inf_engineer_fleet",1, 4},
sniper = {"all_inf_sniper_fleet",1, 4},
officer = {"all_hero_hansolo_tat",1, 2},
special = {"all_hero_chewbacca",1, 2},
},
imp={
team = IMP,
units = 50,
reinforcements = 150,
soldier = {"imp_inf_rifleman",7, 25},
assault = {"imp_inf_rocketeer",1, 4},
engineer = {"imp_inf_engineer",1, 4},
sniper = {"imp_inf_sniper",1, 4},
officer = {"imp_inf_officer",1, 4},
special = {"imp_inf_dark_trooper",1, 4},
}
}
AddUnitClass(IMP,"imp_hero_darthvader", 1,2)
AddUnitClass(ALL,"all_hero_leia", 1,2)
AddUnitClass(ALL,"rep_hero_obiwan", 1,2)
SetHeroClass(IMP,"imp_hero_emperor")
SetHeroClass(ALL,"jdi_demojedi")
-- Level Stats
ClearWalkers()
-- AddWalkerType(0, 0) -- 8 droidekas (special case: 0 leg pairs)
-- AddWalkerType(1, 0) -- 8 droidekas (special case: 0 leg pairs)
-- AddWalkerType(2, 0) -- 2 spider walkers with 2 leg pairs each
-- AddWalkerType(3, 0) -- 2 attes with 3 leg pairs each
local weaponCnt = 200
SetMemoryPoolSize ("Aimer", 10)
SetMemoryPoolSize ("AmmoCounter", weaponCnt)
SetMemoryPoolSize ("BaseHint", 400)
SetMemoryPoolSize ("EnergyBar", weaponCnt)
SetMemoryPoolSize ("EntityCloth", 18)
SetMemoryPoolSize ("EntityLight", 100)
SetMemoryPoolSize ("EntitySoundStatic", 30)
SetMemoryPoolSize ("SoundSpaceRegion", 50)
SetMemoryPoolSize ("MountedTurret", 2)
SetMemoryPoolSize ("Navigator", 50)
SetMemoryPoolSize ("Obstacle", 400)
SetMemoryPoolSize ("ParticleTransformer", 1200)
SetMemoryPoolSize ("ParticleTransformer::SizeTransf", 1200)
SetMemoryPoolSize ("PathFollower", 50)
SetMemoryPoolSize ("PathNode", 512)
SetMemoryPoolSize ("RedOmniLight", 130)
SetMemoryPoolSize ("ShieldEffect", 0)
SetMemoryPoolSize ("SoldierAnimation", 700)
SetMemoryPoolSize ("SoldierAnimationData", 700)
SetMemoryPoolSize ("SoldierAnimationData::Animation", 800)
SetMemoryPoolSize ("TreeGridStack", 200)
SetMemoryPoolSize ("UnitAgent", 50)
SetMemoryPoolSize ("UnitController", 50)
SetMemoryPoolSize ("Weapon", weaponCnt)
SetMemoryPoolSize ("EntityFlyer", 6)