• Welcome to Freedom Reborn Archive.
 

ramp jump

Started by bearded, April 16, 2007, 09:49:59 PM

Previous topic - Next topic

bearded

think there could be an object scripted so that when a vehicle hits it, it makes the vehicle have limited flight?
or what about one of the character meshes, like tommyboys bikes?
optimally the flight would last until forward motion stops, or the character goes into hover.  hover would make instant landing.

Epimethee

It's theorically doable.

It could be either on hitting the object or more easily on entering a very small area centered on the object.

IIRC, only characters can have states such as FFvsTTR's buoyancy (maybe tanks can too?) So you'd have to replace the vehicle with a character, either from the beginning when taking flight. However, you can't have the flight end when the motion stops, since the previous motion is necessarily stopped when taking flight. So you'd have to script the flight movement.

Alternatively, you "just" use Trigger_Force() (a.k.a. scripted knockback) in the right direction and make the vehicle immune to damage until it has landed.