Custom Vehicle Enter/Exit Animations (YCD) – How to Make a Ped Jump Onto a Flying Vehicle?

Hi everyone!

I’m developing a custom flying sword vehicle in FiveM using VEHICLE_TYPE_BIKE.

I’ve successfully implemented custom YCD riding animations and ClipSets, but I’m struggling with custom entry/exit animations.

I created jump-on/jump-off animations in Blender and exported them to YCD. However, in FiveM, the ped slides into the vehicle position instead of performing the jump.

I’ve already tried custom vehiclelayouts.meta, ClipSets, root-motion research, and EntryTranslation adjustments without success.

My questions:

  1. Has anyone successfully implemented custom vehicle entry/exit animations with proper ped movement?

  2. Is there a specific native mover, ClipSet, or vehiclelayouts.meta configuration required?

  3. Is there a working GTA V/FiveM example I could study?

Any guidance or working examples would be greatly appreciated. Thanks!

I shipped two standing vehicles with custom get-on and get-off clips on VEHICLE_TYPE_BIKE, and the slide you describe usually means the clip moves the body but the game is not getting the motion from the mover. A few things to check:

  1. Put the travel on the mover, not on the root bone. In the .ycd the world movement lives in mover tracks 5 (position) and 6 (rotation). If your jump is only keyed on SKEL_ROOT, the ped gets pulled to the seat by the game’s own alignment, which looks like sliding. Export the object motion as mover, and check after export that those tracks are really in the file. The animation also needs the mover flag (Unknown10 = 16 in the XML).
  2. get_in has to end at the seat. The last mover frame should be the seat pose, and it should match the first frame of your still clip. The game goes to that state right after get_in, so any gap shows up as a pop or a slide.
  3. EntryTranslation must match your clip. It is the mover at the start of the entry clip minus the mover at the end of get_in. The same goes for EntryHeadingChange. If you changed the clip and kept the values from the bike you copied, the ped starts in the wrong spot and gets dragged into place.
  4. Keep the fixed clip names. The game looks up get_in, get_out and so on by name inside the clipset. A custom name silently falls through to fallbackId, so test by removing the fallback for a moment to see if your clip is really the one playing.
  5. CClipSetMap is positional. In vehiclelayouts.meta the first item in the map is the one used, so adding your clipset as a second item does nothing. Create a map with a new Name and point your entry point anim info to it.
  6. Set the clip signature correctly. If you copied animation hashes from a vanilla dictionary, use the real CalcSignature of the track list in Unknown1C, not a name-based value. Two clips with the same signature and different tracks can break each other, and it only shows up after using the other vehicle.

Start with 1 and 3, those are the most common. If it still slides, post your CVehicleEntryPointAnimInfo block and the mover values at the first and last frame of get_in, and I’ll take a look.

Thanks a lot for the detailed explanation! Really appreciate it.

We’ve already investigated mover tracks 5/6 and tested changing EntryTranslation, but haven’t managed to get the jump working correctly in FiveM.

Two quick questions:

  1. When you exported your working get-on/get-off animations, how did you author the mover tracks? Did you use a specific Blender/Sollumz workflow or another tool?

  2. Do you have a working example of the CVehicleEntryPointAnimInfo setup, especially how you calculated EntryTranslation and EntryHeadingChange relative to the mover?

I’ll compare your suggestions against our current YCD and layout data and share the actual values if we’re still stuck.

Thanks again!