Object created in MilkShape 3d partially shown [Solved]

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
DarkHelmet

Object created in MilkShape 3d partially shown [Solved]

Post by DarkHelmet »

Hi all

I've just started learning and using milkshape.
(No, this is not gonna be a noob question)

Just to start easy i created a small tunnel, skinned it and exported it using bconstructor.
I used an odf of a prop.

In ZE it looks fine.
In game only 1 wall is visible. The other wall, the ceiling and the floor have disappeared.
I fall through the floor as well and bullets go throught the disappeared wall. So it not just invisible.

I got no errors when exporting.
When munging there was a "no collision found, creating default collision"-error (or something).
In the PC_mungelog.txt i got "Error 80040154" several times.

screendump from ZE
Image

screendump in game
Image

my odf
[GameObjectClass]
ClassLabel = "prop"
GeometryName = "corridor.msh"


[Properties]
GeometryName = "corridor"
FoleyFXGroup = "metal_foley"
Has anyone got an idea what went wrong and how to fix this?


thnx

DH
Last edited by DarkHelmet on Tue Oct 24, 2006 3:04 pm, edited 1 time in total.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 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: created object partially shown

Post by t551 »

Did you triangulate the mesh before you exported? The game sometimes has trouble handling polygons.
User avatar
minilogoguy18
Master Bounty Hunter
Master Bounty Hunter
Posts: 1512
Joined: Wed Nov 09, 2005 11:12 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: created object partially shown

Post by minilogoguy18 »

he used ms3d it seems and ms3d doesnt draw anything higher than a triangle, triangulation has nothing to do with it btw, all polygons are converted to triangles when exported, if theres missing polygons its cause theyre flipped and no game eninge in existance renders backfaces unless you make a shader to tell it to 2-side cull it.
DarkHelmet

Post by DarkHelmet »

What i did was to create a box, stretched it in the Z-direction, extruded in in X- and Y-direction to form a tunnel (i know this can be done more efficient).
The vertices of the first box are welded the those of the last (extruded) box.
I don't think any of the faces are backwards. Especially those of the 1st box. The visible wall isn't part of the 1st box.

A screendump of milkshape. The 1st box i started from is selected.
Image


As a test i selected a few faces of each wall and floor and ceiling and reversed the vertex order.
In game 1 part of the visible wall is shown from 1 side, the other part from the other side.
The disappered wall and the floor and ceiling stay disappeared.

Screenshot from game. On the right the original tunnel, on the left the same but with parts of the wall with the reversed vertex order.
Image


in ZE you can see which faces i reversed.
Image

It looks like something else is causing this problem.
DarkHelmet

created object partially shown (solved)

Post by DarkHelmet »

I found the problem.

When i build an other object again1 part was showing in the game.
Then i realised what was causing the problem.
I followed the tutorial http://www.tutorialguide.net/skinning_a ... orial.html (good site btw).
I had grouped several faces (a wall group, ceiling group) and skinned them individually.

Only the first group i skinned was rendered in the game (although ZE rendered them all).
I selected every face and regrouped them as 1, reapplied the skin and now everything is rendered.

Problem solved.
Post Reply