Here is the lua:
Code: Select all
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveConquest")
-- Empire Attacking (attacker is always #1)
local EWK = 2
local EW1 = 1
-- These variables do not change
local ATT = 1
local DEF = 2
function ScriptPostLoad()
Code: Select all
ReadDataFile("SIDE\\ewk.lvl",
"ewk_inf_basic")
ReadDataFile("dc:SIDE\\EW1.lvl",
"ew1_inf_basic")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_tat_barge",
"tur_bldg_laser")
SetupTeams{
ewk = {
team = EWK,
units = 20,
reinforcements = 150,
soldier = { "ewk_inf_trooper",9, 25},
engineer = { "ewk_inf_repair",1,4},
sniper = { "ewk_inf_scout",1,4},
},
ew1 = {
team = EW1,
units = 20,
reinforcements = 150,
soldier = { "ew1_inf_trooper",9, 25},
engineer = { "ew1_inf_repair",1,4},
sniper = { "ew1_inf_scout",1,4},
},
}Set up new teams names and such under:
common\sides\ewk\
common\sides\ew1\
only way I can get any name at all is if I add local and LOCALS name to level\ECW\local and \locals?
Why is it wanting to set up my poor ewoks as locals when I am trying to set them up as auctual teams for conquest? Also It wont use the firstnames and lastnames... Will I just have to edit the ALL and IMP sides localize?

