Juggernaut collision

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
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Juggernaut collision

Post by Lorul1 »

my juggernaut has unit collision but not "realistic collision".

here is the problem:

the green box is my juggernaut
and
the black triangle is a little hill
as you can see i don't want my juggernaut to fade through the floor
the picture on the top is what i have, so how do i add realistic collisions so it can look like the one on the bottom.

Image

Hidden/Spoiler:
I'm very sorry if this post is in the wrong section of gametoast
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: juggernaut collision

Post by thelegend »

Hm maybe you can post some ingame, xsi or scene pictures.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3284
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: juggernaut collision

Post by AceMastermind »

Looks like you'll need to add more spring bodies to the ODF. At least at the front, middle, and rear, if not more in-between, due to the size.

AddSpringBody = "posX posY posZ scale"

Have a look at other hover type vehicle ODFs for working reference.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: juggernaut collision

Post by Lorul1 »

so if springs are the problem how do i find the X, Y, and Z values for my juggernaut model ?


by the way here are the pictures of the problem in game
Hidden/Spoiler:
Image
Image
Image
Image
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: juggernaut collision

Post by Marth8880 »

Conveniently, the ODF parameters and XSI use the same units of measurement based on the grid in XSI. What I recommend you do is in XSI, create a primitive sphere in each place you want a spring body to be and then use the coordinates of the spheres as the 'posX', 'posY', and 'posZ' values for each spring body in the ODF. Additionally, I'm pretty sure the 'radius' value of XSI sphere primitives is the same as the 'scale' value for spring bodies in ODFs, so set that for each primitive in XSI and reflect it in the ODF.

If you want to check out what the spring bodies look like in-game, you can do so in the debugger by jumping in a map, typing "RenderTerrainCollision" (without quotes) into the console and looking at the vehicle in freecam.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: juggernaut collision

Post by Lorul1 »

Marth8880 wrote:create a primitive sphere ... then use the coordinates of the spheres as the 'posX', 'posY', and 'posZ' values for each spring body in the ODF
I'm very new to XSI so how do I create a "primitive sphere"
Marth8880 wrote:I'm pretty sure the 'radius' value of XSI sphere primitives is the same as the 'scale' value for spring bodies in ODFs, so set that for each primitive in XSI and reflect it in the ODF.
what is a 'radius' value and 'scale' value for spring bodies ?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: juggernaut collision

Post by Marth8880 »

Lorul1 wrote:I'm very new to XSI so how do I create a "primitive sphere"
Get, Primitive, Poly Mesh, Sphere.
Lorul1 wrote:what is a 'radius' value and 'scale' value for spring bodies ?
Any floating point value.

Floating point: http://en.wikipedia.org/wiki/Floating_point (Basically any number with a decimal point)
Radius: http://en.wikipedia.org/wiki/Radius
Scale: http://en.wikipedia.org/wiki/Scale_(ratio)
Post Reply