OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Guru on 02 Oct 2002, 03:25:40

Title: getting AI driver in vehicle to do a "Rockford" ??????
Post by: Guru on 02 Oct 2002, 03:25:40
hey this could be very handy for intro's or or other stuff maybe?
-
basically a "Rockford" is a driver accelerates backwards in reverse. then spins car 180% an keeps going without stopping, now travelling forward.
-i
im not good enuff yet to tackle this puppy maybe someone else wants to give it a shot  :thumbsup:
Title: Re:getting AI driver in vehicle to do a "Rockford" ??????
Post by: Terame on 17 Mar 2003, 07:59:31
heheh would be good for creating a chase scene.

I'll be watching this post to see what the Scriptmeisters come up with ;D
Title: Re:getting AI driver in vehicle to do a "Rockford" ??????
Post by: Josef on 17 Mar 2003, 14:31:15
The script would have to spin the car, definately possible, you could even have an action that made it do that...
Title: Re:getting AI driver in vehicle to do a "Rockford" ??????
Post by: Terame on 17 Mar 2003, 23:50:48
The script would have to spin the car, definately possible, you could even have an action that made it do that...

Tell us more Josef :)
Title: Re:getting AI driver in vehicle to do a "Rockford" ??????
Post by: Josef on 18 Mar 2003, 17:03:55
I am no scripter, bu the 21VB glider is pun with a script, let me have a look at it..
Title: Re:getting AI driver in vehicle to do a "Rockford" ??????
Post by: Josef on 18 Mar 2003, 17:07:15
OK thats an anim, but there is a command for altering drection...
Title: Re:getting AI driver in vehicle to do a "Rockford" ??????
Post by: Pandoz on 08 Apr 2003, 05:59:29
It would be possible...these would be the needed info i believe to make it work but i am not a scripter so i wouldnt know where or how to start putting this together.

1. when it detected a speed in the -'s (backwards really) it would activate.
2. when it detected a new angle more then a 5 degree turn it would start using setdir to make the new direction.
3. Once it had made it the whole 180 degrees...it would need to stop turning...so maybe have a variable the start dir and just add 180 to end it.
4. use a little setvelocity to give it that jolt look like in the movies so it doesnt have to stop and accelerate.


any more ideas?