Page 1 of 1

how to keep a vehicle in a certain area

Posted: Sun Sep 21, 2008 12:49 pm
by ={Z32}=Kfm946
i have a reaaaallly long tunnel and i want to put a speeder on it so you can get thru it faster but i dont want the speeder to be allowed outside of the tunnels...my good friend bobfinkl told me that this is possible. how do i do it?

Re: how to keep a vehicle in a certain area

Posted: Mon Sep 22, 2008 7:21 am
by vampire_lord
I had a problem that would possibly lead to it...

Long ago when I put a reskinned Geonosis Hangar in my first prototype map, I had a weird bug or whatever it may be, if I was riding a BarcSpeeder from outside it crashed from every possible angle on both entrances, I mean, there was an invisible one way collision preventing vehicles to enter the hangar, then I tried spawning the bike from inside and it could go out the hangar but never could enter.

Some people suggested me to re-model the hangar in XSI to check for a possible one-way primitive, at that moment I couldn't do it, and to be honest right now I still find remodeling shipped MHS to be a real pain, anyway, try it out or request it if you want, I would like one of those collisions for some future mods.

Re: how to keep a vehicle in a certain area

Posted: Mon Sep 22, 2008 7:31 am
by Frisbeetarian
FragMe! wrote:The invisible prop both are talking about are com_inv_col_8, _16, _32, _64 (4 sizes) these by themselves would stop everything, you might be able to adjust the odf to make it so only vehicles are blocked. Looking at the ODF for one of these there already is a line in there that is so ordnanace passes through OrdinanceCollision = "none" so you should be able to put in SoldierCollision = "none" also and that would allow units to pass but not vehicles.
The invisible props are located in data_ABC\common\odf.

Re: how to keep a vehicle in a certain area

Posted: Mon Sep 22, 2008 8:44 am
by vampire_lord
Great... that makes sense, maybe I need to check out the geonosis hangar as well, it might have the same thing...

Re: how to keep a vehicle in a certain area

Posted: Mon Sep 22, 2008 8:58 am
by Frisbeetarian
If you put SoldierCollision = "none" in the hanger odf, then a unit wouldn't be able to interact with the hanger at all. You might have just forgotten a .option file to go along with the hanger msh.

Re: how to keep a vehicle in a certain area

Posted: Mon Sep 22, 2008 8:04 pm
by FragMe!
Just because I was curious, I just checked geo hanger and it doesn't have any collision geometry which means it is relying on VM to create it so if you wanted to block vehicles from leaving or entering you'd have to do what I mentioned above (via being quoted) with the invisible columns