Page 1 of 1
Space Map Crashing After Adding New Units/Sides
Posted: Fri Jun 19, 2015 4:29 pm
by Sandtrooper956
Recently I have started work on a space map, but am having some trouble. Everytime I try to add a new unit or side into my Clone Wars .lua file, it causes the map to crash for that era. Any help would be appreciated. Thanks in advance!
Re: Space Map Crashing After Adding New Units/Sides
Posted: Fri Jun 19, 2015 6:47 pm
by jojo3450
can u post your .lua file?
Re: Space Map Crashing After Adding New Units/Sides
Posted: Sat Jun 20, 2015 11:13 am
by Sandtrooper956
I'm trying to add heroes into space:
Code: Select all
function SetupUnits()
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_pilot",
"rep_inf_ep3_marine",
"rep_fly_anakinstarfighter_sc",
"rep_fly_arc170fighter_sc",
"rep_veh_remote_terminal",
"rep_fly_gunship_sc",
"rep_fly_vwing",
"rep_hero_obiwan")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_pilot",
"cis_inf_marine",
"cis_fly_droidfighter_sc",
"cis_fly_droidgunship",
"cis_fly_greviousfighter",
"cis_fly_tridroidfighter")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_spa_cis_beam",
"tur_bldg_spa_cis_chaingun",
"tur_bldg_spa_rep_beam",
"tur_bldg_spa_rep_chaingun",
"tur_bldg_chaingun_roof"
)
end
myTeamConfig = {
rep = {
team = REP,
units = 32,
reinforcements = -1,
pilot = { "rep_inf_ep3_pilot",26},
marine = { "rep_inf_ep3_marine",6},
},
cis = {
team = CIS,
units = 32,
reinforcements = -1,
pilot = { "cis_inf_pilot",26},
marine = { "cis_inf_marine",6},
}
}
SetHeroClass(CIS, "")
SetHeroClass(REP, "rep_hero_obiwan")
Re: Space Map Crashing After Adding New Units/Sides
Posted: Sun Jun 21, 2015 3:06 am
by hunpeter12
Could you generate an error log please and post it?
Re: Space Map Crashing After Adding New Units/Sides
Posted: Sun Jun 21, 2015 10:51 am
by Sandtrooper956
Re: Space Map Crashing After Adding New Units/Sides
Posted: Sun Jun 21, 2015 11:37 am
by hunpeter12
It looks like something's calling for com_weap_veh_fly_scoutlasers, but does not find it. Try to fix that first, then manual clean and re-munge just to make sure.
Re: Space Map Crashing After Adding New Units/Sides
Posted: Sun Jun 21, 2015 7:41 pm
by Sandtrooper956
Weird because I hadn't made any changes to the ships yet. I just started a space map and messed with .lua a bit, nothing else. Well i'll see what I can do.