Collision Bugs [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
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Collision Bugs [Solved]

Post by thelegend »

Hey all,
I am going to keep this short. I have added a new model to the republic's barcspeeder. In game it looks nice but if I ride to any buildings the new model is unsolid. There is just the barcspeeder collision. Where I can edit the collision for that speeder to scale it up so it looks like my new model?
By the way: The new model is a bus model. So its a long and large cube.
Last edited by thelegend on Tue Jul 22, 2014 2:44 pm, edited 1 time in total.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Collision Bugs

Post by MileHighGuy »

I would delete the barcspeeder collision and make new collision.

Refer to this page when making new collision.

https://sites.google.com/site/swbf2modt ... /art_guide
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Collision Bugs

Post by thelegend »

Ah ok. Thank you. I'll take a look on it. By the way found out how I could do that. As you said delete the old mesh and so on. Thx it works.
Edit: I have got one little other question. It's not about my topic but I don#t want to create one more topic.

In my vehicle's odf I just have used one chunk model. It has got exactly the same model as my bus just with other textures. But If I destroy my vehicle the chunk model blows up over 15 meters. It should be on the ground. Where I can fix that?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Collision Bugs [Solved]

Post by MileHighGuy »

That site I linked you is really helpful. It has a lot of the shipped docs in a convenient place.

https://sites.google.com/site/swbf2modt ... _commented
// Chunks are the peices resulting from the vehicle's explosion
CHUNKSECTION = "CHUNK1" // Defines the chunk
ChunkGeometryName = "cis_hover_att_Chunk1" // Defines the mesh file to use for the chunk
ChunkNodeName = "" // Defines the hardpoint in the mesh from which the chunk originates
ChunkTerrainCollisions = "2" // Defines the number of time the chunk bounces
ChunkTerrainEffect = "dirtspray" // Defines the particle effect attached to each bounce
ChunkPhysics = "FULL" // Defines the chunk behavior/mass
ChunkOmega = "1.0 2.0 1.0" // ?? Defines chunk spin??? -the direction in which the chunk flys
ChunkBounciness = 0.35 // Defines rate of upward bounce
ChunkStickiness = 0.45 // Defines how fast chunk accelerate in bounce
ChunkSpeed = "15.0" // Defines speed of moving chunk
ChunkUpFactor = "25.00" // Defines the upward speed of spawned chunk
ChunkTrailEffect = "mediumsmoketrail" // Defines the particle effect attached to chunk

// The next two lines define sounds to be triggered by chunks
ChunkInitialCollisionSound = "com_veh_collision_lg" //Played each time the chunk collides with something.
ChunkScrapeCollisionSound = "" // Played as the chunk slides along another object.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Collision Bugs [Solved]

Post by thelegend »

Hm..I did change some lines and added new ones but nothing has been changed.
My Chunk section:
Hidden/Spoiler:
CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "bus_chunk"
ChunkNodeName = ""
ChunkTerrainCollisions = "1"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "0.0 0.0 0.0"
ChunkBounciness = 0.0
ChunkSpeed = "0.0"
ChunkUpFactor = "0.0"
ChunkStickiness = 0.0
And here how it looks in game before and after:
Hidden/Spoiler:
Image
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Collision Bugs [Solved]

Post by MileHighGuy »

Oh, that looks like something to do with the model. Make sure the model is positioned right in xsi and freeze the transforms (but NOT for the collision primitives if you have any). If that doesn't work post a screenshot of the model in xsi.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Collision Bugs [Solved]

Post by thelegend »

Hm what do you mean with freeze the transforms?
In xsi my model looks so:
Hidden/Spoiler:
Image
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Collision Bugs [Solved]

Post by JimmyAngler »

See the transforms tab right above the S for scale? Click on it and find freeze all transforms.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Collision Bugs [Solved]

Post by thelegend »

Hm I did it. I freezed the transforms but in game the chunk always blow up in a half second as in my picture.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Collision Bugs [Solved]

Post by MileHighGuy »

hmm.. strange You froze the transforms of the exploded bus model right? try making a new null (at 0,0,0) as the child of your dummyroot in your normal bus model. in your odf change ChunkNodeName = "" to reference your new node.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Collision Bugs [Solved]

Post by thelegend »

Nothing has been changed. Maybe I am too blind to find out what I did wrong. Mile: I have sent you a pm with all vehicle files+the chunk.exp. I hope that helps if you take a look on it. I am going to take a look on other files.

Edit: I aslo have this problem on other vehicles. The chunk always blows up 20 meters. Why It can not stay in the current vehicle position? Anyone ever had a similair problem like my one?
Post Reply