Page 1 of 1

Collision Regions

Posted: Sun Apr 06, 2008 8:42 am
by MandeRek
Since the EYNThread doesn't work atm, i ask it here..

How do i add collision regions to my maps? I want a region to be not-accesable for certain things..

Actually, i just need a block, where soldiers can go through, but vehicles can't, and i need a block where nothing can go through.. The block needs to be invisible.. Can someone help? :?

Re: Collision Regions

Posted: Sun Apr 06, 2008 8:50 am
by AceMastermind
There are some invisible objects already in the modtools that you can place in your map, you can enable or disable the different collision types in the odf.
Example
SoldierCollision = "none" or "CLEAR"
means soldiers will not collide with this object and can go through it, you can do the same with vehicle and ordnance collision also.


BF2_ModTools\data_ABC\Common\odfs
com_inv_col_8.odf
com_inv_col_16.odf
com_inv_col_32.odf
com_inv_col_64.odf

Re: Collision Regions

Posted: Sun Apr 06, 2008 10:01 am
by Caleb1117
AceMastermind wrote:There are some invisible objects already in the modtools that you can place in your map, you can enable or disable the different collision types in the odf.
Example
SoldierCollision = "none" or "CLEAR"
means soldiers will not collide with this object and can go through it, you can do the same with vehicle and ordnance collision also.


BF2_ModTools\data_ABC\Common\odfs
com_inv_col_8.odf
com_inv_col_16.odf
com_inv_col_32.odf
com_inv_col_64.odf
Offtopic: Ace, is it possable to do OrdnaceCollision = "CLEAR", and it allow shooting through and object's collision, on a already exported model.

I have a model with a extra tall collision, so people can't go over it, but you can't shoot through it. (I made it before I knew how to use: "collision_-svb-collision")

Re: Collision Regions

Posted: Sun Apr 06, 2008 10:27 am
by AceMastermind
Caleb1117 wrote:...is it possible to do OrdnanceCollision = "CLEAR", and it allow shooting through and object's collision, on a already exported model.
Yep, i've used it with objects that I exported and it worked fine.

Re: Collision Regions

Posted: Sun Apr 06, 2008 12:00 pm
by MandeRek
Great, thanks! This is all i needed! :D

Re: Collision Regions

Posted: Sun Apr 06, 2008 2:21 pm
by Taivyx
Maybe I'm missing something, but can't you just use barriers? :?

Re: Collision Regions

Posted: Sun Apr 06, 2008 2:46 pm
by Maveritchell
Taivyx wrote:Maybe I'm missing something, but can't you just use barriers? :?
Barriers =/= collision. Barriers only mean anything to AI.

Re: Collision Regions

Posted: Sun Apr 06, 2008 3:16 pm
by Taivyx
Ah okay

Re: Collision Regions

Posted: Sat Apr 12, 2008 4:54 pm
by jedimoose32
AceMastermind wrote: com_inv_col_8.odf
com_inv_col_16.odf
com_inv_col_32.odf
com_inv_col_64.odf
Is there a difference between these (just curious because I need to use something like this too)?

Re: Collision Regions

Posted: Sat Apr 12, 2008 5:03 pm
by FragMe!
They are cubes of different sizes as the number indicates so com_inv_col_8 would be a cube that is 8 x 8 x 8 units.
2 units @ the height of a standard soldier