Increasing ai count over 32 in lua
Posted: Sun Apr 05, 2020 3:19 pm
All the modding tutorials on editing lua scripts i've found say that i can increase the bot count in lua files, and while i have been able to manipulate the bot count using this method, whenever i set it above 32 it just doesnt do it. here is the exact code i have:
SetupTeams{
all = {
team = ALL,
units = 64,
reinforcements = 500,
soldier = { "all_inf_rifleman_snow",30, 45},
assault = { "all_inf_rocketeer_snow",5,10},
engineer = { "all_inf_engineer_snow",5,10},
sniper = { "all_inf_sniper_snow",2,5},
officer = { "all_inf_officer_snow",1,4},
special = { "all_inf_wookiee_snow",1,4},
},
imp = {
team = IMP,
units = 64,
reinforcements = 500,
soldier = { "imp_inf_rifleman_snow",30, 45},
assault = { "imp_inf_rocketeer_snow",5,10},
engineer = { "imp_inf_engineer_snow",5,10},
sniper = { "imp_inf_sniper_snow",2,5},
officer = { "imp_inf_officer_snow",1,4},
special = { "imp_inf_dark_trooper",1,4},
},
When I munge and run it, it does have the 500 reinforcements but still only has the standard number of ai
SetupTeams{
all = {
team = ALL,
units = 64,
reinforcements = 500,
soldier = { "all_inf_rifleman_snow",30, 45},
assault = { "all_inf_rocketeer_snow",5,10},
engineer = { "all_inf_engineer_snow",5,10},
sniper = { "all_inf_sniper_snow",2,5},
officer = { "all_inf_officer_snow",1,4},
special = { "all_inf_wookiee_snow",1,4},
},
imp = {
team = IMP,
units = 64,
reinforcements = 500,
soldier = { "imp_inf_rifleman_snow",30, 45},
assault = { "imp_inf_rocketeer_snow",5,10},
engineer = { "imp_inf_engineer_snow",5,10},
sniper = { "imp_inf_sniper_snow",2,5},
officer = { "imp_inf_officer_snow",1,4},
special = { "imp_inf_dark_trooper",1,4},
},
When I munge and run it, it does have the 500 reinforcements but still only has the standard number of ai