OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Lean Bear on 20 Dec 2004, 19:09:49

Title: Moving In Vehicles
Post by: Lean Bear on 20 Dec 2004, 19:09:49

Just need a little conformation here.

I'd like to confirm that due to restrictions of the OFP game engine, it is impossible to walk around in a moving vehicle. Is this true?
Title: Re:Moving In Vehicles
Post by: penguinman on 20 Dec 2004, 20:26:01
it is posible but requires much scripting, triggerhappy was working on allowed you to walk around in a moving C-130 but im not sure if he is still workiong on that.
Title: Re:Moving In Vehicles
Post by: General Barron on 20 Dec 2004, 20:40:29
Even with scripting, I don't think it would be possible to do.
Title: Re:Moving In Vehicles
Post by: Lean Bear on 21 Dec 2004, 13:21:42
OK, I ask because I was working on something like that, but on a moving ship.

Problem was, everytime the ship moved, all the units standing on it didn't move with the ship and fell into the water.
Title: Re:Moving In Vehicles
Post by: Planck on 21 Dec 2004, 20:32:00
Quote
Problem was, everytime the ship moved, all the units standing on it didn't move with the ship and fell into the water.

Yes this is a standard feature in OFP, these units haven't paid their fare, so they get dumped overboard.


Planck
Title: Re:Moving In Vehicles
Post by: Lean Bear on 21 Dec 2004, 21:34:58
But if its a feature, then surely it can be overwriten like everything else :P

Hmm, perhaps there is a way to make the units pay their fare? ;D
Title: Re:Moving In Vehicles
Post by: Planck on 21 Dec 2004, 23:10:34
Quote
Hmm, perhaps there is a way to make the units pay their fare?


There is a way......you make them into cargo proxies in the model itself.  The fare is automatically paid that way.


Planck
Title: Re:Moving In Vehicles
Post by: Lean Bear on 22 Dec 2004, 13:46:17
But then they can't move around, right?

Isn't the cargo proxy the one which makes the soldiers sit down in the back of trucks etc.?

If so, then although they can be animated, you can't move them :(
Title: Re:Moving In Vehicles
Post by: DBR_ONIX on 22 Dec 2004, 16:20:37
What about getting the units velocity, and adding the ships speed to that?
Dunno if that would stop the person being able to move tho..  :-\
- Ben