Missing geometry?

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
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Missing geometry?

Post by Eggman »

I'm planning on making a map using Dragonum's Capital Ship Models, but one of the Venator pieces seems to be causing a crash. Here's what I think the problem is:

Message Severity: 3
.\Source\EntityGeometry.cpp(619)
Entity "rep_prop_venator_window_right.m" missing geometry "rep_prop_venator_window_right.msh"

I looked in the odf for that piece and it looked like everything was there:

[GameObjectClass]

ClassLabel = "armedbuilding"
GeometryName = "rep_prop_venator_window_right.msh"


[Properties]

GeometryName = "rep_prop_venator_window_right.msh"
MaxHealth = "100000.0"
RespawnTime = "999999"

FoleyFXGroup = "metal_foley"

I'm still relatively new to modding, so I could just be looking in the wrong place or something like that, but any help/suggestions would be greatly appreciated.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

Well, no matter what your .odfs say, correct or not (those are correct, btw), you need to have the corresponding .msh file in you worlds/msh folder. Probably ought to check that out, if you haven't already.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Post by Eggman »

Hm...I'm almost certain the .msh is in there somewhere, but maybe I just need to reorganize some things. Right now I have the capital ship models in their own folders within the worlds folder. Everything seems to work fine for the Invisible Hand models, but that might be because the .mshs and .odfs are separated within that folder, while the Venator files don't seem to be organized within its folder at all. When I have a chance (probably tomorrow) I'll try organizing the Venator .odfs and .mshs and see if that fixes anything.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

Just keep it simple. Put all your meshes and related files in the worlds/msh folder, all the .odfs in the worlds/odf folder, and all your effects in worlds/effects. Don't muddy the waters creating subdirectories.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Post by Eggman »

Alright, I made sure everything was in the right folders, but the map still crashes at the laod screen (just to clarify, that's where it always crashed). I really can't think of anything else besides just downloading the models again in case something got messed up at that stage.

*Edit* Figured it out. The .msh it was looking for was rep_prop_venator_window_right.msh, but the correct .msh was named rep_prop_venator_window_right, so all I had to do was change the name in the .odf to match up.
Post Reply