Scripts / Need help for moving car and driving car scripts....

Author
Message
Vuk
9
Years of Service
User Offline
Joined: 3rd Mar 2015
Location:
Posted: 26th Mar 2015 14:18
So I found scripts on forum but they don't work for me. I have low experience with Lua scripting, I try to put in Dynamic mode but it's don't work and crash error always pop up. So if someone have script done please sand me...
Forum where i found Moving Vehicles: https://forum.game-guru.com/thread/211130
Forum where i found driving car: https://forum.game-guru.com/thread/211284
So they don't work for me So if you can sand me
PM
GoDevils
10
Years of Service
User Offline
Joined: 24th Sep 2014
Location: Arizona USA
Posted: 30th Mar 2015 20:11
Hi Vuk

What are you trying to accomplish???

OK, "Moving Cars", and "Driving a car" are two different things. Both can be created using current GG connections, but the later requires integration between the Player/Camera, and the moving model.

Using common function calls like MoveForward(e,MoveAmount) you can program the car to move in the direction it is facing. Using RotateY(e,rotatevalue), will turn the car, thus changing the direction the car is facing, so that additional MoveForward calls will go in that new direction.

Just recently there was a post on creating a drive my car script. not sure where it is but it has a lot of good information

Good Luck

"THERE IS NO SPOON"

AMD 6300 6 core 3.5 ghz, Windows 8.1, 8GB ram, GTX 650 2GB ram
Vuk
9
Years of Service
User Offline
Joined: 3rd Mar 2015
Location:
Posted: 31st Mar 2015 10:08
Thanks i found the solution
PM

Login to post a reply

Server time is: 2024-12-21 14:30:21
Your offset time is: 2024-12-21 14:30:21