Space Map Crashing After Adding New Units/Sides
Moderator: Moderators
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
Space Map Crashing After Adding New Units/Sides
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!
-
jojo3450
- Rebel Warrant Officer

- Posts: 317
- Joined: Fri Jul 18, 2014 12:29 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Space Map Crashing After Adding New Units/Sides
can u post your .lua file?
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
Re: Space Map Crashing After Adding New Units/Sides
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") -
hunpeter12
- Command Sergeant Major

- Posts: 260
- Joined: Mon Apr 18, 2011 2:53 pm
- Projects :: Underground City The Complex [WIP]
Re: Space Map Crashing After Adding New Units/Sides
Could you generate an error log please and post it?
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
-
hunpeter12
- Command Sergeant Major

- Posts: 260
- Joined: Mon Apr 18, 2011 2:53 pm
- Projects :: Underground City The Complex [WIP]
Re: Space Map Crashing After Adding New Units/Sides
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.
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
Re: Space Map Crashing After Adding New Units/Sides
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.
