Missing CPs and weapon geometries. [Solved]

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
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

Missing CPs and weapon geometries. [Solved]

Post by Fiodis »

I swapped a weapon's geometry and set the ambient lighting in my map to be lower. Now, when munging, I get this mungelog message:

Code: Select all

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

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

ucft <--
 [continuing]
   2 Errors    0 Warnings

ERROR[levelpack ARI_conquest.mrq]:Could not open munged\pc\mz.files for input. DOS reports:
No such file or directory
ERROR[levelpack ARI_conquest.mrq]:Could not open munged\pc\mz.files for input. DOS reports:
No such file or directory
 [continuing]
   2 Errors    0 Warnings

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

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

ucft <--
 [continuing]
   2 Errors    0 Warnings
Also, in the unit selection screen, the weapon's geometry refuses to show up (he's holding air) even though I have the weapon munged and referenced properly.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Missing CPs and weapon geometries.

Post by Xavious »

Try a manual clean if you haven't already. I don't know about the weapon, but I doubt it's related to the errors you posted.
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: Missing CPs and weapon geometries.

Post by Fiodis »

Ah, a manul clean fixed the CP errors and the mungelog errors. The weapon still doesn't show up, though. What could be the issue there? Too many polygons?
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: Missing CPs and weapon geometries.

Post by DarthD.U.C.K. »

not unless they are som mayn that every polygon is too small to be rendered
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: Missing CPs and weapon geometries.

Post by Fiodis »

Well, I solved this by naming the mesh to something else.

The weapon's ODF used to call for ter_weap_longbarrel.msh. Then, I removed the longbarrel mesh from the msh folder of the side, and put in a new mesh, ter_weap_sniper.msh. I had then referenced ter_weap_sniper instead of ter_weap_longbarrel in the ODF, munged it, and in the error log it said "Cannot find weapon geometry 'ter_weap_longbarrel'."

I renamed ter_weap_sniper to ter_weap_longbarrel, and it all works out fine. So for whatever reason, I was unable to change an ODF property. :?

It's fixed now, but I never knew what was quite wrong with it in the first place.
Post Reply