Model Collision problem. [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

User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Model Collision problem. [Solved]

Post by Cerfon Rournes »

Ingame, I can go/fall through my building model at some parts of the model. After I saw this, I went back to XSI and added collision. No change. Is there an explaination for this?
Also, I don't see my model being munged In Visual Munge for some reason...would this add to the problem?
I have never seen this happen before for my building models, which I've made about three of.
I'll post a picture If needed.
Thanks.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Model Collision problem.

Post by THEWULFMAN »

Odd question I know: Is your model triangulated? If not then do so and test.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

Triangulated with the export?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Model Collision problem.

Post by THEWULFMAN »

Uhm. I mean triangulate the model before exporting it yes. You don't want any quads. Quads can mess up collision.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

Hmm..I don't get It still. Do you mean," Convert Meshes To Triangles" In the export box? Because I already selected that option..
User avatar
The Nasal Abyss
1st Lieutenant
1st Lieutenant
Posts: 428
Joined: Sun Sep 14, 2008 12:55 pm
Projects :: Currently Working on an Indie Game
Games I'm Playing :: Splatoon 2
xbox live or psn: Stm: Tight Verbage

Re: Model Collision problem.

Post by The Nasal Abyss »

Check to see if everything was named right. The method in which you triangulate doesn't matter, as long as you do it.

EDIT: In fact, post the name of the collision model, unless you have already changed it.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Model Collision problem.

Post by AceMastermind »

Quads are fine. What are you exporting to msh with, Pandemic Tools or MshEx?
When changes don't take effect usually a clean(auto or manual) is needed.
You may need a msh.option file with -donotmergecollision to preserve your accurate collision during the munge process.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

AceMastermind wrote:Quads are fine. What are you exporting to msh with, Pandemic Tools or MshEx?
When changes don't take effect usually a clean(auto or manual) is needed.
You may need a msh.option file with -donotmergecollision to preserve your accurate collision during the munge process.
MshEx. Also, I tried -donotmergecollision. Also, I tried a clean, nothing worked.
@The Nasal Abyss: The name of the collision model was just "collision" According to "How to get your mesh into SWBF2" By Vyse.
One more thing, I'm using this prop for the distroyed part of a distructable building. Does this matter?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Model Collision problem.

Post by AceMastermind »

Cerfon Rournes wrote:
AceMastermind wrote:... What are you exporting to msh with, Pandemic Tools or MshEx? ...
MshEx...
You should have mentioned this in your first post, the setup procedure is different than if you were using the Pandemic Tools to export, you're also limited to what MshEx was programmed to handle. I do remember there being a topic discussing collision exported with MshEx though.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

AceMastermind wrote:
Cerfon Rournes wrote:
AceMastermind wrote:... What are you exporting to msh with, Pandemic Tools or MshEx? ...
MshEx...
You should have mentioned this in your first post, the setup procedure is different than if you were using the Pandemic Tools to export, you're also limited to what MshEx was programmed to handle. I do remember there being a topic discussing collision exported with MshEx though.
The thing Is, as I said In the first post, I have been doing everything the same for about 3 models now, with no problems.
Anyway, I'll try to find this topic you are talking about. :wink:
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Model Collision problem.

Post by THEWULFMAN »

AceMastermind wrote:Quads are fine.

Not to argue with the expert, but I have had issues with quads and collision, the solution was to convert to tris. But I guess it isn't his issue anyway.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

I've been searching for an answer, and I have a question. How do you name your collision? Vyse's Tut says name It this: collision. In some topics I found, some people named It: collision_.
Which way Is correct?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Model Collision problem.

Post by AceMastermind »

Cerfon Rournes wrote:
AceMastermind wrote:...I do remember there being a topic discussing collision exported with MshEx though.
...I'll try to find this topic you are talking about.
forums/viewtopic.php?f=36&t=15278&hilit=collision+mshex


EDIT
Cerfon Rournes wrote:...How do you name your collision?...
Read Appendix C in the art_guide.doc of the BF2_modtools documentation, that section will tell you everything you need to know about collision in SWBF2.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

Hmm. I'll try what you said..
AceMastermind wrote:Ah, so as long as you keep the collision unhidden(?) on export then it'll work.
EDIT
Did not work. Even tried It with -donotmergecollision. I'll try a manual clean.
EDIT2
Hidden/Spoiler:
[quote="Cerfon Rournes"]...How do you name your collision?...[/quote]
Read Appendix C in the art_guide.doc of the BF2_modtools documentation, that section will tell you everything you need to know about collision in SWBF2.[/quote]
Ok, I did name the collision correctly then. :)
EDIT3
.....Aaand the manual clean didn't work. :faint: What am I missing here?..
EDIT4..
Wow, can't believe I missed this..
Hidden/Spoiler:
New names:

Primitives –   p_-xxx-name     ---    ("p" underscore hyphen [types] hyphen name)

Mesh –     collision_-xxx-name    ---    ("collision" underscore hyphen [types] hyphen name)

xxx is replaced with the type definitions below…

[Types] is any combination of the following:

s – Soldier (soft) collision

v – Vehicle (rigid) collision

b – Building (static) collision

o – Ordnance (ordnance :^) collision

t – Terrain collision
I'll try this now.
And that did not work. Anyone have ideas?
User avatar
The Nasal Abyss
1st Lieutenant
1st Lieutenant
Posts: 428
Joined: Sun Sep 14, 2008 12:55 pm
Projects :: Currently Working on an Indie Game
Games I'm Playing :: Splatoon 2
xbox live or psn: Stm: Tight Verbage

Re: Model Collision problem.

Post by The Nasal Abyss »

If you don't mind, you could PM me the XSI scene and I could check it out.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Model Collision problem.

Post by AceMastermind »

MshEx isn't capable of preserving primitive properties as far as I know which means you can't use collision primitives with this exporting method, but collision meshes will export according to the link I posted earlier.
If all else fails you can always use Foundation & the Pandemic Tools, they are free and available to everyone.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

AceMastermind wrote:MshEx isn't capable of preserving primitive properties as far as I know which means you can't use collision primitives with this exporting method, but collision meshes will export according to the link I posted earlier.
If all else fails you can always use Foundation & the Pandemic Tools, they are free and available to everyone.
I can't use those, because I used up my trials already.
About that topic, what exactly do I change? It's not that clear... :?
@The Nasal Abyss: I might just take you up on that. :wink:
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: Model Collision problem.

Post by DarthD.U.C.K. »

if you are asking what the difference between primtiives and collisionmeshs is:

Primitives work perfect because battlefront doesnt use the actual model of them as collision but the real primitive, that makes the collision easier to calculate. they are called"p_-types-whatever" its optional to specify the collisiontypes.

Collisionmeshes are handlyed as normal polymeshes. because battlefront has to calculate if something touches a polygon/edges/point of the collisionmesh, the calculation is more complex and "not always"correct. as far as i know games have problems especially with concave surfaces and holes. collisionmehes are called "collision_-types-whatever" types are optional.

when visualmunge/battlefront doesnt recognize the collision properly, make it more primitive. use more seperate parts.
collisionmeshes that have simple shapes like primitives should work nearly as well as real primitives.

i hope that clears up up any tentative questions about collisions :)
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Model Collision problem.

Post by AceMastermind »

Cerfon Rournes wrote:I can't use those, because I used up my trials already.
...
You should get into the habit of monitoring software installations so you can remove all traces of the software when uninstalling. I don't like traces of uninstalled software remaining on my machine, when I uninstall something I expect it to be completely gone which is why I monitor the installation of any software I install.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Model Collision problem.

Post by Cerfon Rournes »

AceMastermind wrote:
Cerfon Rournes wrote:I can't use those, because I used up my trials already.
...
You should get into the habit of monitoring software installations so you can remove all traces of the software when uninstalling. I don't like traces of uninstalled software remaining on my machine, when I uninstall something I expect it to be completely gone which is why I monitor the installation of any software I install.
Yeah, I should look into that more..
Do you know how to remove the traces after you uninstall it?
Backontopic
Solved. Darth D.U.C.K explained some things over xfire, and the problem has been fixed. :mrgreen:
I think one of the problems I had was I did not correctly name my collision. Before, I named it,'collision'. This time, I made a lower poly version of the model, and named It "collision_(name here)". After that, it worked. :yes:
Post Reply