Bullet collision in interior meshes.

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

Bullet collision in interior meshes.

Post by The Nasal Abyss »

Alright, my newest map contains a lot of interior work, and I prefer to use single polygons to make interiors, instead of making them out of boxes. Think Hoth caves and Tantive IV.

Sure, I got them in-game alright, and my player collides with them fine, but whenever i fire a bullet at the walls, i can't see the sparks or impact effects.

I'm almost sure it comes from shrinking the collision model down the Mav mentions here:

Code: Select all

If it doesn't have colision though, apparently, all you need to do is make a duplicate of the object, size it down a little bit, and invert polygons by going to modify on the side bar, clicking poly.mesh, and choosing invert polygons 2/3 the way from the bottom.
When you just make a box an invert the polygons, your player doesn't collide with them. So the process involves making a mesh and texturing it, then duplicating it and making it a little smaller and inverting those polygons. Then you get a hallway or room that a player collides with (bullets too) but whenever I shoot the wall, I don't see the impact effects.

I know its a little thing, but I'm a perfectionist, and I don't settle right with "little" things like this.

Also, if anyone knows an easier (and better, and faster) way to makeing interiors one polygon thick without hex-editing (I'm also using MeshEx) it would be very welcome.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Bullet collision in interior meshes.

Post by FragMe! »

When you throw a grenade or detpack at the wall does it bounce or stick or does it go right through? What you could try, and I know it is suppose to do this on export, but try and triangulate your model prior to export. I am of course assuming you are using xsi.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Bullet collision in interior meshes.

Post by Maveritchell »

The Nasal Abyss wrote:I'm almost sure it comes from shrinking the collision model down the Mav mentions here:

Code: Select all

If it doesn't have colision though, apparently, all you need to do is make a duplicate of the object, size it down a little bit, and invert polygons by going to modify on the side bar, clicking poly.mesh, and choosing invert polygons 2/3 the way from the bottom.
When did I say this and where? That doesn't sound like me.
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: Bullet collision in interior meshes.

Post by The Nasal Abyss »

Maveritchell wrote:
The Nasal Abyss wrote:I'm almost sure it comes from shrinking the collision model down the Mav mentions here:

Code: Select all

If it doesn't have colision though, apparently, all you need to do is make a duplicate of the object, size it down a little bit, and invert polygons by going to modify on the side bar, clicking poly.mesh, and choosing invert polygons 2/3 the way from the bottom.
When did I say this and where? That doesn't sound like me.
I really don't remember who it was, it was kind of wrong for me to assume it was you. In my modding notes folder, I have a document on making interiors like this, and I actually remember you saying stuff about hex editing dual-sided transparency in the first part, but this second part my not have been you. Sorry for any confusion.
FragMe! wrote:When you throw a grenade or detpack at the wall does it bounce or stick or does it go right through? What you could try, and I know it is suppose to do this on export, but try and triangulate your model prior to export. I am of course assuming you are using xsi.
I am using XSI (with MeshEx) and when I threw a det-pack a the wall it stuck fine. Grenades bounced off of it too. But I did go into free cam and look at the other side of the wall while I shot it from the inside, and I discovered that the sparks and stuff are showing up on the other side.

Does your suggestion about triangulating before exporting still stand, or should I try something else?
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: Bullet collision in interior meshes.

Post by DarthD.U.C.K. »

thats weird, when everything but the bullets works and you dont fall through the ground, you have a "proper" collision
you dont have to invert the collisionpolys when the polys of the original model are already pointing inwards
how did you call the collision? maybe VM doesnt recognizes it and makes its own (incorrect) one
Post Reply