Collision Bugs [Solved]
Moderator: Moderators
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Collision Bugs [Solved]
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.
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

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Collision Bugs
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
Refer to this page when making new collision.
https://sites.google.com/site/swbf2modt ... /art_guide
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Collision Bugs
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?
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

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Collision Bugs [Solved]
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
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

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Collision Bugs [Solved]
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:
My Chunk section:
Hidden/Spoiler:
Hidden/Spoiler:
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Collision Bugs [Solved]
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

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Collision Bugs [Solved]
Hm what do you mean with freeze the transforms?
In xsi my model looks so:
In xsi my model looks so:
Hidden/Spoiler:
-
JimmyAngler
- High General

- Posts: 837
- Joined: Mon Nov 04, 2013 10:37 am
- Projects :: Battlefront Halation
- xbox live or psn: none
- Location: Area 51
Re: Collision Bugs [Solved]
See the transforms tab right above the S for scale? Click on it and find freeze all transforms.
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Collision Bugs [Solved]
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

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Collision Bugs [Solved]
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

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Collision Bugs [Solved]
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?
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?


