Page 1 of 1

Expecting Bracket [Solved]

Posted: Thu May 25, 2017 8:58 pm
by ImperialTechnology
While creating a new unit, I keep getting this weird error in the mungelog:
Hidden/Spoiler:
[code]
ERROR[levelpack shell.req]:Input file shell.req does not exist. [continuing]
1 Errors 0 Warnings

ERROR[levelpack rem.req]:Expecting bracket, but none was found.
File : munged\pc\imp_inf_cannntrooper_tfu.lvl.req(1)...

ucft <--
ERROR[levelpack rem.req]:Expecting bracket, but none was found.
File : munged\pc\imp_inf_cannntrooper_tfu.lvl.req(1)...

ucft <--

2 Errors 0 Warnings
[/code]
At first I thought it to be something with the req, however after researching the issue and overlooking everything, from what I can tell, it has nothing to do with the req. Its not the model, as it is being used by another unit (and also the fact that if I tried to create a new unit with a new model, I get the exact same error). Another weird occurrence, is that everytime I munge, when it is about to munge the unit, the munge will literally crash, and say "LevelPack.exe has stopped working" (and for any other unit I have tried to add) I hit close, and it will continue to munge the rest of the world just fine.

Here is my req files for both the unit, and the side req:
Hidden/Spoiler:
Unit Req:
[code]
ucft
{
REQN
{
"class"
"imp_inf_cannntrooper_tfu"
}
}
[/code]
Side Req:
[code]
ucft
{
REQN
{
"lvl"
"imp_inf_cannntrooper_tfu"
"imp_inf_stormtrooper_tfu"
"imp_inf_heavytrooper_tfu"
}
}
[/code]
Also here is my LUA if needed:
Hidden/Spoiler:
[code]
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"all_inf_wookiee",
"all_hero_hansolo_tat")

ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_bobafett",
"imp_fly_destroyer_dome" )

ReadDataFile("dc:SIDE\\rem.lvl",
"imp_inf_stormtrooper_tfu",
"imp_inf_heavytrooper_tfu",
"imp_inf_cannntrooper_tfu")

ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_tat_barge",
"tur_bldg_laser")

SetupTeams{
all = {
team = ALL,
units = 20,
reinforcements = 150,
soldier = { "all_inf_rifleman",9, 25},
assault = { "all_inf_rocketeer",1,4},
engineer = { "all_inf_engineer",1,4},
sniper = { "all_inf_sniper",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},

},
imp = {
team = IMP,
units = 20,
reinforcements = 150,
soldier = { "imp_inf_stormtrooper_tfu",9, 25},
assault = { "imp_inf_heavytrooper_tfu",1,4},
engineer = { "imp_inf_engineer",1,4},
sniper = { "imp_inf_sniper",1,4},
officer = { "imp_inf_officer",1,4},
special = { "imp_inf_dark_trooper",1,4},
extra1 = { "imp_inf_cannntrooper_tfu",1,4},
},
}
[/code]

Re: Expecting Bracket

Posted: Fri May 26, 2017 12:06 pm
by Marth8880
This means munge is failing for some reason that has to do with imp_inf_cannntrooper_tfu. Try cleaning, re-munging, and then if it fails again post the output of VisualMunge here, making note of where specifically in the output log levelpack crashed.

My guess is this is related to the mesh, though that tends to cause modelmunge to crash instead.

Re: Expecting Bracket

Posted: Fri May 26, 2017 2:18 pm
by ImperialTechnology
Ok, I honestly do not know what was causing the issue, but it has resolved itself now, I'm thinking it had something to do with when I re-cleaned again (I had cleaned about 3 times earlier, but this time it seemed to work) The levelpack didnt crash this time, and the unit is now in the game. Thanks for the help however!