pc_ModelMunge.exe is ruining my day

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

pc_ModelMunge.exe is ruining my day

Post by Bob »

Hidden/Spoiler:
Image
It crashes whenever I try to munge a certain custom model, the other custom models work perfectly (it's a turret).
The mungelog:
Hidden/Spoiler:
WARNING[PC_modelmunge msh\shp_cruiser_blu.msh]:shp_cruiser_blu has 1162 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
ERROR[levelpack req\shp_cruiser_blu.req]:Expecting bracket, but none was found.
File : munged\pc\shp_cruiser_blu.model.req(1)...

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

ucft <--

2 Errors 0 Warnings
The model itself seems to be okay, I checked it a couple of times and there's nothing odd...
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: pc_ModelMunge.exe is ruining my day

Post by DarthD.U.C.K. »

there must be smething wrong with the model if it crashes modelmunge. did you hexedit it somehow and how many polys does it have?
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: pc_ModelMunge.exe is ruining my day

Post by Bob »

Nothing is hex edited, everything is pure XSI work. How do I count (or let XSI count) the polys?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: pc_ModelMunge.exe is ruining my day

Post by DarthD.U.C.K. »

in one viewport if you click on the eyesymbol on the upper border you can activate selection info. that will display the triangles of the selected object.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: pc_ModelMunge.exe is ruining my day

Post by Bob »

Thanks, there are exactly 888 polys. But I have already a model with 1244 ingame, so it can't be to many.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: pc_ModelMunge.exe is ruining my day

Post by DarthD.U.C.K. »

yes, thats not the problem.
you cna try exporting all objects as obj and reimport them. that sometimes solves problems that only appear in battlefront.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: pc_ModelMunge.exe is ruining my day

Post by Bob »

Didn't work, but I found out (by playing around with the msh.option) what part of the model is causing the grief. It are the aimer_y1 and the aimer_y2.
Hierachy:
Hidden/Spoiler:
ImageImage
Both are located directly under the DummyRoot (in the hierachy, not the model).
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: pc_ModelMunge.exe is ruining my day

Post by DarthD.U.C.K. »

the hierarchy looks alright. how did you find out that the aimers cause the problem?
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: pc_ModelMunge.exe is ruining my day

Post by Bob »

I munged the model without it's msh.option (and thus without -keep aimer_y1 aimer_y2) and it worked perfectly (the turrets didn't move though). Then I added and removed aimers from the msh.option's -keep list to find out wich of them is evil.
But I still don't know whats wrong with them.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: pc_ModelMunge.exe is ruining my day

Post by DarthD.U.C.K. »

hmm, that is really weird..
could you export your scene with crosswalk to xsi 5.0 text and send it to me? ill have a look at it then.

edit: i can munge it without problems, this is the msh.option:

Code: Select all

-keep aimer_ll aimer_lr aimer_y1 aimer_y2
are those the ones that crash modelmunge for you?
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: pc_ModelMunge.exe is ruining my day

Post by Bob »

Don't forget to put in the x-aimers. But the y-aimers are the ones that crashed my munge.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: pc_ModelMunge.exe is ruining my day

Post by DarthD.U.C.K. »

still no mungerror. you could redo these nulls and reexport the model, maybe it will work then. i cant see any proper cause for this so it might be just a random bug.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: pc_ModelMunge.exe is ruining my day

Post by Bob »

I'll just redo the whole model (I don't like the current model that much, so it's not a big loss)
Post Reply