Page 1 of 1

Collision Boxes

Posted: Mon May 28, 2007 3:34 pm
by Astute
I'm trying to create collision boxes that only block certain objects and units. I've looked at the hangar shields on the space maps, but I can't seem to find out how they work. I decided to try something like this.

[GameObjectClass]

ClassLabel = "prop"
GeometryName = "com_inv_col_64ed.msh"


[Properties]

GeometryName = "com_inv_col_64"
OrdnanceCollision = "none"
SoldierCollision = "none"

I hoped that this would block vehicles, but allow soldiers to pass through. It seems as if nothing happened, vehicles and soldiers are still blocked, and ordinance still passes through. Anyone have a better method, or the answer as to how the hangar shields work?

RE: Collision Boxes

Posted: Tue May 29, 2007 5:43 am
by Qdin
try to look in the shields for Pollis Massa - those barriers blocks infantry too... I know you want the opposite of that, but we gotta start somewhere :P

Posted: Tue May 29, 2007 8:37 am
by Dragonum
you find this in a odf for a shild in space and in the polis massa

VehicleCollision = "CLEAR"


you can go through the shild with vehicles only

i found another one where you find this

SoldierCollision = "CLEAR"

now (if you add the second line) you can through the shild with both, vehicles and soldiers

Posted: Tue May 29, 2007 1:28 pm
by Astute
Well, I decided to just use the hangar shields and modify them to block vehicles. It appears that the hangar shields have something about their mesh that allows them to use "CLEAR" and "none" as properties for collision. This will not work on anything else.