Page 1 of 1
Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 2:22 pm
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.
Re: Collision Bugs
Posted: Tue Jul 22, 2014 2:31 pm
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
Re: Collision Bugs
Posted: Tue Jul 22, 2014 2:44 pm
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?
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 2:52 pm
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.
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 3:12 pm
by thelegend
Hm..I did change some lines and added new ones but nothing has been changed.
My Chunk section:
And here how it looks in game before and after:
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 3:22 pm
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.
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 3:56 pm
by thelegend
Hm what do you mean with freeze the transforms?
In xsi my model looks so:
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 4:04 pm
by JimmyAngler
See the transforms tab right above the S for scale? Click on it and find freeze all transforms.
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 4:14 pm
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.
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 4:45 pm
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.
Re: Collision Bugs [Solved]
Posted: Tue Jul 22, 2014 5:06 pm
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?