Here i am again (sadly) with a new dilema. I have been trying to make a campaign following the tut in the all you need to know FAQ, but i am on step one of the process and have an error. I am trying to get my character to have to go to the front lines of the battle. My munge log says im missing some brackets in my lua, but i have no clue where since it doesnt define a line its next to. Anyway im just asking for where i missed my brackets or whatever else i did wrong. The only thing in my error log that has anything to do with my lua is that its unable to open dc:norsound file or something like that.
LUA: http://pastebin.com/gHak7FCz
Munge Log:
Hidden/Spoiler:
ERROR[levelpack mission\NORc_con.req]:Expecting bracket, but none was found.
File : munged\pc\norc_con.script.req(1)...
ucft <--
ERROR[levelpack mission\NORc_con.req]:Expecting bracket, but none was found.
File : munged\pc\norc_con.script.req(1)...
ucft <--
2 Errors 0 Warnings
(i didnt post my error log because ive searched it and only found one thing that pertains to my lua that is there every time, no other sev threes or twos come anywhere close)
Thank you for your assistance!
SAMofBIA wrote:I am trying to get my character to have to go to the front lines of the battle. My munge log says im missing some brackets in my lua, but i have no clue where since it doesnt define a line its next to. Anyway im just asking for where i missed my brackets or whatever else i did wrong. The only thing in my error log that has anything to do with my lua is that its unable to open dc:norsound file or something like that.
LUA: http://pastebin.com/gHak7FCz
Munge Log:
Hidden/Spoiler:
ERROR[levelpack mission\NORc_con.req]:Expecting bracket, but none was found.
File : munged\pc\norc_con.script.req(1)...
ucft <--
ERROR[levelpack mission\NORc_con.req]:Expecting bracket, but none was found.
File : munged\pc\norc_con.script.req(1)...
ucft <--
2 Errors 0 Warnings
(i didnt post my error log because ive searched it and only found one thing that pertains to my lua that is there every time, no other sev threes or twos come anywhere close)
Thank you for your assistance!
I can only help you here (assuming there is an error with your LUA) if you post the LUA file.
SAMofBIA wrote:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_walk_atte in C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\AddOn\NOR\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_hero_aalya in C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\AddOn\NOR\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:SIDE\rep.lvl
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:sound\NOR.lvl;NORcw
its mainly the last two im worried about, my map works just fine with the other two arent being used and ive eliminated them from my lua.
All the same, it's probably wise to get rid of any references to the ATTE and Alaya in your LUA and req files. As far as the last two, that just looks like a result of the same bracket error. If the LUA isn't formatted properly, it throws off all kinds of stuff in the munge. So let's focus on that one first and see what happens.
Hmm, well ive reverted it back to a normal conquest lua for right now. and ive also completely deleted anything to do with aayla and the atte from my map, lua and so on. They were not the problem anyway though, they didnt cause crash before i made into a campaign. If someone could plz look at the lua and see where the bracket is misplaced (i did have a link to it on pastebin btw jango). i do not have much experience on scripting a campaign so i wouldnt know where the bracket it wrong.