Collision Regions
Moderator: Moderators
-
- Sith Master
- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Collision Regions
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?
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?
- AceMastermind
- Gametoast Staff
- Posts: 3284
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Collision Regions
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
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
-
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Collision Regions
Offtopic: Ace, is it possable to do OrdnaceCollision = "CLEAR", and it allow shooting through and object's collision, on a already exported model.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
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")
- AceMastermind
- Gametoast Staff
- Posts: 3284
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Collision Regions
Yep, i've used it with objects that I exported and it worked fine.Caleb1117 wrote:...is it possible to do OrdnanceCollision = "CLEAR", and it allow shooting through and object's collision, on a already exported model.
-
- Sith Master
- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Collision Regions
Great, thanks! This is all i needed!
-
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Collision Regions
Maybe I'm missing something, but can't you just use barriers?
- Maveritchell
- Jedi Admin
- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Collision Regions
Barriers =/= collision. Barriers only mean anything to AI.Taivyx wrote:Maybe I'm missing something, but can't you just use barriers?
-
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Collision Regions
Ah okay
-
- Field Commander
- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
Re: Collision Regions
Is there a difference between these (just curious because I need to use something like this too)?AceMastermind wrote: com_inv_col_8.odf
com_inv_col_16.odf
com_inv_col_32.odf
com_inv_col_64.odf
-
- Gametoast Staff
- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Collision Regions
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
2 units @ the height of a standard soldier