how to keep a vehicle in a certain area
Moderator: Moderators
-
={Z32}=Kfm946
- Private Second Class
- Posts: 70
- Joined: Wed Jul 30, 2008 6:49 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Uhh...Not behind you...
- Contact:
how to keep a vehicle in a certain area
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?
- vampire_lord
- Rebel Sergeant

- Posts: 216
- Joined: Thu Mar 20, 2008 7:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
- Contact:
Re: how to keep a vehicle in a certain area
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.
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.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: how to keep a vehicle in a certain area
The invisible props are located in data_ABC\common\odf.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.
- vampire_lord
- Rebel Sergeant

- Posts: 216
- Joined: Thu Mar 20, 2008 7:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
- Contact:
Re: how to keep a vehicle in a certain area
Great... that makes sense, maybe I need to check out the geonosis hangar as well, it might have the same thing...
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: how to keep a vehicle in a certain area
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.
-
FragMe!
- 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: how to keep a vehicle in a certain area
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
