OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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:
-
heheh would be good for creating a chase scene.
I'll be watching this post to see what the Scriptmeisters come up with ;D
-
The script would have to spin the car, definately possible, you could even have an action that made it do that...
-
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 :)
-
I am no scripter, bu the 21VB glider is pun with a script, let me have a look at it..
-
OK thats an anim, but there is a command for altering drection...
-
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?