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 Problem
Moderator: Moderators
-
- Emperor's Hand
- Posts: 487
- Joined: Sun Dec 26, 2004 12:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
RE: Munging Problem
If you have copied/pasted that section of the lua, you are missing a comma after "gun_walk_kaadu"
The error message says you are missing a close bracket, check for that too.
The error message says you are missing a close bracket, check for that too.
- Rends
- Sith
- Posts: 1278
- Joined: Fri Oct 15, 2004 6:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Contact:
RE: Munging Problem
for your sound problem. do you have the line
ReadDataFile("sound\\nab.lvl;nab1cw"); in the lua ?
ReadDataFile("sound\\nab.lvl;nab1cw"); in the lua ?
RE: Munging Problem
yes . my mod is called Nab(not nab) so it can get a little confusing at times .
also iv added some kaadus and fambaas to my map but now when i try and play the map my cp's are gone (even tho they are in the zeroedit) and i cant spawn .
also iv added some kaadus and fambaas to my map but now when i try and play the map my cp's are gone (even tho they are in the zeroedit) and i cant spawn .