Model refuses to have colision

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Model refuses to have colision

Post by Tears2Roses »

I took the stock msh hoth_prop_snowpile and scaled it down in XSI and gave it my texture. However, I cant seem to get it to have colision. I need it to have colision otherwise you can run out of my tunnel map. This video explains it some more: http://www.xfire.com/video/51f5fc/

Weapons have colision, players dont. AI barriers prevent AI from going out of map but not human players. If I cant seem to get colision working I will place very high damage regions there so that you die when you go near them...But that wouldnt seem quite right.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Model refuses to have colision

Post by THEWULFMAN »

Post your .option file and your odf file. There shouldn't be an issue with either, but I just want to check.
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Re: Model refuses to have colision

Post by Tears2Roses »

hoth_prop_snowpile.msh.option

Code: Select all

-keepcolision 
and the odf:
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "prop"
GeometryName = "hoth_prop_snowpile.msh"


[Properties]

GeometryName = "hoth_prop_snowpile"
FoleyFXGroup = "stone_foley"
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Model refuses to have colision

Post by AceMastermind »

Tears2Roses wrote:hoth_prop_snowpile.msh.option

Code: Select all

-keepcolision 
This is invalid, you can't make up option file switches.
You can use invisible collision objects to block the entrance or re-export the model with proper collision.
Sometimes -donotmergecollison in the msh.option file works too.
What did you use to convert this object to *.msh?
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: Model refuses to have colision

Post by FragMe! »

First thing to make sure of (beyond Ace's question) if you altered the msh in xsi is to make sure you are spelling collision correctly it has 2 l's not 1 as you seem to consistantly type. Just an observation.
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Re: Model refuses to have colision

Post by Tears2Roses »

I use meshtool to convert msh to obj. and mesh ex 3 to go from XSI to msh. As for the .msh.option I will try -donotmergecollison and re-naming everything and see if I cant get it working.

EDIT: The -donotmergecollision parameter didnt work. I am going to use another rock model I made that has working collision instead.
Post Reply