Munging Problem
Posted: Sat Jan 08, 2005 3:09 pm
I have copied the historical campaign Naboo to try and get those Fambaa Shields but i have come across a problem with munging but i cant tell what its tryin to say ..
Munging Nabc.lua
luac: ' )' expected (to close '(' at line 43);
last token read.' ' " nab_bldg_fambaa_shield"' at line 46 in file '..\..\common\.scripts\ Nab\Nabc.lua
my mod is called Nab by the way. here is the lua of my mod:
ReadDataFile("dc:SIDE\\gun.lvl",
"gun_inf_basic",
"gun_walk_kaadu"
"nab_bldg_fambaa_shield")
on a side note ...i seem to have no music whatsoever in my map ...even the victory screen has no music . here are those parts in my lua:
-- Sound
OpenAudioStream("sound\\nab.lvl", "nabcw_music");
OpenAudioStream("sound\\cw.lvl", "cw_vo");
OpenAudioStream("sound\\cw.lvl", "cw_tac_vo");
OpenAudioStream("sound\\nab.lvl", "nab1");
OpenAudioStream("sound\\nab.lvl", "nab1");
SetAmbientMusic(GUN, 1.0, "rep_nab_amb_start", 0,1);
SetAmbientMusic(GUN, 0.98, "rep_nab_amb_middle", 1,1);
SetAmbientMusic(GUN, 0.1,"rep_nab_amb_end", 2,1);
SetAmbientMusic(CIS, 1.0, "cis_nab_amb_start", 0,1);
SetAmbientMusic(CIS, 0.98, "cis_nab_amb_middle", 1,1);
SetAmbientMusic(CIS, 0.1,"cis_nab_amb_end", 2,1);
SetVictoryMusic(GUN, "rep_nab_amb_victory");
SetDefeatMusic (GUN, "rep_nab_amb_defeat");
SetVictoryMusic(CIS, "cis_nab_amb_victory");
SetDefeatMusic (CIS, "cis_nab_amb_defeat");
thanks for any help.
Munging Nabc.lua
luac: ' )' expected (to close '(' at line 43);
last token read.' ' " nab_bldg_fambaa_shield"' at line 46 in file '..\..\common\.scripts\ Nab\Nabc.lua
my mod is called Nab by the way. here is the lua of my mod:
ReadDataFile("dc:SIDE\\gun.lvl",
"gun_inf_basic",
"gun_walk_kaadu"
"nab_bldg_fambaa_shield")
on a side note ...i seem to have no music whatsoever in my map ...even the victory screen has no music . here are those parts in my lua:
-- Sound
OpenAudioStream("sound\\nab.lvl", "nabcw_music");
OpenAudioStream("sound\\cw.lvl", "cw_vo");
OpenAudioStream("sound\\cw.lvl", "cw_tac_vo");
OpenAudioStream("sound\\nab.lvl", "nab1");
OpenAudioStream("sound\\nab.lvl", "nab1");
SetAmbientMusic(GUN, 1.0, "rep_nab_amb_start", 0,1);
SetAmbientMusic(GUN, 0.98, "rep_nab_amb_middle", 1,1);
SetAmbientMusic(GUN, 0.1,"rep_nab_amb_end", 2,1);
SetAmbientMusic(CIS, 1.0, "cis_nab_amb_start", 0,1);
SetAmbientMusic(CIS, 0.98, "cis_nab_amb_middle", 1,1);
SetAmbientMusic(CIS, 0.1,"cis_nab_amb_end", 2,1);
SetVictoryMusic(GUN, "rep_nab_amb_victory");
SetDefeatMusic (GUN, "rep_nab_amb_defeat");
SetVictoryMusic(CIS, "cis_nab_amb_victory");
SetDefeatMusic (CIS, "cis_nab_amb_defeat");
thanks for any help.