Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / vehicles follow waypoints ?

Author
Message
rafale42
13
Years of Service
User Offline
Joined: 2nd Jan 2011
Location:
Posted: 9th Apr 2011 20:52
Hi
Can a vehicle follow waypoints,look likes the platform,but in the horizontal ? For example ,I want to transport my player on the platform of a truck. How the truck could move ?
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 9th Apr 2011 21:10
I did that with a hover board once a long time ago. Well, it seems like a long time ago. The player would get on top of it and then by a key press it would move along the waypoints. It did good. But I can't remember how I did it. So I would say yes. I do remember having to spend some time tweaking it though.


Terry
rafale42
13
Years of Service
User Offline
Joined: 2nd Jan 2011
Location:
Posted: 9th Apr 2011 23:07
I tested.I replaced the characteristics of the truck by that of the platform. But that didn't work
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 10th Apr 2011 04:37
Including the weight? All you can do is test, do something different and test again. The hover board wasn't as big and heavy as the truck. If I have time I might give it a shot. Although you might hear from somebody else regarding this by the time I get around to it. Hopefully.


Terry
Anigma
13
Years of Service
User Offline
Joined: 25th Mar 2011
Location:
Posted: 10th Apr 2011 05:13
Try turning physics off. That's how I got a non-character entity to follow a waypoint in the level I'm working on right now. Also, make sure IsImmobile is No and that Speed is greater than zero. Then just set the main script to people\follow.fpi and it should work. You can build a custom script from there to deal with any animation or other aspects you need.

Login to post a reply

Server time is: 2024-11-24 11:52:22
Your offset time is: 2024-11-24 11:52:22