Problems with munging a new side.

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Problems with munging a new side.

Post by fiddler_on_the_roof »

I set up a side, and when I munge, i get a 1 kb lvl file, with nothing in it.
Here is the munge_log

Code: Select all

ERROR[levelpack req\impscout_inf_sniper.req]:Expecting bracket, but none was found.
File : munged\pc\imp_inf_scout.model.req(1)...

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

ucft <--
 [continuing]
   2 Errors    0 Warnings

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

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

ucft <--
 [continuing]
   2 Errors    0 Warnings
Here is the side req, and then the unit req

Code: Select all

ucft
{
    REQN
    {
        "lvl"      
        "impscout_inf_sniper"
    }
}

Code: Select all

ucft
{
    REQN
    {
        "class"
        "scout2_inf_sniper"
    }
}
The unit name is "scout2_inf_sniper", yet here is the scout2.lvl file.

Code: Select all

        
And for some reason, there is a file called scout2.lvl, but the full extension name is scout2.lvl.req, req being the file type.
In that there is

Code: Select all

ucft
what do I need to do?

thanks
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Problems with munging a new side.

Post by Deviss »

fiddler_on_the_roof wrote:I set up a side, and when I munge, i get a 1 kb lvl file, with nothing in it.
Here is the munge_log

Code: Select all

ERROR[levelpack req\impscout_inf_sniper.req]:Expecting bracket, but none was found.
File : munged\pc\imp_inf_scout.model.req(1)...

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

ucft <--
 [continuing]
   2 Errors    0 Warnings

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

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

ucft <--
 [continuing]
   2 Errors    0 Warnings
Here is the side req, and then the unit req

Code: Select all

ucft
{
    REQN
    {
        "lvl"      
        "impscout_inf_sniper"
    }
}

Code: Select all

ucft
{
    REQN
    {
        "class"
        "scout2_inf_sniper"
    }
}
The unit name is "scout2_inf_sniper", yet here is the scout2.lvl file.

Code: Select all

        
And for some reason, there is a file called scout2.lvl, but the full extension name is scout2.lvl.req, req being the file type.
In that there is

Code: Select all

ucft
what do I need to do?

thanks
try putting the same name for all files ( impscout_inf_sniper )
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by fiddler_on_the_roof »

All the files have the same name(scout2_...), meaning that the scout2.req has scout2_inf-sniper (the name of the unit, and the unit req), the unit req is called scout2_inf_sniper, and the unit is called scout2_inf_sniper, all the names are set up correctly, yet still no proper lvl file.


thanks
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Problems with munging a new side.

Post by Fiodis »

fiddler_on_the_roof wrote:All the files have the same name(scout2_...), meaning that the scout2.req has scout2_inf-sniper (the name of the unit, and the unit req), the unit req is called scout2_inf_sniper, and the unit is called scout2_inf_sniper, all the names are set up correctly, yet still no proper lvl file.


thanks

See that in red? Is that a typo? Cause if it's not, there's your problem.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by fiddler_on_the_roof »

Fiodis wrote:
fiddler_on_the_roof wrote:All the files have the same name(scout2_...), meaning that the scout2.req has scout2_inf-sniper (the name of the unit, and the unit req), the unit req is called scout2_inf_sniper, and the unit is called scout2_inf_sniper, all the names are set up correctly, yet still no proper lvl file.


thanks

See that in red? Is that a typo? Cause if it's not, there's your problem.
Yeah, that is a typo on my part, in this message.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Problems with munging a new side.

Post by YaNkFaN »

did you try setting the unit's .odf name and unit's .req name to be the same?
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by fiddler_on_the_roof »

They are the same, everything is under teh name of scout2_...
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by MercuryNoodles »

I'm guessing you're looking at the build files there. (Also, I'm assuming the actual source files are setup correctly.) If so, your munge just failed. Clean, remunge, and it should be fine.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by fiddler_on_the_roof »

I'll try, but I don't think it will work, because I've done it before. Also, if it helps, the unit that is in the side, just recieved a rep_sniper_cape, via hex-editing, don't know if that matters though.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by MercuryNoodles »

VM is a little glitchy, so manually clean and remunge, if a regular clean fails. The model change won't matter to the munge, so long as it was edited correctly. In fact, if there was a problem with the model, you'd likely find it in the log.


That lvl.req file is a file that's copied over to the addon directory, right? If so, you don't need that file, as far as I know.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by fiddler_on_the_roof »

Ok, yeah, the only thing in the mungelog is

Code: Select all

ERROR[levelpack req\scoutimp_inf_sniper.req]:Expecting bracket, but none was found.
File : munged\pc\imp_inf_scout.model.req(1)...

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

ucft <--
 [continuing]
   2 Errors    0 Warnings

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

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

ucft <--
 [continuing]
   2 Errors    0 Warnings
I don't know why it comes up with this, because to my knowledge, there is nothing wrong with the 2 req files.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Problems with munging a new side.

Post by FragMe! »

It comes up with those errors if there is a problem with the msh as well.
It can't complete what it needs to do so it can't write those files properly and therefore create an error.
You mentioned hexediting in a cape. Put a normal (non editied) unit msh reference in the odf file instead, then clean and remunge the side.
That will tell you if it is the modified msh or if it is something else.
If it fixes the problem and you can play as the imp_inf_scout then try and redo your hexedit.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Problems with munging a new side.

Post by fiddler_on_the_roof »

FragMe! wrote:It comes up with those errors if there is a problem with the msh as well.
It can't complete what it needs to do so it can't write those files properly and therefore create an error.
You mentioned hexediting in a cape. Put a normal (non editied) unit msh reference in the odf file instead, then clean and remunge the side.
That will tell you if it is the modified msh or if it is something else.
If it fixes the problem and you can play as the imp_inf_scout then try and redo your hexedit.
Yeah, it looks like it was the hex-edit, so
re-doing hex-edit (crosses-fingers)...

thanks
Post Reply