Page 1 of 1

Objects not showing up in game?

Posted: Sat Oct 03, 2009 5:55 pm
by Epena
Hey guys.

I'm sure that this question has been answered before, but a quick search didn't yield anything...

I'm placing assets in ZE and everything is all fine and dandy, but after a munge, no objects exist in game. The terrain cutters still cut the terrain, but there's nothing there besides that. (no collision)

My odfs are placed here: C:\BF2_ModTools\data_YDE\Common\odfs\subfolders (one for yav1, yav2 and ksh)
mshs here: C:\BF2_ModTools\data_YDE\Common\mshs

I'm placing the objects on the base layer.

What am I doing wrong?

Re: Objects not showing up in game?

Posted: Sat Oct 03, 2009 5:58 pm
by Aman/Pinguin
Your objects don't get munged at all.
Put your odf and msh folder here:

C:\BF2_ModTools\data_YDE\Worlds\YDE


Files in C:\BF2_ModTools\data_YDE\Common need some req entries to get munged if I remember correctly.

Re: Objects not showing up in game?

Posted: Sat Oct 03, 2009 6:22 pm
by Epena
Thanks man. That worked. I knew it was just something stupid i wasn't doing right.

I've got one more question for you guys: is there any way to get trees to not show the leaves? In ZE they are leaf-less and that's the way I want them. Possible?

Re: Objects not showing up in game?

Posted: Sat Oct 03, 2009 6:26 pm
by FragMe!
Are you using the yav_prop_leaftrees? If so try removing the attach to hardpoint things in the odf.

Re: Objects not showing up in game?

Posted: Sat Oct 03, 2009 6:28 pm
by Fiodis
Sure. Just reskin the leaves to be transparent. You may also need to hex the model.

Welcome back to modding, Epena.

Re: Objects not showing up in game?

Posted: Sat Oct 03, 2009 7:01 pm
by FragMe!
Just looked at the trees with the viewer and it just has the branches no leafs they are added on via the odf so you should get what you are looking for by editing the odfs.

Re: Objects not showing up in game?

Posted: Sun Oct 04, 2009 12:54 am
by Epena
Thanks man! I just did a quick check of the odf file and I deleted some stuff that looked important.

One attempt trial and error success!

Re: Objects not showing up in game?

Posted: Tue Oct 06, 2009 12:34 am
by Epena
Hmm, I'm getting some fatal errors now. I added a bunch of objects that Astute sent me and I added water. That's the only change.

Code: Select all

ERROR[PC_texturemunge world1\yavinx.tga]:TextureMunge(yavinx:92x92x1): Must have power of two dimensions!
ERROR[PC_texturemunge world1\yavinx.tga]:TextureMunge(yavinx:92x92x1): Must have power of two dimensions!
 [continuing]
ERROR[PC_texturemunge world1\yavX.tga]:TextureMunge(yavx:63x64x1): Must have power of two dimensions!
ERROR[PC_texturemunge world1\yavX.tga]:TextureMunge(yavx:63x64x1): Must have power of two dimensions!
 [continuing]

Re: Objects not showing up in game?

Posted: Tue Oct 06, 2009 12:36 am
by Maveritchell
You've got bad textures (like the error says "must be in power-of-two dimensions" - 64*64, 128*128, 256*256, etc.). Those are responsible for the munge errors but I'm willing to bet your map isn't affected by those (the MAPx textures seem to be remnants that sit around but aren't used). If you're getting a crash ingame, then it's probably because of the water you just added.