How to disable mantle system and speed reset on hoverboard?

Hello
I have a controller with a switch between walking and hoverboard (with different movement speeds). But when the hoverboard is on, the mantle system works and you can climb on ledges on hoverboard)). At the same time, if you press sprint, the hoverboard speed is reset to walking speed.
How to disable mantle system and speed reset on hoverboard?


Hey @Dee_Line! Welcome to the forums!

You have booleans that can help with this! I’m just going to throw the age-old fix at this.

When hoverboard is activated, use a boolean “IsOnHoverboard?” and set it to true, set false when you dismount or are knocked off.

On Sprint check, check “IsOnHoverboard?” and if TRUE, do nothing, on False, run normally. This would need to be on both started and completed.

As for the jump check you need to understand how your “CT Cmpt Mantle System” works. We can’t know how to help with that because it is located in the component and there’s nothing here showing the code that makes you mantle.

If you can find that we can probably iron out the solution! :slight_smile:

1 Like

Logically I understand it, but I can’t quite figure out which nodes to use and in what order to connect them.
About mantle system. I made it from a lesson that transferred the mantle system from a Advanced Locomotion System v4.
This lesson - https://www.youtube.com/watch?v=kTcDGN1Q0_Q

That’s not really a lesson, it’s just showing how to set up the plugin. What we need is the code inside of the component- Otherwise we don’t know how those variables are getting used or set. If you don’t show the code, we can’t help. If it’s C++ and you don’t really know C++ this could be lengthy.

We can simply bypass it, though, that would be far quicker and no worse on performance. :slight_smile:

Remember the “IsOnHoverboard?” variable I talked about in the last post? Just put a branch right after triggered, before the branch based on “Can Jump”. If “IsOnHoverboard?” is False, run the code as normal. If you don’t want to be able to jump while on the hoverboard, you’re done there.
Like so:

If you DO want to be able to jump on the hoverboard, you just have to add the line from “True” to “Jump” and add the “Can Jump” bool to the branch check as well as the Hoverboard check.

Thanks. I tried both options. But not working…
Even if you remove all the nodes and leave only the jump and the stop jump, the mantle system will work.
I don’t know how to show the C++ code of the mantle system.

I appreciate the help.
I will try to do the mantle system another way.